activeinteractor 1.1.4 → 1.1.6
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:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 9590abce809d47171ae43dcba47b6f587b90b0d77d598e47536904dba645b101
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0d4141a041eb62497c42a15500258c4b1c5fce7c02a8dc3ef78a1a5328f60c89
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 8302c677e05036f6412b9cc32dc43be19e829442a4350c5e93f135ed84ee6f0e0e823c4a809c19b393fdaef5677495aa1bbfbf85e87521a31dc6b5045a8d83ec
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 2f4ff4d83e90881d5f255783953a513540e023b6249c6f6bba0ebd52b5e73ed87490324ecb1718da63fc51ad3da7df526b76a25c5b6be2176043630f30f1544a
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning]. 
     | 
|
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            ## [Unreleased]
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
      
 10 
     | 
    
         
            +
            ## [v1.1.6] - 2022-04-25
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ### Changed
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            - [\#344] Bump activemodel and activesupport to v7.0.2.3
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
       10 
16 
     | 
    
         
             
            ## [v1.1.4] - 2022-03-07
         
     | 
| 
       11 
17 
     | 
    
         | 
| 
       12 
18 
     | 
    
         
             
            ### Changed
         
     | 
| 
         @@ -243,7 +249,8 @@ and this project adheres to [Semantic Versioning]. 
     | 
|
| 
       243 
249 
     | 
    
         | 
| 
       244 
250 
     | 
    
         
             
            <!-- versions -->
         
     | 
| 
       245 
251 
     | 
    
         | 
| 
       246 
     | 
    
         
            -
            [Unreleased]: https://github.com/aaronmallen/activeinteractor/compare/v1.1. 
     | 
| 
      
 252 
     | 
    
         
            +
            [Unreleased]: https://github.com/aaronmallen/activeinteractor/compare/v1.1.6...HEAD
         
     | 
| 
      
 253 
     | 
    
         
            +
            [v1.1.6]: https://github.com/aaronmallen/activeinteractor/compare/v1.1.4...v1.1.6
         
     | 
| 
       247 
254 
     | 
    
         
             
            [v1.1.4]: https://github.com/aaronmallen/activeinteractor/compare/v1.1.3...v1.1.4
         
     | 
| 
       248 
255 
     | 
    
         
             
            [v1.1.3]: https://github.com/aaronmallen/activeinteractor/compare/v1.1.2...v1.1.3
         
     | 
| 
       249 
256 
     | 
    
         
             
            [v1.1.2]: https://github.com/aaronmallen/activeinteractor/compare/v1.1.1...v1.1.2
         
     | 
| 
         @@ -16,7 +16,7 @@ module ActiveInteractor 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
                # The ActiveInterctor patch version number
         
     | 
| 
       18 
18 
     | 
    
         
             
                # @return [Integer] The ActiveInteractor patch version number
         
     | 
| 
       19 
     | 
    
         
            -
                PATCH =  
     | 
| 
      
 19 
     | 
    
         
            +
                PATCH = 6
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                # The ActiveInterctor pre-release version
         
     | 
| 
       22 
22 
     | 
    
         
             
                # @return [String | nil] The ActiveInteractor pre-release version
         
     | 
| 
         @@ -8,7 +8,7 @@ RSpec.shared_examples 'a class with interactor callback methods' do 
     | 
|
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         
             
                it 'is expected to receive #set_callback with :validation, :after, :some_method, { :prepend => true }' do
         
     | 
| 
       10 
10 
     | 
    
         
             
                  expect(interactor_class).to receive(:set_callback)
         
     | 
| 
       11 
     | 
    
         
            -
                    .with(:validation, :after, :some_method, prepend: true)
         
     | 
| 
      
 11 
     | 
    
         
            +
                    .with(:validation, :after, :some_method, { prepend: true })
         
     | 
| 
       12 
12 
     | 
    
         
             
                    .and_return(true)
         
     | 
| 
       13 
13 
     | 
    
         
             
                  subject
         
     | 
| 
       14 
14 
     | 
    
         
             
                end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: activeinteractor
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.6
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Aaron Allen
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2022- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-04-25 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: activemodel
         
     | 
| 
         @@ -19,7 +19,7 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    version: '4.2'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - "<="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version:  
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 7.0.2.3
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -29,7 +29,7 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    version: '4.2'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version:  
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 7.0.2.3
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: activesupport
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -39,7 +39,7 @@ dependencies: 
     | 
|
| 
       39 
39 
     | 
    
         
             
                    version: '4.2'
         
     | 
| 
       40 
40 
     | 
    
         
             
                - - "<="
         
     | 
| 
       41 
41 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       42 
     | 
    
         
            -
                    version:  
     | 
| 
      
 42 
     | 
    
         
            +
                    version: 7.0.2.3
         
     | 
| 
       43 
43 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       44 
44 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       45 
45 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -49,7 +49,7 @@ dependencies: 
     | 
|
| 
       49 
49 
     | 
    
         
             
                    version: '4.2'
         
     | 
| 
       50 
50 
     | 
    
         
             
                - - "<="
         
     | 
| 
       51 
51 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       52 
     | 
    
         
            -
                    version:  
     | 
| 
      
 52 
     | 
    
         
            +
                    version: 7.0.2.3
         
     | 
| 
       53 
53 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       54 
54 
     | 
    
         
             
              name: bundler
         
     | 
| 
       55 
55 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -205,10 +205,10 @@ licenses: 
     | 
|
| 
       205 
205 
     | 
    
         
             
            - MIT
         
     | 
| 
       206 
206 
     | 
    
         
             
            metadata:
         
     | 
| 
       207 
207 
     | 
    
         
             
              bug_tracker_uri: https://github.com/aaronmallen/activeinteractor/issues
         
     | 
| 
       208 
     | 
    
         
            -
              changelog_uri: https://github.com/aaronmallen/activeinteractor/blob/v1.1. 
     | 
| 
       209 
     | 
    
         
            -
              documentation_uri: https://www.rubydoc.info/gems/activeinteractor/1.1. 
     | 
| 
      
 208 
     | 
    
         
            +
              changelog_uri: https://github.com/aaronmallen/activeinteractor/blob/v1.1.6/CHANGELOG.md
         
     | 
| 
      
 209 
     | 
    
         
            +
              documentation_uri: https://www.rubydoc.info/gems/activeinteractor/1.1.6
         
     | 
| 
       210 
210 
     | 
    
         
             
              hompage_uri: https://github.com/aaronmallen/activeinteractor
         
     | 
| 
       211 
     | 
    
         
            -
              source_code_uri: https://github.com/aaronmallen/activeinteractor/tree/v1.1. 
     | 
| 
      
 211 
     | 
    
         
            +
              source_code_uri: https://github.com/aaronmallen/activeinteractor/tree/v1.1.6
         
     | 
| 
       212 
212 
     | 
    
         
             
              wiki_uri: https://github.com/aaronmallen/activeinteractor/wiki
         
     | 
| 
       213 
213 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       214 
214 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
         @@ -230,45 +230,45 @@ signing_key: 
     | 
|
| 
       230 
230 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       231 
231 
     | 
    
         
             
            summary: Ruby interactors with ActiveModel::Validations
         
     | 
| 
       232 
232 
     | 
    
         
             
            test_files:
         
     | 
| 
       233 
     | 
    
         
            -
            - spec/ 
     | 
| 
       234 
     | 
    
         
            -
            - spec/ 
     | 
| 
       235 
     | 
    
         
            -
            - spec/ 
     | 
| 
       236 
     | 
    
         
            -
            - spec/ 
     | 
| 
       237 
     | 
    
         
            -
            - spec/ 
     | 
| 
       238 
     | 
    
         
            -
            - spec/ 
     | 
| 
       239 
     | 
    
         
            -
            - spec/ 
     | 
| 
       240 
     | 
    
         
            -
            - spec/ 
     | 
| 
       241 
     | 
    
         
            -
            - spec/ 
     | 
| 
      
 233 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 234 
     | 
    
         
            +
            - spec/integration/an_organizer_with_after_each_callbacks_spec.rb
         
     | 
| 
      
 235 
     | 
    
         
            +
            - spec/integration/an_organizer_with_options_callbacks_spec.rb
         
     | 
| 
      
 236 
     | 
    
         
            +
            - spec/integration/an_interactor_with_before_perform_callbacks_spec.rb
         
     | 
| 
      
 237 
     | 
    
         
            +
            - spec/integration/an_organizer_performing_in_parallel_spec.rb
         
     | 
| 
      
 238 
     | 
    
         
            +
            - spec/integration/an_organizer_with_before_each_callbacks_spec.rb
         
     | 
| 
      
 239 
     | 
    
         
            +
            - spec/integration/an_interactor_with_an_existing_context_class_spec.rb
         
     | 
| 
      
 240 
     | 
    
         
            +
            - spec/integration/an_organizer_with_failing_nested_organizer_spec.rb
         
     | 
| 
      
 241 
     | 
    
         
            +
            - spec/integration/an_organizer_with_around_each_callbacks_spec.rb
         
     | 
| 
      
 242 
     | 
    
         
            +
            - spec/integration/an_interactor_with_before_rollback_callbacks_spec.rb
         
     | 
| 
      
 243 
     | 
    
         
            +
            - spec/integration/an_interactor_with_validations_on_called_spec.rb
         
     | 
| 
      
 244 
     | 
    
         
            +
            - spec/integration/an_interactor_with_validations_on_calling_spec.rb
         
     | 
| 
      
 245 
     | 
    
         
            +
            - spec/integration/an_organizer_with_conditionally_organized_interactors_spec.rb
         
     | 
| 
       242 
246 
     | 
    
         
             
            - spec/integration/an_interactor_with_after_rollback_callbacks_spec.rb
         
     | 
| 
      
 247 
     | 
    
         
            +
            - spec/integration/an_interactor_with_after_context_validation_callbacks_spec.rb
         
     | 
| 
       243 
248 
     | 
    
         
             
            - spec/integration/an_interactor_with_around_rollback_callbacks_spec.rb
         
     | 
| 
      
 249 
     | 
    
         
            +
            - spec/integration/a_failing_interactor_spec.rb
         
     | 
| 
       244 
250 
     | 
    
         
             
            - spec/integration/a_basic_interactor_spec.rb
         
     | 
| 
       245 
251 
     | 
    
         
             
            - spec/integration/an_interactor_with_validations_spec.rb
         
     | 
| 
       246 
     | 
    
         
            -
            - spec/integration/ 
     | 
| 
       247 
     | 
    
         
            -
            - spec/integration/an_organizer_with_failing_nested_organizer_spec.rb
         
     | 
| 
       248 
     | 
    
         
            -
            - spec/integration/a_basic_organizer_spec.rb
         
     | 
| 
       249 
     | 
    
         
            -
            - spec/integration/an_organizer_with_options_callbacks_spec.rb
         
     | 
| 
       250 
     | 
    
         
            -
            - spec/integration/an_interactor_with_an_existing_context_class_spec.rb
         
     | 
| 
      
 252 
     | 
    
         
            +
            - spec/integration/an_interactor_with_around_perform_callbacks_spec.rb
         
     | 
| 
       251 
253 
     | 
    
         
             
            - spec/integration/active_record_integration_spec.rb
         
     | 
| 
       252 
     | 
    
         
            -
            - spec/integration/an_interactor_with_validations_on_calling_spec.rb
         
     | 
| 
       253 
254 
     | 
    
         
             
            - spec/integration/an_interactor_with_after_perform_callbacks_spec.rb
         
     | 
| 
       254 
     | 
    
         
            -
            - spec/integration/ 
     | 
| 
       255 
     | 
    
         
            -
            - spec/ 
     | 
| 
       256 
     | 
    
         
            -
            - spec/ 
     | 
| 
       257 
     | 
    
         
            -
            - spec/ 
     | 
| 
       258 
     | 
    
         
            -
            - spec/ 
     | 
| 
       259 
     | 
    
         
            -
            - spec/ 
     | 
| 
       260 
     | 
    
         
            -
            - spec/ 
     | 
| 
       261 
     | 
    
         
            -
            - spec/ 
     | 
| 
       262 
     | 
    
         
            -
            - spec/ 
     | 
| 
       263 
     | 
    
         
            -
            - spec/ 
     | 
| 
       264 
     | 
    
         
            -
            - spec/ 
     | 
| 
       265 
     | 
    
         
            -
            - spec/active_interactor/ 
     | 
| 
      
 255 
     | 
    
         
            +
            - spec/integration/a_basic_organizer_spec.rb
         
     | 
| 
      
 256 
     | 
    
         
            +
            - spec/active_interactor_spec.rb
         
     | 
| 
      
 257 
     | 
    
         
            +
            - spec/support/shared_examples/a_class_with_organizer_callback_methods_example.rb
         
     | 
| 
      
 258 
     | 
    
         
            +
            - spec/support/shared_examples/a_class_with_interactor_context_methods_example.rb
         
     | 
| 
      
 259 
     | 
    
         
            +
            - spec/support/shared_examples/a_class_with_interactor_methods_example.rb
         
     | 
| 
      
 260 
     | 
    
         
            +
            - spec/support/shared_examples/a_class_with_interactor_callback_methods_example.rb
         
     | 
| 
      
 261 
     | 
    
         
            +
            - spec/support/shared_examples/a_class_that_extends_active_interactor_models_example.rb
         
     | 
| 
      
 262 
     | 
    
         
            +
            - spec/support/spec_helpers.rb
         
     | 
| 
      
 263 
     | 
    
         
            +
            - spec/support/coverage.rb
         
     | 
| 
      
 264 
     | 
    
         
            +
            - spec/support/helpers/factories.rb
         
     | 
| 
      
 265 
     | 
    
         
            +
            - spec/active_interactor/interactor/worker_spec.rb
         
     | 
| 
      
 266 
     | 
    
         
            +
            - spec/active_interactor/interactor/perform/options_spec.rb
         
     | 
| 
      
 267 
     | 
    
         
            +
            - spec/active_interactor/version_spec.rb
         
     | 
| 
       266 
268 
     | 
    
         
             
            - spec/active_interactor/organizer/interactor_interface_spec.rb
         
     | 
| 
       267 
269 
     | 
    
         
             
            - spec/active_interactor/organizer/interactor_interface_collection_spec.rb
         
     | 
| 
       268 
270 
     | 
    
         
             
            - spec/active_interactor/organizer/base_spec.rb
         
     | 
| 
       269 
271 
     | 
    
         
             
            - spec/active_interactor/config_spec.rb
         
     | 
| 
       270 
272 
     | 
    
         
             
            - spec/active_interactor/context/base_spec.rb
         
     | 
| 
       271 
     | 
    
         
            -
            - spec/active_interactor/ 
     | 
| 
       272 
     | 
    
         
            -
            - spec/active_interactor/interactor/worker_spec.rb
         
     | 
| 
       273 
     | 
    
         
            -
            - spec/active_interactor/version_spec.rb
         
     | 
| 
      
 273 
     | 
    
         
            +
            - spec/active_interactor/error_spec.rb
         
     | 
| 
       274 
274 
     | 
    
         
             
            - spec/active_interactor/base_spec.rb
         
     |