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 +4 -4
- data/VERSION.semver +1 -1
- data/checksum/matchi-1.0.7.gem.sha512 +1 -0
- data/lib/matchi/matchers_base.rb +11 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cdcdee720a6f6a62921afadcacbfb572c89a54934787c524acf80f68778c0a7
|
4
|
+
data.tar.gz: 5fdd66485a7ce29442928d37623c3f6768790d75c6f318efa4125db51b0bd6cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db2ee238c2aa0e9fb6aab81d61a51f1b1989b804bd37ce759d9badca60f797c1f857040f6ac5d26777d11a6d910633e721a222516fe8dbe79530e78a406c91e
|
7
|
+
data.tar.gz: df04be398735510b88601ff64a844528547a018d206a5800550c2d830e092e03c5c28e32d1bb07c0d7989c2537dc331a2cf68722ad7cc603609aa598427fcaa1
|
data/VERSION.semver
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.8
|
@@ -0,0 +1 @@
|
|
1
|
+
f16e29583a3311ffad06a27bed7fe670ee694ad45217271708b58f479bf7b677acf42b13c8ff94d397b5f6e74aced22d3bbac2679dc66cb357b28cae11d80be4
|
data/lib/matchi/matchers_base.rb
CHANGED
@@ -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.
|
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-
|
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
|