inum 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a6e4aafb92b4720071dd774230f494aa12c262f
4
- data.tar.gz: 8e4bbf13d8e57b1797429a4e90aa87eaf861981e
3
+ metadata.gz: 64ef408ef561c0fae95dc284ca37be3954fdddf9
4
+ data.tar.gz: 792d0291dfb155e82125ed5cfc036d188f96feba
5
5
  SHA512:
6
- metadata.gz: df2f30c61d0f50a81aa9828c7acb0c1b87bd788aaf28a3b3d6aa1ce30bb1e1be6fcecd95a59ae18bab13307fc4259341e719952dcf4b4a4223e5f3b2b4df9c25
7
- data.tar.gz: 6e1bb7185dfd184393c41ec1a4c6fc142ee6b311738abbbcfa097c1253d6a71001ad3a9d11d3b7627af6a5f983d2a1a35c218d97bff1c8d51f20b34cc3365276
6
+ metadata.gz: 0bc6e49942f236e96c8f57ee22f64a5ef06109935433073c39170a8b4b52e7d36291b77306a2423056bd36849773c0a83e78b884fcc230686787c9e8d88e1ca2
7
+ data.tar.gz: 06c4495fad29d20e8324bdd18e01d13e848e816d4e3e39c74a23479b8252b1dee4bd795e419319a946d8758b22bb97b17258a6426e32d61a89112b3f51c13757
data/lib/inum/base.rb CHANGED
@@ -26,7 +26,6 @@ module Inum
26
26
  @label = label
27
27
  @value = value
28
28
 
29
- @localized_enum = I18n.t(self.class.i18n_key(label))
30
29
  @underscore_label = Inum::Utils::underscore(label)
31
30
  end
32
31
 
@@ -81,7 +80,7 @@ module Inum
81
80
  #
82
81
  # @return [String] localized string of Enum.
83
82
  def to_t
84
- @localized_enum
83
+ I18n.t(self.class.i18n_key(@label))
85
84
  end
86
85
 
87
86
  # Enum label to underscore string.
data/lib/inum/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Inum
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inum
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - alfa-jpn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-03 00:00:00.000000000 Z
11
+ date: 2013-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler