inum 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inum/version.rb +1 -1
- data/spec/inum/base_spec.rb +0 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a63b0c34f9865203a5d3ee9764f348de8acbb468
|
4
|
+
data.tar.gz: 5c6cf709c98159aa811f8895c8039dbf5c32b0e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df81e2a2dad6a9fe95ca1826aaf11803e65d6692157a7c5413bef666992b7165dfef23518e9363ca055120531d2c233aacaff7ca9217b75932afc2ee920a5c13
|
7
|
+
data.tar.gz: 55a0bd75954e6bb4bd01cb665637dd351cee4f6ee3fc3c3a3ad2045a351ea1fe909ca4d7229ab6835d708aa8f48e3c972bd3a3b9e999ef3ecd4abf531c32f83e
|
data/lib/inum/version.rb
CHANGED
data/spec/inum/base_spec.rb
CHANGED
@@ -53,14 +53,6 @@ describe Inum::Base do
|
|
53
53
|
expect(enum::BURN.to_i).to eq(2)
|
54
54
|
end
|
55
55
|
|
56
|
-
it 'i18n.t called when call define_enum.' do
|
57
|
-
I18n.should_receive(:t).with('inum.hoge.redbull')
|
58
|
-
|
59
|
-
class Hoge < Inum::Base
|
60
|
-
define_enum :REDBULL
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
56
|
context 'define class of extended Inum::Base,' do
|
65
57
|
before(:each) do
|
66
58
|
I18n.stub(:t).and_return('Good drink!')
|