specificjson 0.1.0 → 0.1.1
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/bin/specificjson +7 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e4052688dcb86f2b011e95c1312fa3ec826d44b909255373a8708a966bee50f
|
4
|
+
data.tar.gz: 6158d5ed47a6812cde9ffd9b660db4344823b5e6b2121a78c7450a8035b5cfc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0b9532ad0d1b3b2040b413908722512e426910b842d6e10e43af2b7d12fbecba41f6b71c5aed3709912013afb16c541355ceb5c45cd3df77b85c5860b991eb
|
7
|
+
data.tar.gz: aeb221fd7546f7dc7b673e4e63d66132140b544a4fb18c78083cf3c3394b2a573f34a383bedae2386404885717b8234c1d5e58f11aba01ff527a0420fc79da47
|
data/bin/specificjson
CHANGED
@@ -40,7 +40,7 @@ parser.parse!
|
|
40
40
|
|
41
41
|
#PIECESASSIGNMENTSTART#
|
42
42
|
|
43
|
-
$PIECES = YAML.
|
43
|
+
$PIECES = YAML.safe_load(%(---
|
44
44
|
Exception:
|
45
45
|
description: Exception class.
|
46
46
|
declaration: |
|
@@ -924,8 +924,8 @@ writeString:
|
|
924
924
|
poolindexes:
|
925
925
|
poolparsers:
|
926
926
|
poolparsertypes:
|
927
|
-
))
|
928
|
-
$FILECONTENTS = YAML.
|
927
|
+
), aliases: true)
|
928
|
+
$FILECONTENTS = YAML.safe_load(%(---
|
929
929
|
c0: |
|
930
930
|
Y2xhc3MgRXhjZXB0aW9uIDogcHVibGljIHN0ZDo6ZXhjZXB0aW9uIHsKcHJp
|
931
931
|
dmF0ZToKICAgIGNvbnN0IGNoYXIqIHJlYXNvbjsKCnB1YmxpYzoKICAgIEV4
|
@@ -2060,7 +2060,7 @@ c66: |
|
|
2060
2060
|
c67: |
|
2061
2061
|
Y29uc3QgRXhjZXB0aW9uIHNwZWNqc29uOjpJbnZhbGlkSlNPTkNoYXJhY3Rl
|
2062
2062
|
cigiSW52YWxpZCBKU09OIGNoYXJhY3Rlci4iKTsK
|
2063
|
-
))
|
2063
|
+
), aliases: true)
|
2064
2064
|
#PIECESASSIGNMENTEND#
|
2065
2065
|
|
2066
2066
|
if $CLEAN
|
@@ -2176,7 +2176,7 @@ def load_spec(filename, root = nil)
|
|
2176
2176
|
specs = JSON.parse(input)
|
2177
2177
|
rescue StandardError
|
2178
2178
|
begin
|
2179
|
-
specs = YAML.safe_load(input)
|
2179
|
+
specs = YAML.safe_load(input, aliases: true)
|
2180
2180
|
rescue StandardError
|
2181
2181
|
aargh("#{filename} neither JSON nor YAML.", 3)
|
2182
2182
|
end
|
@@ -2317,8 +2317,8 @@ unless $BUILD.nil?
|
|
2317
2317
|
encoded[key] = Base64.encode64(value)
|
2318
2318
|
end
|
2319
2319
|
script.concat(%(
|
2320
|
-
$PIECES = YAML.
|
2321
|
-
$FILECONTENTS = YAML.
|
2320
|
+
$PIECES = YAML.safe_load(%(#{YAML.dump($PIECES)}), aliases: true)
|
2321
|
+
$FILECONTENTS = YAML.safe_load(%(#{YAML.dump(encoded)}), aliases: true)
|
2322
2322
|
))
|
2323
2323
|
script.concat(succeeding)
|
2324
2324
|
IO.write($BUILD, script)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specificjson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ismo Kärkkäinen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
|
@@ -26,7 +26,7 @@ extra_rdoc_files: []
|
|
26
26
|
files:
|
27
27
|
- LICENSE.txt
|
28
28
|
- bin/specificjson
|
29
|
-
homepage:
|
29
|
+
homepage: https://xn--ismo-krkkinen-gfbd.fi/specificjson/index.html
|
30
30
|
licenses:
|
31
31
|
- UPL-1.0
|
32
32
|
metadata: {}
|