activekit 0.2.3.dev3 → 0.2.3.dev4
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/lib/active_kit/base/ensure.rb +0 -4
 - data/lib/active_kit/base/middleware.rb +3 -1
 - data/lib/active_kit/version.rb +1 -1
 - metadata +6 -6
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 62f5b0538c0eb5994bdb8aeb913c33e8a15dcc65c8f2c39ce2e090cfebc783e1
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6ba99ac12be26299974e57b32f4a66b36fb1ab169cd5ebbb47c5b411a1d07a31
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: b3e3f6176fab57d7c4cf3e417c18332d14d74c1ec0402236d4966f4875020f418e0adb8153b7d7ce413b95f9a3248e7113c94ca326e48633a0a15234b2ae9f23
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 03665e96860846157d569c5df192000f3be9d87c76a4272841a0076f7594f10cdac9d465696f8633108c78df5f9a54bcd4938e4bc195b23bb143790338f8a274
         
     | 
| 
         @@ -1,10 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            module ActiveKit
         
     | 
| 
       2 
2 
     | 
    
         
             
              module Base
         
     | 
| 
       3 
3 
     | 
    
         
             
                class Ensure
         
     | 
| 
       4 
     | 
    
         
            -
                  def self.middleware_for!(request:)
         
     | 
| 
       5 
     | 
    
         
            -
                    ActiveKit::Schedule::Middleware.run(request: request)
         
     | 
| 
       6 
     | 
    
         
            -
                  end
         
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
4 
     | 
    
         
             
                  def self.setup_for!(current_class:)
         
     | 
| 
       9 
5 
     | 
    
         
             
                    current_class.class_eval do
         
     | 
| 
       10 
6 
     | 
    
         
             
                      unless self.reflect_on_association :activekit_association
         
     | 
| 
         @@ -16,8 +16,10 @@ module ActiveKit 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
                  private
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
      
 19 
     | 
    
         
            +
                  # Here constantize is used to get the latest reloaded class as per the below link.
         
     | 
| 
      
 20 
     | 
    
         
            +
                  # https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#use-case-3-configure-application-classes-for-engines
         
     | 
| 
       19 
21 
     | 
    
         
             
                  def activekit_runner(request, &blk)
         
     | 
| 
       20 
     | 
    
         
            -
                     
     | 
| 
      
 22 
     | 
    
         
            +
                    "ActiveKit::Schedule::Middleware".constantize.run(request: request)
         
     | 
| 
       21 
23 
     | 
    
         | 
| 
       22 
24 
     | 
    
         
             
                    yield
         
     | 
| 
       23 
25 
     | 
    
         
             
                  end
         
     | 
    
        data/lib/active_kit/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: activekit
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.3.dev4
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - plainsource
         
     | 
| 
         @@ -30,7 +30,7 @@ dependencies: 
     | 
|
| 
       30 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: 6.1.3.1
         
     | 
| 
       33 
     | 
    
         
            -
            description:  
     | 
| 
      
 33 
     | 
    
         
            +
            description: The essential kit for rails ActiveRecord models.
         
     | 
| 
       34 
34 
     | 
    
         
             
            email:
         
     | 
| 
       35 
35 
     | 
    
         
             
            - plainsource@humanmind.me
         
     | 
| 
       36 
36 
     | 
    
         
             
            executables: []
         
     | 
| 
         @@ -70,11 +70,11 @@ files: 
     | 
|
| 
       70 
70 
     | 
    
         
             
            - lib/active_kit/version.rb
         
     | 
| 
       71 
71 
     | 
    
         
             
            - lib/activekit.rb
         
     | 
| 
       72 
72 
     | 
    
         
             
            - lib/tasks/active_kit_tasks.rake
         
     | 
| 
       73 
     | 
    
         
            -
            homepage: https:// 
     | 
| 
      
 73 
     | 
    
         
            +
            homepage: https://github.com/plainsource/activekit
         
     | 
| 
       74 
74 
     | 
    
         
             
            licenses:
         
     | 
| 
       75 
75 
     | 
    
         
             
            - MIT
         
     | 
| 
       76 
76 
     | 
    
         
             
            metadata:
         
     | 
| 
       77 
     | 
    
         
            -
              homepage_uri: https:// 
     | 
| 
      
 77 
     | 
    
         
            +
              homepage_uri: https://github.com/plainsource/activekit
         
     | 
| 
       78 
78 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       79 
79 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       80 
80 
     | 
    
         
             
            require_paths:
         
     | 
| 
         @@ -93,6 +93,6 @@ requirements: [] 
     | 
|
| 
       93 
93 
     | 
    
         
             
            rubygems_version: 3.1.2
         
     | 
| 
       94 
94 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       95 
95 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       96 
     | 
    
         
            -
            summary: ActiveKit adds  
     | 
| 
       97 
     | 
    
         
            -
               
     | 
| 
      
 96 
     | 
    
         
            +
            summary: ActiveKit adds useful day-to-day features to ActiveRecord to help make life
         
     | 
| 
      
 97 
     | 
    
         
            +
              easy.
         
     | 
| 
       98 
98 
     | 
    
         
             
            test_files: []
         
     |