c3d 0.4.16 → 0.4.17
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/c3d/actors/assemble.rb +3 -2
 - data/lib/c3d/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: b963cb876d124baf5649e221683f27aec7b77fd5
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 6d33e756f9e4da0fe688dc01e9388dbd7e27200f
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: cd6a293e7c4978f84d84cb79059bc150bf840a4259a9a1feba727483248de726dcfdc6f76ac28ef2b6de8f4861c9955cd76c3cf03c1e6392460dace8b419dc2a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 16fb6417e38c3bc25e5727050e6a0f9948200c1b1ea35fd3debcdefa23d6ff1d852e8519b778bdc4a1bef9209217f1f4f513c96ef9568eb17a342ebd1d55ff77
         
     | 
    
        data/lib/c3d/actors/assemble.rb
    CHANGED
    
    | 
         @@ -4,7 +4,7 @@ module C3D 
     | 
|
| 
       4 
4 
     | 
    
         
             
              class Assemble
         
     | 
| 
       5 
5 
     | 
    
         
             
                attr_reader :content
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
     | 
    
         
            -
                def initialize contract
         
     | 
| 
      
 7 
     | 
    
         
            +
                def initialize contract, blob_free=false
         
     | 
| 
       8 
8 
     | 
    
         
             
                  @content = []
         
     | 
| 
       9 
9 
     | 
    
         
             
                  assemble_and_perform_queries contract
         
     | 
| 
       10 
10 
     | 
    
         
             
                end
         
     | 
| 
         @@ -36,9 +36,10 @@ module C3D 
     | 
|
| 
       36 
36 
     | 
    
         
             
                    if can_we_get_the_k? contract
         
     | 
| 
       37 
37 
     | 
    
         
             
                      group = {}
         
     | 
| 
       38 
38 
     | 
    
         
             
                      group[:prev] = send_query contract, '0x19'
         
     | 
| 
       39 
     | 
    
         
            -
                      until group[:prev] == '0x30'
         
     | 
| 
      
 39 
     | 
    
         
            +
                      until group[:prev] == '0x30' || group[:prev] == nil || group[:prev] == '0x'
         
     | 
| 
       40 
40 
     | 
    
         
             
                        group = get_the_group contract, group[:prev]
         
     | 
| 
       41 
41 
     | 
    
         
             
                        get_the_blob group[:blob], group[:this] if group[:blob]
         
     | 
| 
      
 42 
     | 
    
         
            +
                        @content << { contract => "content cannot be shown." } if @blob_free
         
     | 
| 
       42 
43 
     | 
    
         
             
                      end
         
     | 
| 
       43 
44 
     | 
    
         
             
                    end
         
     | 
| 
       44 
45 
     | 
    
         
             
                  end
         
     | 
    
        data/lib/c3d/version.rb
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            VERSION ||= "0.4. 
     | 
| 
      
 1 
     | 
    
         
            +
            VERSION ||= "0.4.17"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: c3d
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.4. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.4.17
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Casey Kuhlman
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2014-06- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2014-06-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: httparty
         
     |