antsy 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/antsy.rb +4 -0
- data/lib/antsy/version.rb +1 -1
- data/spec/antsy_spec.rb +5 -0
- metadata +2 -2
data/lib/antsy.rb
CHANGED
data/lib/antsy/version.rb
CHANGED
data/spec/antsy_spec.rb
CHANGED
@@ -26,4 +26,9 @@ describe Antsy do
|
|
26
26
|
capture_stdout { Antsy.no_change! }.chomp.should == {changed: false}.to_json
|
27
27
|
lambda { Antsy.no_change! }.should exit_with_code 0
|
28
28
|
end
|
29
|
+
|
30
|
+
it 'should emit skipped and exit success' do
|
31
|
+
capture_stdout { Antsy.skipped! }.chomp.should == {skipped: true, changed: false, msg: ''}.to_json
|
32
|
+
lambda { Antsy.skipped! }.should exit_with_code 0
|
33
|
+
end
|
29
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antsy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
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-
|
12
|
+
date: 2013-10-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|