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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd5f7726a433dc1feba13bbe11a573bffd341122
4
- data.tar.gz: 75ff10a192573273b4a09d0d5052c1510f4b51bd
3
+ metadata.gz: 1cc956b24d2d2b7589b317540e49424a9e948376
4
+ data.tar.gz: 311d8721a56e4890f6aa8ae8435019ce2a4e0bd4
5
5
  SHA512:
6
- metadata.gz: d49ed2a50832e23ba62d59d96bc96b18d1d22e9b8af5d95ad35e3bd446cbd171d8a7a71385cb5d235bea5ded61573889f19732e3d88519bc7257f588526d0bc2
7
- data.tar.gz: ac8a342022a0f022ff1c35feea8459be9560ade8b5f3e5175933bb2b57723d43f3504d351c6d8fd98148bad01e71c9d7be6e2ebf1fd60d72f4276a6a7b4581f6
6
+ metadata.gz: aae01890baec5c186e1654c6040a569098a799753a5fbeac8bbfd06dc42d72ad81d4925c646a8a0905257b84a83f0a7fc068530fc6c6fe4637251bf45a6e21a5
7
+ data.tar.gz: 85b5eb7913f382bd0200eb7c6655eb71ea0c6dd89cbcdec330b94a38630d9efe735b180b23c603285c2638a02d79f4296a7a776ae8ee44da1cc7ea2a1f0c6721
@@ -68,7 +68,7 @@ module CLIntegracon
68
68
  # @return [Bool]
69
69
  #
70
70
  def respond_to?(method)
71
- if /^describe_/.match(method) && @formatter.respond_to?(method)
71
+ if /^describe_/.match(method.to_s) && @formatter.respond_to?(method)
72
72
  true
73
73
  else
74
74
  super
@@ -1,3 +1,3 @@
1
1
  module CLIntegracon
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
@@ -7,7 +7,7 @@ describe CLIntegracon::Formatter do
7
7
  end
8
8
 
9
9
  before do
10
- @spec = stub('Spec', spec_folder: '$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: '$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.1
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-10 00:00:00.000000000 Z
11
+ date: 2014-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler