expected 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 724ee1e98803b652a7b869c93ce143e10013656c52b4e6d2167896f7318c4b53
4
- data.tar.gz: 80d0607ab05c9e7f8c4c53735173ceaad29dd24ca944f1ab27377936faaa3553
3
+ metadata.gz: bbca42d3e57b1a222b2e75768bba23ef79eceec10c59e25388d0234cdd5099c2
4
+ data.tar.gz: ff40dd47a526a18912391837d1346c89aa9c422d6c21d081c13959aac67a3975
5
5
  SHA512:
6
- metadata.gz: db237eae5c400eae9d753878a527a2c6db8210be2fcd82ac140348d641c34028022d4eb1fd03b54c6560123f7a4ff46bcc6e458a6996f1e51cea0ed84d6d16d2
7
- data.tar.gz: 13206a425f81463c4c37ae9d6bfd4b6f426530d5e4045abd4fe3461e8140a69e00661466a0e26eed4e3f6be4801ed2d7be8892b12e92cee32b7f62ec8751f082
6
+ metadata.gz: 93552e9c8c85b6291b02e82a687748d69122f8458e38a2504a2ab8a3babadb9a11e9ff97af33419241201ac303223bf8498f9e2d4635909fc61f98ff75e1a90d
7
+ data.tar.gz: 971093756132a91567d723e76abff892adfe71d8f31861a0c9962e8d482188907f469c4439e90f2cb93687a9494ea13826e3edf29c6e04d204d497e511eee05e
data/README.md CHANGED
@@ -19,10 +19,9 @@ end
19
19
  ```
20
20
 
21
21
  ### Add to RSpec
22
- Add the following to your projects `spec/rails_helper.rb` for Rails apps, or `spec/spec_helper.rb for non-Rails apps.
22
+ Add the following to your projects `spec/rails_helper.rb` for Rails apps, or `spec/spec_helper.rb` for non-Rails apps.
23
23
  ```ruby
24
- Expected.configure do |config|
25
- end
24
+ Expected.configure
26
25
  ```
27
26
 
28
27
 
@@ -7,7 +7,7 @@ module Expected
7
7
  # Configure the library
8
8
  # @yield [Configuration]
9
9
  def configure
10
- yield configuration
10
+ yield configuration if block_given?
11
11
  return unless defined?(::RSpec)
12
12
  ::RSpec.configure do |config|
13
13
  config.include(Matchers)
@@ -6,7 +6,7 @@ module Expected
6
6
  module Version
7
7
  MAJOR = 1
8
8
  MINOR = 1
9
- PATCH = 1
9
+ PATCH = 2
10
10
 
11
11
  end
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expected
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Yelverton