Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update this plugin to the v2.0 of the plugin api #29

Merged
merged 1 commit into from
May 6, 2016

Conversation

ph
Copy link
Contributor

@ph ph commented May 2, 2016

No description provided.

insist { subject["message"]["os"] } == "Linux"
insist { subject["message"]["major"] } == "26"
insist { subject["message"]["minor"] } == "0"
insist { subject.get("message")["name"] } == "Chrome"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from our discussion about what is "proper" usage of the event api, shouldn't this change into

subject.get("[message][name]")

what do you think?

@ph ph force-pushed the feature/plugin-api-2_0 branch from b4277b6 to 776c4fe Compare May 4, 2016 18:08
@ph
Copy link
Contributor Author

ph commented May 4, 2016

updated with your changes.

@ph
Copy link
Contributor Author

ph commented May 4, 2016

@talevy ^

insist { subject["ua"]["os"] } == "Linux"
insist { subject["ua"]["major"] } == "26"
insist { subject["ua"]["minor"] } == "0"
insist { subject.get("ua")["name"] } == "Chrome"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes still needed here? and below

Copy link
Contributor Author

@ph ph May 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, I just changed at the end of the file

@ph ph force-pushed the feature/plugin-api-2_0 branch from 776c4fe to b0319ae Compare May 4, 2016 19:35
@talevy
Copy link
Contributor

talevy commented May 4, 2016

LGTM

@ph ph merged commit b0319ae into master May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants