dhall 0.5.2 → 0.5.3.fixed
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dhall.gemspec +1 -1
- data/lib/dhall/coder.rb +2 -3
- data/lib/dhall/resolve.rb +1 -0
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ef819cfd9041e4eca3854a27df5c1161f3d1d6a852d6356d4997a93a0497747
|
4
|
+
data.tar.gz: 44d7fe35ff3da98c0ec16ea074ccb103538918c864e7d870190c234b94edb154
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1282cd55e04396e3e0642f0621c2119a64535ca3b0bfae4be3eb2ff4a0bcda0bafdb8b312841d0357932a1e411122cd50186a6534f63ce87ad6b6376df7bfd9
|
7
|
+
data.tar.gz: 7d4287f4f5ee378197ded560dc188fe54147a6221cbc6b3ac0b74e5b03188c11b86f76573dbf1ab791836aa36450316126afea1ed5a29aebba363465960bf674
|
data/dhall.gemspec
CHANGED
data/lib/dhall/coder.rb
CHANGED
@@ -105,12 +105,11 @@ module Dhall
|
|
105
105
|
|
106
106
|
refine List do
|
107
107
|
def to_ruby(&decode)
|
108
|
-
arr = to_a.map(&decode)
|
109
108
|
unless element_type.is_a?(RecordType) &&
|
110
109
|
element_type.keys == ["mapKey", "mapValue"]
|
111
|
-
return
|
110
|
+
return to_a.map(&decode)
|
112
111
|
end
|
113
|
-
Hash[
|
112
|
+
Hash[to_a.map { |r| [r["mapKey"].to_s, decode[r["mapValue"]]] }]
|
114
113
|
end
|
115
114
|
end
|
116
115
|
|
data/lib/dhall/resolve.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dhall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3.fixed
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Paul Weber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base32
|
@@ -210,12 +210,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
210
|
version: '0'
|
211
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
|
-
- - "
|
213
|
+
- - ">"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
215
|
+
version: 1.3.1
|
216
216
|
requirements: []
|
217
|
-
|
218
|
-
rubygems_version: 2.7.6.2
|
217
|
+
rubygems_version: 3.2.5
|
219
218
|
signing_key:
|
220
219
|
specification_version: 4
|
221
220
|
summary: The non-repetitive alternative to YAML, in Ruby
|