rspec-sleeping_king_studios 2.2.0.rc.2 → 2.2.0

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: 35c3429a5963ce2ef369603423096f476b4387b2
4
- data.tar.gz: f5437ed959abeb0c55616891bd13b7d229e963f8
3
+ metadata.gz: 508560ed4df7948c97ca46b2728b0db9fbb1dd5e
4
+ data.tar.gz: 86e997e2241bce3a260d72ba8c038c103dd57e94
5
5
  SHA512:
6
- metadata.gz: 1baedcdb400230782b88b660fa77dc946f3843dc5831501263358b99c681b3108121e36f48fc6237ebb17a02a4da4218caab6f1b1ffcae105e81a73ae032604c
7
- data.tar.gz: a2a15b5b5afb836fad2c5c5838371aa7ef5590f93a24ec1ce900553f56561c3892229d8ab7a657cb1519853d0da700fc146714dbf338efd6cf5130cc2a7209e5
6
+ metadata.gz: bf55adc360c1f03a5035e22c2d395259a58378224800c360fa86d99aecab0ee8925f27dd05489dc153bcfba5c0fb1b2351c95e646e2fd22673a48d03a58b39de
7
+ data.tar.gz: 745979c9ba682845e73766047d4492d63d0064b3e01481eb644713e581d51351b5d10acd8ceab55b702b41e351e4032151d5f462635538bbd731b817f6c43bdc
data/CHANGELOG.md CHANGED
@@ -24,16 +24,16 @@ Internally refactored all matcher definitions to *\_matcher.rb, while the previo
24
24
 
25
25
  Added the `alias_method` matcher, which checks if the object aliases the specified method with the specified other name.
26
26
 
27
+ #### `be_boolean` Matcher
28
+
29
+ Now aliases as `a_boolean`, e.g. `expect(my_object).to have_reader(:my_method).with_value(a_boolean)`.
30
+
27
31
  ### `construct` and `respond_to` Matchers
28
32
 
29
33
  The `construct` and `respond_to` matcher is now stricter about accepting methods with undefined argument counts. Specifically, if a method requires a minimum number of arguments, and the matcher does not have an argument count expectation but does have at least one other argument expectation (unlimited arguments, keywords, block argument, and so on), the expectation would pass on pre-2.2 versions. This is considered a bug and has been fixed. These matchers should either only check if the method is defined (if there are no argument expectations), or check that the exact argument expectations given are valid for that method.
30
34
 
31
35
  Major internal refactoring to DRY parameter matching and ensure consistent behavior between the `construct` and `respond_to` matchers.
32
36
 
33
- #### `belong_to` Matcher
34
-
35
- Now aliases as `a_boolean`, e.g. `expect(my_object).to have_reader(:my_method).with_value(a_boolean)`.
36
-
37
37
  #### `delegate_method` Matcher
38
38
 
39
39
  Added the `delegate_method` matcher, which checks if the object forwards the specified method to the specified target.
data/DEVELOPMENT.md CHANGED
@@ -32,6 +32,7 @@
32
32
  ## Icebox
33
33
 
34
34
  - Implement Matchers::define_negated_matcher.
35
+ - Implement RespondTo#with_optional_keywords.
35
36
  - Implement negated compound matchers, e.g. expect().to match().and_not other_match()
36
37
  - Alias as "but_not"?
37
38
  - Implement benchmarking specs:
data/README.md CHANGED
@@ -4,7 +4,7 @@ A collection of matchers and extensions to ease TDD/BDD using RSpec. Extends bui
4
4
 
5
5
  ## Support
6
6
 
7
- RSpec::SleepingKingStudios is tested against RSpec 3.0 through 3.4.
7
+ RSpec::SleepingKingStudios is tested against RSpec 3.0 through 3.5.
8
8
 
9
9
  Currently, the following versions of Ruby are officially supported:
10
10
 
@@ -15,9 +15,9 @@ module RSpec
15
15
  # Patch version.
16
16
  PATCH = 0
17
17
  # Prerelease version.
18
- PRERELEASE = 'rc'
18
+ PRERELEASE = nil
19
19
  # Build metadata.
20
- BUILD = 2
20
+ BUILD = nil
21
21
 
22
22
  # Generates the gem version string from the Version constants.
23
23
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-sleeping_king_studios
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0.rc.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob "Merlin" Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-06 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -246,9 +246,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  requirements:
249
- - - ">"
249
+ - - ">="
250
250
  - !ruby/object:Gem::Version
251
- version: 1.3.1
251
+ version: '0'
252
252
  requirements: []
253
253
  rubyforge_project:
254
254
  rubygems_version: 2.5.1
@@ -256,4 +256,3 @@ signing_key:
256
256
  specification_version: 4
257
257
  summary: A collection of RSpec patches and custom matchers.
258
258
  test_files: []
259
- has_rdoc: