preference_fu 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
data/lib/preference_fu.rb CHANGED
@@ -138,7 +138,7 @@ module PreferenceFu
138
138
  private
139
139
 
140
140
  def update_permissions
141
- instance.write_attribute(instance.preferences_column, self.to_i)
141
+ instance.send("#{instance.preferences_column}=",self.to_i)
142
142
  end
143
143
 
144
144
  def is_true(value)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{preference_fu}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brennan Dunn"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brennan Dunn
@@ -70,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- hash: -1418568282675616323
73
+ hash: 3978028963626904208
74
74
  segments:
75
75
  - 0
76
76
  version: "0"