active_object 5.5.3 → 5.6.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/README.md +9 -0
 - data/lib/active_object/hash.rb +4 -0
 - data/lib/active_object/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 3d4c319f74340cd5dcb854ca08833069db2c9e16698690fb8f3701d98dfd57d5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6eba876db899b4c6583277c23f4e399e9af290f74b7fc434142f8c27fdb8b812
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 52f7e285daf326b42c0b930bb310f49947bc5380f7ddc70bc7e1e86ee784c2621c97f0dc11138c5a832c78cd953854ed11fc2cce2c84c8c9ed34e9ab572a546c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 34111f1419b6d13785c3484ff9f3c7b7faf51d3fa5a9c77bc9c2213b274873fa3f9b604f3b05239b99b5b5cc11d273f3111c3078047bc52bbabc68238f879da2
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -816,6 +816,15 @@ h.slice!(:a, :b) #=> { c: 3, d: 4 } 
     | 
|
| 
       816 
816 
     | 
    
         
             
            { foo: 'bar', baz: 'boo' }.transform_values { |v| v.to_s.upcase } #=> {foo: 'BAR', baz: 'BOO' }
         
     | 
| 
       817 
817 
     | 
    
         
             
            ```
         
     | 
| 
       818 
818 
     | 
    
         | 
| 
      
 819 
     | 
    
         
            +
            **Vacant:**
         
     | 
| 
      
 820 
     | 
    
         
            +
            `vacant?` returns where the value of a key is blank?.
         
     | 
| 
      
 821 
     | 
    
         
            +
             
     | 
| 
      
 822 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 823 
     | 
    
         
            +
            {}.vacant?(:foo)             #=> true
         
     | 
| 
      
 824 
     | 
    
         
            +
            { foo: ' ' }.vacant?(:foo)   #=> true
         
     | 
| 
      
 825 
     | 
    
         
            +
            { foo: 'bar' }.vacant?(:foo) #=> false
         
     | 
| 
      
 826 
     | 
    
         
            +
            ```
         
     | 
| 
      
 827 
     | 
    
         
            +
             
     | 
| 
       819 
828 
     | 
    
         
             
            ## Integer
         
     | 
| 
       820 
829 
     | 
    
         | 
| 
       821 
830 
     | 
    
         
             
            **Factorial:**
         
     | 
    
        data/lib/active_object/hash.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: active_object
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 5. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 5.6.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Juan Gomez
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2018- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2018-10-27 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     |