hyper-resource 1.0.0.lap49 → 1.0.0.lap50
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/hyper_record/class_methods.rb +12 -0
- data/lib/hyperloop/resource/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: 1bf46013acaf00398255c2396db9e004a6ac45404be32e1f7df15b60827e52a0
|
|
4
|
+
data.tar.gz: 9c7e8393a77636f2d6342682f2c1691b3a5239432e3e5045d6c7b4a441fa30ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ffe0b0a8d4be359eb2eedc67a652530c632857a8b141e275e1819e4f66144c449a3149bca49764a6f40ff8bc5544703c4fd4ed0fe5a43b6a0e8216e7f3087396
|
|
7
|
+
data.tar.gz: 64fd5dc93d13cd73850feac016c78a3e3c50665f5b7ef66a332a9d51132207d4cd6761b8bd4c2a54514d2d1043b5f2d9a933621d975905bbb0b044f4ccc1d127
|
|
@@ -37,6 +37,9 @@ module HyperRecord
|
|
|
37
37
|
options.merge(name)
|
|
38
38
|
name = direction
|
|
39
39
|
direction = nil
|
|
40
|
+
elsif name.is_a?(Proc)
|
|
41
|
+
name = direction
|
|
42
|
+
direction = nil
|
|
40
43
|
elsif name.nil?
|
|
41
44
|
name = direction
|
|
42
45
|
end
|
|
@@ -130,6 +133,9 @@ module HyperRecord
|
|
|
130
133
|
options.merge(name)
|
|
131
134
|
name = direction
|
|
132
135
|
direction = nil
|
|
136
|
+
elsif name.is_a?(Proc)
|
|
137
|
+
name = direction
|
|
138
|
+
direction = nil
|
|
133
139
|
elsif name.nil?
|
|
134
140
|
name = direction
|
|
135
141
|
end
|
|
@@ -175,6 +181,9 @@ module HyperRecord
|
|
|
175
181
|
options.merge(name)
|
|
176
182
|
name = direction
|
|
177
183
|
direction = nil
|
|
184
|
+
elsif name.is_a?(Proc)
|
|
185
|
+
name = direction
|
|
186
|
+
direction = nil
|
|
178
187
|
elsif name.nil?
|
|
179
188
|
name = direction
|
|
180
189
|
end
|
|
@@ -220,6 +229,9 @@ module HyperRecord
|
|
|
220
229
|
options.merge(name)
|
|
221
230
|
name = direction
|
|
222
231
|
direction = nil
|
|
232
|
+
elsif name.is_a?(Proc)
|
|
233
|
+
name = direction
|
|
234
|
+
direction = nil
|
|
223
235
|
elsif name.nil?
|
|
224
236
|
name = direction
|
|
225
237
|
end
|