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

Fix monkey patch for Rollout 1.2.0 #15

Merged
merged 2 commits into from Jan 8, 2013
Merged

Conversation

ches
Copy link
Contributor

@ches ches commented Oct 11, 2012

The latest Rollout makes the second argument of active? optional -- if
nil it checks if a feature is globally active. Adding the default to the
monkey patch should be backwards compatible with older versions of
Rollout for non-pathological cases since there is no arity change.

The latest Rollout makes the second argument of `active?` optional -- if
nil it checks if a feature is globally active. Adding the default to the
monkey patch should be backwards compatible with older versions of
Rollout for non-pathological cases since there is no arity change.
@ches
Copy link
Contributor Author

ches commented Oct 11, 2012

Good case for groaning about monkey patches 😩 I tested something on a feature branch where RolloutUI wasn't installed yet, merged the branch to mainline where it was installed, failed to adequately test the scenario again after the merge, and it cost me smooth dark launch of a new feature after deploying it and discovering the need for this patch 😭

@mmzoo
Copy link

mmzoo commented Oct 18, 2012

+1

1 similar comment
@gingerlime
Copy link

+1

@jrallison
Copy link
Owner

Thanks Ches!

jrallison added a commit that referenced this pull request Jan 8, 2013
Fix monkey patch for Rollout 1.2.0
@jrallison jrallison merged commit 6fa95af into jrallison:master Jan 8, 2013
@mmzoo
Copy link

mmzoo commented Jan 8, 2013

Thank you!

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.

None yet

4 participants