guard-tap 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +3 -0
- data/README.md +1 -1
- data/lib/guard/tap/runner.rb +1 -1
- data/lib/guard/tap/version.rb +1 -1
- data/spec/guard/tap/runner_spec.rb +15 -0
- metadata +5 -4
data/.travis.yml
ADDED
data/README.md
CHANGED
data/lib/guard/tap/runner.rb
CHANGED
data/lib/guard/tap/version.rb
CHANGED
@@ -16,6 +16,21 @@ describe Guard::Tap::Runner do
|
|
16
16
|
it 'returns false when failed' do
|
17
17
|
runner.run('undefined_method').should == false
|
18
18
|
end
|
19
|
+
|
20
|
+
it 'handles ok' do
|
21
|
+
runner.should_not_receive(:notify_error)
|
22
|
+
runner.run('echo ok 1')
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'handles not ok' do
|
26
|
+
runner.should_receive(:notify_error).with(/^not ok 1/)
|
27
|
+
runner.run('echo not ok 1')
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'handles not ok (TODO)' do
|
31
|
+
runner.should_not_receive(:notify_error)
|
32
|
+
runner.run('echo not ok 1 # TODO')
|
33
|
+
end
|
19
34
|
end
|
20
35
|
|
21
36
|
describe '#notify' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-tap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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-05-
|
12
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -115,6 +115,7 @@ extensions: []
|
|
115
115
|
extra_rdoc_files: []
|
116
116
|
files:
|
117
117
|
- .gitignore
|
118
|
+
- .travis.yml
|
118
119
|
- Gemfile
|
119
120
|
- Guardfile
|
120
121
|
- LICENSE.txt
|
@@ -143,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
144
|
version: '0'
|
144
145
|
segments:
|
145
146
|
- 0
|
146
|
-
hash:
|
147
|
+
hash: -2727751619342173521
|
147
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
149
|
none: false
|
149
150
|
requirements:
|
@@ -152,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
153
|
version: '0'
|
153
154
|
segments:
|
154
155
|
- 0
|
155
|
-
hash:
|
156
|
+
hash: -2727751619342173521
|
156
157
|
requirements: []
|
157
158
|
rubyforge_project:
|
158
159
|
rubygems_version: 1.8.25
|