rndb 0.3.0 → 0.3.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.
- checksums.yaml +4 -4
 - data/VERSION +1 -1
 - data/lib/rndb/table.rb +1 -0
 - data/rndb.gemspec +2 -2
 - data/spec/rn_db/database_spec.rb +2 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: fd10fd5573a899699030ae377d1ccfca9b0bf450d2ee26bd561c32853d5f395e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: b9087efc501f55a90b5c95291d61455fadb096453a61cb7a975e043bec47224c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7ab1cf2b0e5bba6fdad0866a12c3002f78b0c8c59c88601eabc8f8bc17177477e7e34caf757d81bb92a19b20902c84c85c7774028283805869f1fdc13b9b3ca9
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 54eb42f3ab9754999048288610207b85223ff0ac45cbe376da8357232c5fdf136fd789bde422173ed8c68de38d423ca6d82d90064b8db685c32be5e60b5cca8c
         
     | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.3. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.3.1
         
     | 
    
        data/lib/rndb/table.rb
    CHANGED
    
    
    
        data/rndb.gemspec
    CHANGED
    
    | 
         @@ -2,11 +2,11 @@ 
     | 
|
| 
       2 
2 
     | 
    
         
             
            # DO NOT EDIT THIS FILE DIRECTLY
         
     | 
| 
       3 
3 
     | 
    
         
             
            # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
         
     | 
| 
       4 
4 
     | 
    
         
             
            # -*- encoding: utf-8 -*-
         
     | 
| 
       5 
     | 
    
         
            -
            # stub: rndb 0.3. 
     | 
| 
      
 5 
     | 
    
         
            +
            # stub: rndb 0.3.1 ruby lib
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       8 
8 
     | 
    
         
             
              s.name = "rndb".freeze
         
     | 
| 
       9 
     | 
    
         
            -
              s.version = "0.3. 
     | 
| 
      
 9 
     | 
    
         
            +
              s.version = "0.3.1"
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
         
     | 
| 
       12 
12 
     | 
    
         
             
              s.require_paths = ["lib".freeze]
         
     | 
    
        data/spec/rn_db/database_spec.rb
    CHANGED
    
    | 
         @@ -29,8 +29,9 @@ describe RnDB::Database do 
     | 
|
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         
             
              it "allows columns to be mutated" do
         
     | 
| 
       31 
31 
     | 
    
         
             
                ball = Ball.sample.first
         
     | 
| 
      
 32 
     | 
    
         
            +
                ball.to_h
         
     | 
| 
       32 
33 
     | 
    
         
             
                ball.colour = "purple"
         
     | 
| 
       33 
     | 
    
         
            -
                expect( 
     | 
| 
      
 34 
     | 
    
         
            +
                expect(ball.colour).to eq("purple")
         
     | 
| 
       34 
35 
     | 
    
         
             
              end
         
     | 
| 
       35 
36 
     | 
    
         | 
| 
       36 
37 
     | 
    
         
             
              it "can load mutated state" do
         
     |