boltless 2.8.0 → 2.9.0
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/boltless/extensions/utilities.rb +4 -8
- data/lib/boltless/version.rb +1 -1
- data/spec/support/helpers.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: 16dd75111cb7df88726a592a03d68630879a096cdcdfc958e59c0195bffc2a2c
|
|
4
|
+
data.tar.gz: 82265aca3cfe2da3b10918671b6f8166b0db1ce39872bb3c81cfa043240feea2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e6f408ec3675f8236accc7c90daab48e478c15470aba816d288c5ead918b82bb1a6091178f6c0f2a0925366e1e697b1eb26a8845140a1c3d75e6c73e8432183
|
|
7
|
+
data.tar.gz: 8052fddd86d556438345366bd37e392d9ca8dd4aaaa2f2db311240a3dbe2fd5437041bdf04356e3e7f1dcbd7509acd03c3f69c73a00196bc8f8d3fe8cb9f9fd6
|
|
@@ -41,14 +41,10 @@ module Boltless
|
|
|
41
41
|
replacements = replacements
|
|
42
42
|
.stringify_keys
|
|
43
43
|
.each_with_object({}) do |(key, val), memo|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
val = prepare_type(val)
|
|
49
|
-
end
|
|
50
|
-
val = prepare_string(val) if key.match?(/_strs?$/)
|
|
51
|
-
memo[key.to_sym] = val
|
|
44
|
+
val = prepare_label(val) if key.match?(/_labels?$|^labels?$/)
|
|
45
|
+
val = prepare_type(val) if key.match?(/_types?$|^types?$/)
|
|
46
|
+
val = prepare_string(val) if key.match?(/_strs?$/)
|
|
47
|
+
memo[key.to_sym] = val
|
|
52
48
|
end
|
|
53
49
|
|
|
54
50
|
# Then evaluate the given block to get the Cypher template
|
data/lib/boltless/version.rb
CHANGED
data/spec/support/helpers.rb
CHANGED
|
@@ -31,7 +31,7 @@ end
|
|
|
31
31
|
# @param suffixes [Array<String, Symbol>] additional file suffixes, check the
|
|
32
32
|
# +spec/fixtures/files/+ directory for all available variants
|
|
33
33
|
def raw_result_fixture(*suffixes)
|
|
34
|
-
suffixes = suffixes.
|
|
34
|
+
suffixes = suffixes.join('_')
|
|
35
35
|
suffixes = "_#{suffixes}" unless suffixes.empty?
|
|
36
36
|
file = "raw_result#{suffixes}.yml"
|
|
37
37
|
|