const_lookup 0.5.0 → 0.5.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.
- checksums.yaml +4 -4
- data/lib/const_lookup.rb +1 -1
- data/lib/const_lookup/version.rb +1 -1
- data/spec/const_lookup_spec.rb +3 -1
- 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: 98df710f86e4e9651585c81360b46e2ec1510a07
|
|
4
|
+
data.tar.gz: 9042044d08f74d2721dd33d52c1412b0c64b7d22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 09752c925c80469b934bce132da5b82c1cdeccd788147a5c0f0443093005e9fc934bcf0bc14d06ab46b953e73bb9d496f8edffeeaa8ce06cba2e6d58167640c3
|
|
7
|
+
data.tar.gz: cf729d5332dc4a39daad47375db6779eb95ea688cc216c5f781f70f5903ca8c2b6bbd645a2d5d21125672de85fa495d59fbe4e4e1366fdbaca9a7ec7a334f495
|
data/lib/const_lookup.rb
CHANGED
data/lib/const_lookup/version.rb
CHANGED
data/spec/const_lookup_spec.rb
CHANGED
|
@@ -32,7 +32,9 @@ describe ConstLookup do
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it "raises an ArgumentError when the namespace is not a Class/Module" do
|
|
35
|
-
expect
|
|
35
|
+
expect do
|
|
36
|
+
ConstLookup.new(Object.new)
|
|
37
|
+
end.to raise_error ArgumentError, 'namespace must be a Module'
|
|
36
38
|
end
|
|
37
39
|
end
|
|
38
40
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: const_lookup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Marshall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|