rspec_structure_matcher 0.0.4 → 0.0.5

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: e2e9d7803cb8b87dca184bd5c1bf8da9afc4e0e8
4
- data.tar.gz: be43094cf44054666ae60a1c7acf9f1319585994
3
+ metadata.gz: 23536c95ca641e9f03faa3c2c7ba193ba9415b94
4
+ data.tar.gz: 40b064c9a9cc9944b61eddf7f1628476dca36a2e
5
5
  SHA512:
6
- metadata.gz: 8998b89b8c27426a32ab5ab2c084f50b7ab8fdf1a7693d356ce05f31159f77b7144658186e1fd95314051e3be4e6eb1c7911aef7ec9d1c9d84b2a20459a267b4
7
- data.tar.gz: c1d1c69fc69fad491623e5fbaf850d275e1b268bf5260d1b809cf860538ab9c64ef0b080a71b8a8e8159b0e4767cdf9da50c1e8d84687010b7afccfdfeed8654
6
+ metadata.gz: 0c2bb37e65de516a48748c6c1d0827471a71768db21fe201509d207f24118393dd0504ddd8a2f45c721b92ee09dae220a75692661c37a969d5994db2f55abc3b
7
+ data.tar.gz: d001136a60f227e531825d8897f6c7b9e5611ba18bfd4d34b1963c58678e9457b8bef6216b5843b4efc3a5b20838911ce66b1019f78eb3b9296e58d091d9f19b
@@ -3,7 +3,7 @@ RSpec::Matchers.define :optionally_be do |expected|
3
3
  actual.nil? || actual.is_a?(expected)
4
4
  end
5
5
 
6
- failure_message_for_should do |actual|
6
+ failure_message do |actual|
7
7
  "#{actual} must be 'nil' or '#{expected}'"
8
8
  end
9
9
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RspecStructureMatcher
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_structure_matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Marklove
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-09 00:00:00.000000000 Z
11
+ date: 2014-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec