check_please 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33a26fc2e249e7ff6bba107ba2da856f0f70a9e232862b3650893b1844117cac
4
- data.tar.gz: c8624e0cfc38a4f7bcd9db9af22215f0d2d6311ab061ec156318894fa8a01b60
3
+ metadata.gz: b880759afe4d4cfa6b3fda2332fdea92be7a141a2faa4ce24ed1f5952a395953
4
+ data.tar.gz: 580bb6e7de516510534d315f4d2a0effb539f4e195bb58a30a4f345912591523
5
5
  SHA512:
6
- metadata.gz: 93c0b1d909dbdaf606a0376f38062eaaa26bd19573413ce0d81002b120aa247176d7a564752b83f6ac9a359974df32a7a5c2997f20468f95d683b28369d5548b
7
- data.tar.gz: 78fe71950e42986ef0b9857984310fa51955d08a5b1b9b432d2b277fb9191b188b173f78575d0f88a927d4668065ac35fc32f1d74bba082894f897c0d9896267
6
+ metadata.gz: 2c23315e2c734b3d8234c2a8f05c3d7f3626b0d53b255c182f68de20a60df7f28c124260aedb59f015560fc625f4301c48ec29bdf3b772f495c34c6181e114d6
7
+ data.tar.gz: 973adce53f7fd590bbd478e8727f3f409def0caed3815b049af9613427a866d761426fcd84c481798e73d7da3abd9c9d77a8bc726171f3030ac7d87b481ddb12
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- check_please (0.2.1)
4
+ check_please (0.2.2)
5
5
  table_print
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -131,9 +131,9 @@ CheckPlease defines:
131
131
  Also, the way these get displayed is likely to change.)_
132
132
  * **mismatch** means that both the **reference** and the **candidate** had a
133
133
  value at the given path, and neither value was an Array or a Hash.
134
- * "**extra**" means that, inside an Array or a Hash, the **candidate**
134
+ * **extra** means that, inside an Array or a Hash, the **candidate**
135
135
  contained values that were not found in the **reference**.
136
- * "**missing**" is the opposite of **extra**: inside an Array or a Hash, the
136
+ * **missing** is the opposite of **extra**: inside an Array or a Hash, the
137
137
  **reference** contained values that were not found in the **candidate**.
138
138
 
139
139
  #### Paths
@@ -16,7 +16,7 @@ module CheckPlease
16
16
 
17
17
  def compare(ref, can, path, diffs)
18
18
  if (d = diffs.options[:max_depth])
19
- return if path.depth > d
19
+ return if path.depth > d + 1
20
20
  end
21
21
 
22
22
  case types(ref, can)
@@ -1,5 +1,5 @@
1
1
  module CheckPlease
2
2
  # NOTE: 'check_please_rspec_matcher' depends on this,
3
3
  # so try to keep them roughly in sync
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: check_please
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Livingston-Gray
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-14 00:00:00.000000000 Z
11
+ date: 2020-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: table_print