enumerate_it 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/enumerate_it/base.rb +1 -1
- data/lib/enumerate_it/version.rb +1 -1
- data/spec/enumerate_it/base_spec.rb +4 -0
- data/spec/support/test_classes.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb3b17b959d068dd3925d4301baad53e1f6f75b6
|
4
|
+
data.tar.gz: b86f23a236963e182d2d50396f4b5a9281a9fd2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54acd99e960d73beaff448a8d12f8f28585c8989f11c0d552d6f591fb86150369d80b4c98cac4cd29ded5db29cbdde41d01322101fa7be0cc1b61d071d99ce25
|
7
|
+
data.tar.gz: f7cf10a4f74e27f8bc1cf2d43e2883f7e4509a904148c0839094653e5e6435e12f26551aafb95c720aaeb349f19159f9d575a6b9fa8dd3ca080948fb018befc7
|
data/Gemfile.lock
CHANGED
data/lib/enumerate_it/base.rb
CHANGED
data/lib/enumerate_it/version.rb
CHANGED
@@ -8,6 +8,10 @@ describe EnumerateIt::Base do
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
+
it "creates constants for camel case values" do
|
12
|
+
TestEnumerationWithCamelCase::IPHONE.should == 'iPhone'
|
13
|
+
end
|
14
|
+
|
11
15
|
it "creates constants replacing its dashes with underscores" do
|
12
16
|
TestEnumerationWithDash::PT_BR.should == 'pt-BR'
|
13
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enumerate_it
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cássio Marques
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|