ar_rollout 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/ar_rollout.rb +1 -1
- data/lib/ar_rollout/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -118,7 +118,7 @@ List known features with:
|
|
118
118
|
- Merge ArRollout and Rollout class methods
|
119
119
|
- Autodetection of new features from code, before rollout begins
|
120
120
|
|
121
|
-
## Version 0.0.
|
121
|
+
## Version 0.0.20 - 04 Dec 2012
|
122
122
|
- Add Group, Membership, OptOut
|
123
123
|
|
124
124
|
## Version 0.0.17 - 29 Nov 2012
|
data/lib/ar_rollout.rb
CHANGED
@@ -93,7 +93,7 @@ module ArRollout
|
|
93
93
|
return false unless user
|
94
94
|
rollouts = []
|
95
95
|
Rollout.where("user_id = ? or user_id is NULL", user.id.to_i).each do |rollout|
|
96
|
-
unless OptOut.where(feature: name, user_id: user.id).any?
|
96
|
+
unless OptOut.where(feature: rollout.name, user_id: user.id).any?
|
97
97
|
rollouts << rollout.name if rollout.match?(user)
|
98
98
|
end
|
99
99
|
end
|
data/lib/ar_rollout/version.rb
CHANGED