ar_rollout 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ class Rollout < ActiveRecord::Base
16
16
  end
17
17
 
18
18
  def match_user?(user = nil)
19
- user_id ? user_id == user.id : false
19
+ user_id ? user_id.to_s == user.id.to_s : false
20
20
  end
21
21
 
22
22
  def match_percentage?(user)
@@ -1,3 +1,3 @@
1
1
  module ArRollout
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar_rollout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-08-17 00:00:00.000000000 Z
14
+ date: 2012-08-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 1.8.23
140
+ rubygems_version: 1.8.24
141
141
  signing_key:
142
142
  specification_version: 3
143
143
  summary: An ActiveRecord version of Rollout gem (https://github.com/jamesgolick/rollout).