rspec_boolean 0.0.6 → 0.0.7

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: e4a1cfaf7b4272d6ab1f579b4271fde61aa768af
4
- data.tar.gz: 91e33c79e9b0d090ce9b04987e2400680108ba3b
3
+ metadata.gz: 8dc82e43833a3efe0230a6617341167ca74ac1cf
4
+ data.tar.gz: c385f1a84d0c2656761f2ac663b312b816cdfd1c
5
5
  SHA512:
6
- metadata.gz: aeea891f57f5966a9446e4a7326e6da5ccd2f13c3c17cb40e21b2434d758f2c96b404963e3625e35200d1c29140360bd2c1cbd9125d25f903f0d7c9e7c643405
7
- data.tar.gz: febc1dcbc0ca6a779ff828c1529e90f37a243cb6ca25a027ecf5965d67410288f4c14eded42d43f45e2ada529279b3e64118cd19faa1cf8839e1a3f907d1deae
6
+ metadata.gz: 6b550db037da830c9ea4ef69f9d72f08c20d624f3c1f5b426d636a68cdf89ff16a5927b4a585059234513a7d52b0bb4cc2f9c439b7322a3fcb15f56cf51defeb
7
+ data.tar.gz: 06e771aa3c8f838a27d332d8245d727832a7d4845d4f60e53ecc79fb56bd7cdd0ed0089be7ac37db66ff3920061cc9172d838ed715f7e760e40e777e1443274f
@@ -4,7 +4,12 @@ RSpec::Matchers.define :be_boolean do |expected|
4
4
  return true if actual == true
5
5
  return true if actual == false
6
6
  end
7
+
8
+ failure_message do |actual|
9
+ "expected #{actual} to be true or false"
10
+ end
11
+
7
12
  failure_message_when_negated do |actual|
8
- "expected that #{actual} would be a true or false"
13
+ "expected #{actual} to be something other than true or false"
9
14
  end
10
- end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module RspecBoolean
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_boolean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorenzo Sinisi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-27 00:00:00.000000000 Z
11
+ date: 2019-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.2.2
93
+ rubygems_version: 2.5.2.3
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Add be_boolean to Rspec