clintegracon 0.5.1 → 0.5.2
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/CLIntegracon/formatter.rb +1 -1
 - data/lib/CLIntegracon/version.rb +1 -1
 - data/spec/unit/formatter_spec.rb +5 -5
 - 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: 1cc956b24d2d2b7589b317540e49424a9e948376
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 311d8721a56e4890f6aa8ae8435019ce2a4e0bd4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: aae01890baec5c186e1654c6040a569098a799753a5fbeac8bbfd06dc42d72ad81d4925c646a8a0905257b84a83f0a7fc068530fc6c6fe4637251bf45a6e21a5
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 85b5eb7913f382bd0200eb7c6655eb71ea0c6dd89cbcdec330b94a38630d9efe735b180b23c603285c2638a02d79f4296a7a776ae8ee44da1cc7ea2a1f0c6721
         
     | 
    
        data/lib/CLIntegracon/version.rb
    CHANGED
    
    
    
        data/spec/unit/formatter_spec.rb
    CHANGED
    
    | 
         @@ -7,7 +7,7 @@ describe CLIntegracon::Formatter do 
     | 
|
| 
       7 
7 
     | 
    
         
             
              end
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
       9 
9 
     | 
    
         
             
              before do
         
     | 
| 
       10 
     | 
    
         
            -
                @spec = stub('Spec', spec_folder 
     | 
| 
      
 10 
     | 
    
         
            +
                @spec = stub('Spec', :spec_folder => '$spec_folder')
         
     | 
| 
       11 
11 
     | 
    
         
             
              end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
              describe "#initialize" do
         
     | 
| 
         @@ -54,7 +54,7 @@ EOS 
     | 
|
| 
       54 
54 
     | 
    
         
             
                describe "#describe_file_diff" do
         
     | 
| 
       55 
55 
     | 
    
         
             
                  it 'should match the expected return value' do
         
     | 
| 
       56 
56 
     | 
    
         
             
                    diff = ['$before', '+ $add', '- $removed', '$after']
         
     | 
| 
       57 
     | 
    
         
            -
                    diff.stubs(relative_path 
     | 
| 
      
 57 
     | 
    
         
            +
                    diff.stubs(:relative_path => '$relative_path')
         
     | 
| 
       58 
58 
     | 
    
         
             
                    @formatter.describe_file_diff(diff, 20).to_s.should.be.eql? <<-EOS
         
     | 
| 
       59 
59 
     | 
    
         
             
            File comparison error `$relative_path` for $spec_folder:
         
     | 
| 
       60 
60 
     | 
    
         
             
            --- DIFF -----------
         
     | 
| 
         @@ -99,7 +99,7 @@ EOS 
     | 
|
| 
       99 
99 
     | 
    
         
             
                describe '#describe_missing_file' do
         
     | 
| 
       100 
100 
     | 
    
         
             
                  it 'should not call the method immediately' do
         
     | 
| 
       101 
101 
     | 
    
         
             
                    @formatter.expects(:describe_missing_file).never
         
     | 
| 
       102 
     | 
    
         
            -
                    @formatter.lazy.describe_missing_file('a')
         
     | 
| 
      
 102 
     | 
    
         
            +
                    @formatter.lazy.describe_missing_file('a') \
         
     | 
| 
       103 
103 
     | 
    
         
             
                      .should.be.an.instance_of?(CLIntegracon::LazyString)
         
     | 
| 
       104 
104 
     | 
    
         
             
                  end
         
     | 
| 
       105 
105 
     | 
    
         
             
                end
         
     | 
| 
         @@ -107,7 +107,7 @@ EOS 
     | 
|
| 
       107 
107 
     | 
    
         
             
                describe "#describe_unexpected_files" do
         
     | 
| 
       108 
108 
     | 
    
         
             
                  it 'should not call the method immediately' do
         
     | 
| 
       109 
109 
     | 
    
         
             
                    @formatter.expects(:describe_unexpected_files).never
         
     | 
| 
       110 
     | 
    
         
            -
                    @formatter.lazy.describe_unexpected_files(['a', 'b'])
         
     | 
| 
      
 110 
     | 
    
         
            +
                    @formatter.lazy.describe_unexpected_files(['a', 'b']) \
         
     | 
| 
       111 
111 
     | 
    
         
             
                      .should.be.an.instance_of?(CLIntegracon::LazyString)
         
     | 
| 
       112 
112 
     | 
    
         
             
                  end
         
     | 
| 
       113 
113 
     | 
    
         
             
                end
         
     | 
| 
         @@ -115,7 +115,7 @@ EOS 
     | 
|
| 
       115 
115 
     | 
    
         
             
                describe "#describe_file_diff" do
         
     | 
| 
       116 
116 
     | 
    
         
             
                  it 'should not call the method immediately' do
         
     | 
| 
       117 
117 
     | 
    
         
             
                    @formatter.expects(:describe_missing_file).never
         
     | 
| 
       118 
     | 
    
         
            -
                    @formatter.lazy.describe_file_diff(stub('Diff'))
         
     | 
| 
      
 118 
     | 
    
         
            +
                    @formatter.lazy.describe_file_diff(stub('Diff')) \
         
     | 
| 
       119 
119 
     | 
    
         
             
                      .should.be.an.instance_of?(CLIntegracon::LazyString)
         
     | 
| 
       120 
120 
     | 
    
         
             
                  end
         
     | 
| 
       121 
121 
     | 
    
         
             
                end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: clintegracon
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.5. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.5.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Marius Rackwitz
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2014-08- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2014-08-11 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     |