thy 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5aadd3586867c71c7898b826f50b095508d1970208e4a621f69128c62b3f84f
4
- data.tar.gz: c366b9fad12c61d8cfc228d3f10f02c82468895cc66cf0e2ea47f20f95a790d3
3
+ metadata.gz: 2d991b917ad68769931249608ff697e1ecb4e692cede48983f1a0dcb6d36bba0
4
+ data.tar.gz: 5f74f8a6755537730bc4c483d228bd2d8417dbfff446b3b226d65a60f11b091f
5
5
  SHA512:
6
- metadata.gz: c452ec7674c375fb0d5ba7408cce8c9d6e45d1a6b0101961cbdc5f09c96cfaefa704a6ce959d93454e453b3e196006a44d4103a4b51a8469f4f5e772a68a39fd
7
- data.tar.gz: 818d142c82ed6fc29e66dbf6e4ccd039232f335b87a732b66cb4001c910d0f2389e96a09d24758a106a9dc99a9f1f898dba6bd2a380b4715422740f3a25f2267
6
+ metadata.gz: 49659a10e9612478b79d7aafe0337b3e8281bbf9044f181492fb37b2781dbeeab8a47a1af69b3524a88bdbade4f820fa6b59477dd9a9e0b71488908b371d326b
7
+ data.tar.gz: 34583cc86c792b32fa07741f5213757ffcd7c5c2733d7008fc1b782681c16d788d459293a6f1c89a59c91bc8aa526310770e6787674ec7660f24a51154054a02
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- thy (0.1.0)
4
+ thy (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  thy!
68
68
 
69
69
  BUNDLED WITH
70
- 2.0.1
70
+ 2.0.2
@@ -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 != value.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
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'thy'
8
- spec.version = '0.1.1'
8
+ spec.version = '0.1.2'
9
9
  spec.authors = ['Alexander Komarov <ak@akxcv.com>']
10
10
  spec.email = ['ak@akxcv.com']
11
11
 
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.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-09-30 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler