attribute_enums 0.2.0 → 0.2.1

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.
@@ -113,8 +113,8 @@ module AttributeEnums
113
113
 
114
114
  def _ae_i18n_t_prefix
115
115
  t_prefix = ''
116
- if @_ae_scopeds.is_a?(Hash)
117
- _t_prefix = @_ae_scopeds[:t_prefix]
116
+ if @_ae_i18n.is_a?(Hash)
117
+ _t_prefix = @_ae_i18n[:t_prefix]
118
118
  t_prefix = _t_prefix if _ae_valid_prefix?(_t_prefix)
119
119
  end
120
120
  t_prefix
@@ -1,4 +1,4 @@
1
1
  module AttributeEnums
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attribute_enums
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-21 00:00:00.000000000 Z
12
+ date: 2013-04-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord