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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/collection/set.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb24d1d09fe966e05f63e3ddaad61096e82a355ba1543723bb58c1d2bc9546fe
4
- data.tar.gz: 2c89ee009ab759e6f7d15a103ea746a6b1761b889d92ecb439e7dbf7749243a2
3
+ metadata.gz: f7709eba53ae59d0111d893d9195b1fdf55bbebd29dcc74103f00707809b79c1
4
+ data.tar.gz: 9f9b5f172c0109abda13bf7544916db3d8031fbe19a7d04d33322b16e0f07dd2
5
5
  SHA512:
6
- metadata.gz: 977ddfde1ec8c9824708551f85febabcb24bca1263378b8201c0bc3e83588d4ba9a590c69b09d5c04b5c272a69b846b54f1e0bcb5bba15eb1a4b3f0153dfcd5e
7
- data.tar.gz: 04cdcc900c86b728896ce84a38d72c58576590e83e80b4d826e9c47707012720a3e346f96a6f271345ab928db98b61bf73619c402c2df6fd537573710f753e73
6
+ metadata.gz: 1c18eb19d1b98c917cf02e6a0a271a6221bf5e60e77d05d1ffe6aadf8288f57c2fc5207bcb41f501b24077219ed38cf2756060fe257c4415519f00e2e2d08caf
7
+ data.tar.gz: 8a2820ab543bbdf5f01c9ca08366331192591c223af6e9c3e6f22e8e507efd631f85619cf91f743b5bfd2264b3908afc1d2bfbfb74c5e83db9c8dbe6f0da0490
@@ -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.5
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-02 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test_bench