libraries 0.1.0 → 0.1.1
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.
- data/lib/libraries/hash.rb +1 -1
 - data/lib/libraries/version.rb +1 -1
 - data/spec/libraries/hash_spec.rb +4 -0
 - metadata +4 -4
 
    
        data/lib/libraries/hash.rb
    CHANGED
    
    
    
        data/lib/libraries/version.rb
    CHANGED
    
    
    
        data/spec/libraries/hash_spec.rb
    CHANGED
    
    | 
         @@ -141,6 +141,10 @@ describe Hash do 
     | 
|
| 
       141 
141 
     | 
    
         
             
                  source_hash.rename_keys! :a => :b, 1 => 2, -1 => -2, "a" => "b"
         
     | 
| 
       142 
142 
     | 
    
         
             
                  source_hash.should == {:b => "Symbol", 2 => "Integer", -2 => 100, "b" => "Text"}
         
     | 
| 
       143 
143 
     | 
    
         
             
                end
         
     | 
| 
      
 144 
     | 
    
         
            +
                it "does not affect destination keys if sources keys do not exist" do
         
     | 
| 
      
 145 
     | 
    
         
            +
                  source_hash.rename_keys! :b => :a, 3 => 1, -1 => -37, "a" => "z", 99 => :x
         
     | 
| 
      
 146 
     | 
    
         
            +
                  source_hash.should == {:a => "Symbol", 1 => "Integer", -37 => 100, "z" => "Text"}
         
     | 
| 
      
 147 
     | 
    
         
            +
                end
         
     | 
| 
       144 
148 
     | 
    
         
             
              end
         
     | 
| 
       145 
149 
     | 
    
         | 
| 
       146 
150 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: libraries
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 25
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 1
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.1.1
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - On-Site.com
         
     | 
| 
         @@ -15,7 +15,7 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2010-11- 
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2010-11-02 00:00:00 -07:00
         
     | 
| 
       19 
19 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       20 
20 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       21 
21 
     | 
    
         |