activerecord_composed_of_enum 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,11 +16,7 @@ module ActiveRecord
16
16
  base = options[:base]
17
17
  enum_column = :"#{part}_cd"
18
18
 
19
- base.class_attribute(
20
- enum_column,
21
- :instance_reader => false,
22
- :instance_reader => false
23
- )
19
+ base.class_attribute(enum_column, :instance_accessor => false)
24
20
 
25
21
  enumeration = options[:enumeration]
26
22
 
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module ComposedOfEnum
3
3
  unless defined? ActiveRecord::ComposedOfEnum::VERSION
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_composed_of_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: