rspec-matcher 0.1.2 → 0.1.3

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: c7d9326b4509b1a13c2eeaa608dacc8af2129505
4
- data.tar.gz: 66740b04f4576b8f1a042635e6b83ff34d20238c
3
+ metadata.gz: 949268732dd1527ea7670b3351218482dad1a2d1
4
+ data.tar.gz: 9e2cecc4308ccbe2b8244283e1a6fbb079f0a7aa
5
5
  SHA512:
6
- metadata.gz: 972bf6776f9cedb65749f0a635e75237d855a28179f1337c02cb84c602d211c992e0f2ef68307ae375ebe4e54d0308329807073de2fb189725fb6295cffe72d8
7
- data.tar.gz: d87f887352ca0badf3d903331a541ae0bd0b59516c2a84c3c6818119460e242ae8bead6852349ea9f87a93b8f8d09fe9f97ce090541eeb1b31194b66b460f2ef
6
+ metadata.gz: 293ba5441ee375f2cedf2744ac5c74b6bff5bb8e1a084c7c1023eacdedae8ef05540a74811d78f3780f53477f1fa1b99e9626db5ae1c12a4b2595ac1daadc46f
7
+ data.tar.gz: b4288aedb72ed2487626fa9adb15f7764104f0e9a8c4f787d9502310a096a6c7a2af23f7e940554c625fb0cd14df9d1015fc719ce1d19d41a7856fc8e55b450d
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # RspecMatcher
1
+ # RSpec::Matcher
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rspec-matcher.svg)](http://badge.fury.io/rb/rspec-matcher)
4
4
  [![Code Climate GPA](https://codeclimate.com/github/pekhee/rspec-matcher.svg)](https://codeclimate.com/github/pekhee/rspec-matcher)
@@ -40,7 +40,7 @@
40
40
 
41
41
  For a secure install, type the following (recommended):
42
42
 
43
- gem cert --add <(curl -Ls https://raw.githubusercontent.com/pekhee/rspec-matcher/master/gem-public.pem)
43
+ gem cert --add <(curl -Ls https://raw.githubusercontent.com/pekhee/rspec-matcher/master/pekhee.pem)
44
44
  gem install rspec-matcher --trust-policy MediumSecurity
45
45
 
46
46
  NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
data/lib/rspec/matcher.rb CHANGED
@@ -188,5 +188,11 @@ module RSpec
188
188
  def reject_expectation
189
189
  throw :resolution, false
190
190
  end
191
+
192
+ # @api public
193
+ # Indicates if expected was passed or not
194
+ def undefined?
195
+ expected == UNDEFINED
196
+ end
191
197
  end
192
198
  end
@@ -12,7 +12,7 @@ module RSpec
12
12
  end
13
13
 
14
14
  def self.version
15
- "0.1.2"
15
+ "0.1.3"
16
16
  end
17
17
 
18
18
  def self.version_label
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pooyan Khosravi