rspec-sleeping_king_studios 2.2.0.rc.2 → 2.2.0
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 +4 -4
 - data/CHANGELOG.md +4 -4
 - data/DEVELOPMENT.md +1 -0
 - data/README.md +1 -1
 - data/lib/rspec/sleeping_king_studios/version.rb +2 -2
 - metadata +4 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 508560ed4df7948c97ca46b2728b0db9fbb1dd5e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 86e997e2241bce3a260d72ba8c038c103dd57e94
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 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. 
     | 
| 
      
 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 
     | 
    
         | 
    
        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 
     | 
| 
      
 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- 
     | 
| 
      
 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:  
     | 
| 
      
 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: 
         
     |