wildcard_matchers 0.9.0 → 0.9.1

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
  SHA1:
3
- metadata.gz: 505f14ca6ec4c6425c12be433c23de1833b7bb25
4
- data.tar.gz: 85a7da4a4bb5703dd721ffeff73c977bc9f7cc3f
3
+ metadata.gz: 45307b92b06dfed4450726f0201518e4461bde8e
4
+ data.tar.gz: fe3b7bc1c39b5a7c101e2deee5bef86ba88fbc67
5
5
  SHA512:
6
- metadata.gz: cf5f6f22000d88c77f55591d5dd76e6bed1258c29695180cb78e5c94150ad354908d9a1085534348749f2515c0f6c508fcdea62c0d84f06d7e0fd6e367ba81af
7
- data.tar.gz: 9444ae631b08f452de853539e0a16ed0a795d4132dfdcac713ce798bc29b5a606c5cd45d5e979a8eaed6b1e38440e7c2dc17ea71b0fdb4cc77d9c4397eecf930
6
+ metadata.gz: 967e78b9e87a9cda1c9c52c065fcbc2e1906e44d3230d4fe38d53d9c83413a41cb4bd1f7165bba438f9e50c5ed55653990e86b68b1e1ec23f14a79428f275bb2
7
+ data.tar.gz: ce08ce2939df22224722b0c92a1043432ffc3c7c29f7a256772fa2dbdd6db01076fca6763263ddee2f60e8e08ec4d78d687c765cad213dad419e253490f415b0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.9.1
2
+
3
+ * FIXED
4
+ * all_of and any_of pass positions to child matchers
5
+
1
6
  ## 0.9.0
2
7
  * ENHANCEMEN
3
8
  * support & and | to composite matcher
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.1
@@ -11,7 +11,7 @@ module WildcardMatchers
11
11
  protected
12
12
  def wildcard_match(actual)
13
13
  errors = expectation.map do |e|
14
- self.class.superclass.check_errors(actual, e)
14
+ self.class.superclass.check_errors(actual, e, position)
15
15
  end.flatten
16
16
 
17
17
  unless errors.empty?
@@ -11,7 +11,7 @@ module WildcardMatchers
11
11
  protected
12
12
  def wildcard_match(actual)
13
13
  errors = expectation.map do |e|
14
- self.class.superclass.check_errors(actual, e)
14
+ self.class.superclass.check_errors(actual, e, position)
15
15
  end
16
16
 
17
17
  unless errors.any? {|e| e == [] }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wildcard_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - okitan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-18 00:00:00.000000000 Z
11
+ date: 2016-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facets
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  requirements: []
193
193
  rubyforge_project:
194
- rubygems_version: 2.4.6
194
+ rubygems_version: 2.5.2
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: wildcard matchers which can use in rspec