data_crate 0.1.1 → 0.1.2
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/crate/crate.rb +3 -1
- data/lib/crate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3273aece6d16800e93bc31918f62ff61ac5acf1631832be61288f8dc98b85499
|
4
|
+
data.tar.gz: b7f2c8bda1a4058fb5f02123f9e1eb94eefe227e9b738b97d89521fd94c1b3ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 829404929d4f985e3ac801539d05b1422f55fa7cf3a5dab04212a9d9de429145bf9d45187625e68dc90f541d0ba5e7a02e631d4f966dc2e36b78d8250926c55d
|
7
|
+
data.tar.gz: ee10cbe8fa477dcfb3b68a896ed0ce5a505d6503e6fa8ce6278885b593d77a0b332fb8a2b536093a981adbc7e0da79602a90ea62892a6994e07e37366daef258
|
data/Gemfile.lock
CHANGED
data/lib/crate/crate.rb
CHANGED
@@ -135,7 +135,9 @@ module Crate
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def _new_crates
|
138
|
-
self.class._crates
|
138
|
+
self.class._crates \
|
139
|
+
.select { |name, _klass| _raw.key?(name) } \
|
140
|
+
.each do |name, klass|
|
139
141
|
_raw[name] = klass.new(_raw[name], **_options, fullname: _name(name))
|
140
142
|
end
|
141
143
|
end
|
data/lib/crate/version.rb
CHANGED