matchi 1.0.7 → 1.0.8

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: 9d213c300548625425d0a0e93897dee638fc782392cf1364c3e98847a73af8df
4
- data.tar.gz: a5d1766ef4051bdcbcc9c35f93f62d4e3992531112fdd1dfad5f6956e9e5c01b
3
+ metadata.gz: 7cdcdee720a6f6a62921afadcacbfb572c89a54934787c524acf80f68778c0a7
4
+ data.tar.gz: 5fdd66485a7ce29442928d37623c3f6768790d75c6f318efa4125db51b0bd6cb
5
5
  SHA512:
6
- metadata.gz: bb87e6c3d74fdcd4fc0983981c6b26bd7166e32ddf7bb69ebcbda2d9cf18e71af798f5bccb3ab5a6a45ef31db919c1c8d42d0ea26a051fee35673df833578e0b
7
- data.tar.gz: d309507d97b8561bdeaea13c2f3d4a78d40fcafd1fdd03ec125dda24de10ef9c28935d66266905ab4cdfbb63a937e791f16079406ba96a03d9a7c6260d09bdf7
6
+ metadata.gz: 8db2ee238c2aa0e9fb6aab81d61a51f1b1989b804bd37ce759d9badca60f797c1f857040f6ac5d26777d11a6d910633e721a222516fe8dbe79530e78a406c91e
7
+ data.tar.gz: df04be398735510b88601ff64a844528547a018d206a5800550c2d830e092e03c5c28e32d1bb07c0d7989c2537dc331a2cf68722ad7cc603609aa598427fcaa1
@@ -1 +1 @@
1
- 1.0.7
1
+ 1.0.8
@@ -0,0 +1 @@
1
+ f16e29583a3311ffad06a27bed7fe670ee694ad45217271708b58f479bf7b677acf42b13c8ff94d397b5f6e74aced22d3bbac2679dc66cb357b28cae11d80be4
@@ -26,6 +26,17 @@ module Matchi
26
26
  defined?(@expected) ? [s, @expected.inspect].join(' ') : s
27
27
  end
28
28
 
29
+ # A string containing a human-readable representation of the matcher.
30
+ #
31
+ # @api public
32
+ #
33
+ # @return [String] The human-readable representation of the matcher.
34
+ def inspect
35
+ expected_inspect = @expected.inspect if defined?(@expected)
36
+
37
+ "#{matcher_name}(#{expected_inspect})"
38
+ end
39
+
29
40
  # Returns a hash of one key-value pair with a key corresponding to the
30
41
  # matcher and a value corresponding to its initialize parameters.
31
42
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matchi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-12 00:00:00.000000000 Z
11
+ date: 2019-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -133,6 +133,7 @@ files:
133
133
  - checksum/matchi-1.0.4.gem.sha512
134
134
  - checksum/matchi-1.0.5.gem.sha512
135
135
  - checksum/matchi-1.0.6.gem.sha512
136
+ - checksum/matchi-1.0.7.gem.sha512
136
137
  - lib/matchi.rb
137
138
  - lib/matchi/matchers.rb
138
139
  - lib/matchi/matchers/be_false.rb