eyes_selenium 1.13.0 → 1.14.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.
| 
         @@ -57,11 +57,13 @@ class Applitools::Utils::ImageDeltaCompressor 
     | 
|
| 
       57 
57 
     | 
    
         
             
                        string_to_compress = [channel].pack('C')
         
     | 
| 
       58 
58 
     | 
    
         
             
                        string_to_compress += [block_number].pack('L>')
         
     | 
| 
       59 
59 
     | 
    
         
             
                        string_to_compress += channel_bytes.pack('C*')
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
       60 
61 
     | 
    
         
             
                        compression_result += compressor.deflate(string_to_compress)
         
     | 
| 
       61 
62 
     | 
    
         | 
| 
       62 
63 
     | 
    
         
             
                        # If the compressed data so far is greater than the uncompressed
         
     | 
| 
       63 
64 
     | 
    
         
             
                        # representation of the target, just return the target.
         
     | 
| 
       64 
65 
     | 
    
         
             
                        if compression_result.length > target_encoded.length
         
     | 
| 
      
 66 
     | 
    
         
            +
            	      compressor.finish
         
     | 
| 
       65 
67 
     | 
    
         
             
                          compressor.close
         
     | 
| 
       66 
68 
     | 
    
         
             
                          # Returning a COPY of the target bytes
         
     | 
| 
       67 
69 
     | 
    
         
             
                          return String.new(target_encoded)
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: eyes_selenium
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.14.0
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2013-11- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2013-11-21 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: selenium-webdriver
         
     | 
| 
         @@ -203,7 +203,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       203 
203 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       204 
204 
     | 
    
         
             
                  segments:
         
     | 
| 
       205 
205 
     | 
    
         
             
                  - 0
         
     | 
| 
       206 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 206 
     | 
    
         
            +
                  hash: -48895928090224214
         
     | 
| 
       207 
207 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       208 
208 
     | 
    
         
             
              none: false
         
     | 
| 
       209 
209 
     | 
    
         
             
              requirements:
         
     | 
| 
         @@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       212 
212 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       213 
213 
     | 
    
         
             
                  segments:
         
     | 
| 
       214 
214 
     | 
    
         
             
                  - 0
         
     | 
| 
       215 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 215 
     | 
    
         
            +
                  hash: -48895928090224214
         
     | 
| 
       216 
216 
     | 
    
         
             
            requirements: []
         
     | 
| 
       217 
217 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       218 
218 
     | 
    
         
             
            rubygems_version: 1.8.25
         
     |