aukan-bitmask 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/History.txt +4 -0
  2. data/lib/bitmask_attribute.rb +1 -1
  3. metadata +4 -4
@@ -7,3 +7,7 @@
7
7
 
8
8
  * Added descriptions and homepage
9
9
  * Removing newgem.
10
+
11
+ === 0.0.4 2012-11-27
12
+
13
+ * Fix: When used on ActiveRecord the attribute_name was not being updated.
@@ -20,7 +20,7 @@ module BitmaskAttribute
20
20
  :bit_ids => #{options[:bit_ids].inspect},
21
21
  :value => @#{attribute_name},
22
22
  :after_change => Proc.new { |bitmask|
23
- @#{attribute_name} = bitmask.value
23
+ self.#{attribute_name} = bitmask.value
24
24
  }
25
25
  })
26
26
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aukan-bitmask
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pablo Gonzalez
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-13 00:00:00 -08:00
18
+ date: 2012-11-27 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21