custom_query_methods 0.1.4 → 0.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 +4 -4
 - data/custom_query_methods-0.1.4.gem +0 -0
 - data/custom_query_methods-0.1.5.gem +0 -0
 - data/lib/custom_query_methods/active_record_extension.rb +1 -3
 - data/lib/custom_query_methods/railtie.rb +11 -0
 - data/lib/custom_query_methods/version.rb +1 -1
 - data/lib/custom_query_methods.rb +1 -0
 - metadata +4 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 964a480f2c501ac2a253957c35d6e39d3a10c2834dede6297d28eabe5f928105
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: cd4cbf511a444d3f0f1b9d0b8f8e5bdcdc2db1cd6a559e2273eda31bcd235934
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7e05304933a072a7c578728eca02edff47d597dac46a95739584f4a60c7ae10c83c33bbd977b2ae359c9129f43a6725fce1c2c7b3347cab17813d4bd5bd85aa8
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: cd30077473a31b08049d5ddd1370e3414f84d995bb10dd61e6fa62498a4de2c152564cb116e557dfaeff931e719ec2894bdc4477e1e8469d2cd69e3f2f7e4d71
         
     | 
| 
         Binary file 
     | 
| 
         Binary file 
     | 
| 
         @@ -0,0 +1,11 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            require_relative 'active_record_extension'
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module CustomQueryMethods
         
     | 
| 
      
 4 
     | 
    
         
            +
              class Railtie < Rails::Railtie
         
     | 
| 
      
 5 
     | 
    
         
            +
                initializer 'custom_query_methods.include_in_active_record' do
         
     | 
| 
      
 6 
     | 
    
         
            +
                  ActiveSupport.on_load :active_record do
         
     | 
| 
      
 7 
     | 
    
         
            +
                    ActiveRecord::Base.send(:include, CustomQueryMethods::ActiveRecordExtension)
         
     | 
| 
      
 8 
     | 
    
         
            +
                  end
         
     | 
| 
      
 9 
     | 
    
         
            +
                end
         
     | 
| 
      
 10 
     | 
    
         
            +
              end
         
     | 
| 
      
 11 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/custom_query_methods.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: custom_query_methods
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.6
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - tsotne
         
     | 
| 
         @@ -57,9 +57,12 @@ files: 
     | 
|
| 
       57 
57 
     | 
    
         
             
            - custom_query_methods-0.1.1.gem
         
     | 
| 
       58 
58 
     | 
    
         
             
            - custom_query_methods-0.1.2.gem
         
     | 
| 
       59 
59 
     | 
    
         
             
            - custom_query_methods-0.1.3.gem
         
     | 
| 
      
 60 
     | 
    
         
            +
            - custom_query_methods-0.1.4.gem
         
     | 
| 
      
 61 
     | 
    
         
            +
            - custom_query_methods-0.1.5.gem
         
     | 
| 
       60 
62 
     | 
    
         
             
            - custom_query_methods.gemspec
         
     | 
| 
       61 
63 
     | 
    
         
             
            - lib/custom_query_methods.rb
         
     | 
| 
       62 
64 
     | 
    
         
             
            - lib/custom_query_methods/active_record_extension.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - lib/custom_query_methods/railtie.rb
         
     | 
| 
       63 
66 
     | 
    
         
             
            - lib/custom_query_methods/version.rb
         
     | 
| 
       64 
67 
     | 
    
         
             
            homepage: http://example.com
         
     | 
| 
       65 
68 
     | 
    
         
             
            licenses:
         
     |