evt-collection 1.1.0.5 → 1.1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/collection/set.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7709eba53ae59d0111d893d9195b1fdf55bbebd29dcc74103f00707809b79c1
|
4
|
+
data.tar.gz: 9f9b5f172c0109abda13bf7544916db3d8031fbe19a7d04d33322b16e0f07dd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c18eb19d1b98c917cf02e6a0a271a6221bf5e60e77d05d1ffe6aadf8288f57c2fc5207bcb41f501b24077219ed38cf2756060fe257c4415519f00e2e2d08caf
|
7
|
+
data.tar.gz: 8a2820ab543bbdf5f01c9ca08366331192591c223af6e9c3e6f22e8e507efd631f85619cf91f743b5bfd2264b3908afc1d2bfbfb74c5e83db9c8dbe6f0da0490
|
data/lib/collection/set.rb
CHANGED
@@ -12,7 +12,7 @@ module Collection
|
|
12
12
|
type_parameter_name = constant_name(type_parameter)
|
13
13
|
|
14
14
|
cls = nil
|
15
|
-
unless const_defined?(type_parameter_name)
|
15
|
+
unless self.const_defined?(type_parameter_name, false)
|
16
16
|
cls = define_class(type_parameter)
|
17
17
|
set_collection_constant(type_parameter, cls)
|
18
18
|
else
|
@@ -43,7 +43,7 @@ module Collection
|
|
43
43
|
def self.set_collection_constant(constant, cls)
|
44
44
|
class_name = constant_name(constant)
|
45
45
|
|
46
|
-
unless const_defined?(class_name)
|
46
|
+
unless self.const_defined?(class_name, false)
|
47
47
|
self.const_set(class_name, cls)
|
48
48
|
end
|
49
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-collection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test_bench
|