thy 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/thy/types/hash.rb +1 -1
- data/thy.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d991b917ad68769931249608ff697e1ecb4e692cede48983f1a0dcb6d36bba0
|
4
|
+
data.tar.gz: 5f74f8a6755537730bc4c483d228bd2d8417dbfff446b3b226d65a60f11b091f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49659a10e9612478b79d7aafe0337b3e8281bbf9044f181492fb37b2781dbeeab8a47a1af69b3524a88bdbade4f820fa6b59477dd9a9e0b71488908b371d326b
|
7
|
+
data.tar.gz: 34583cc86c792b32fa07741f5213757ffcd7c5c2733d7008fc1b782681c16d788d459293a6f1c89a59c91bc8aa526310770e6787674ec7660f24a51154054a02
|
data/Gemfile.lock
CHANGED
data/lib/thy/types/hash.rb
CHANGED
@@ -16,7 +16,7 @@ module Thy
|
|
16
16
|
if @schema_length != value.length
|
17
17
|
return Result::Failure.new("Expected #{value.inspect} to contain #{@schema_length} keys")
|
18
18
|
end
|
19
|
-
if @schema_keys
|
19
|
+
if @schema_keys & value.keys != @schema_keys
|
20
20
|
return Result::Failure.new(
|
21
21
|
"Expected #{value.inspect} to contain keys: #{@schema_keys.inspect}",
|
22
22
|
)
|
data/thy.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Komarov <ak@akxcv.com>
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|