wolf_core 0.1.87 → 0.1.88
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/utils/string_utils.rb +1 -1
- data/lib/wolf_core/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: cbe3c863a91ae93dcd63e3fa7418782556064e696600aa48d5298dfc8a9b35ba
|
4
|
+
data.tar.gz: 5d796c39dd28131902b4f4669648cae3d19e4c4dcff71beaaf48be741c19d89b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f8391ca9983d676f29b329383f37aca723c934f230a1e6358727fc48e9bba72677b4cf4d015eec936a1b338952eccdbff6063e47a3fc4b0a43fc3c97059811
|
7
|
+
data.tar.gz: 759966a7c6696865bcaf2d2dfb6fcfca683ec4503e1d12804e152a6e25419e68636982443342e3442f666b653e5103db4be699fafcb19291e6ad78122c41939d
|
@@ -17,7 +17,7 @@ module WolfCore
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def hash_str_to_json(hash_str)
|
20
|
-
hash_str
|
20
|
+
hash_str&.gsub('=>', ':')&.gsub('\"', '"')&.gsub('{', '{')&.gsub('}', '}')&.gsub(/(\w+)(?=\s*:)/) { |key| "\"#{key}\"" }
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
data/lib/wolf_core/version.rb
CHANGED