barking_iguana-compound 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 782a866b326abf184c9162aa9bdc809eccac06ec
4
- data.tar.gz: c687db95a7f2f3e6b27319f1f984f630764eefb0
3
+ metadata.gz: 1695c5773e4e5dd661eed49427a063507370c735
4
+ data.tar.gz: 1a1410509e1ce0fbbd67af8a81b40118584ca339
5
5
  SHA512:
6
- metadata.gz: 3ccb56d7df5ea74e60c6d6d75212d7961c38933e1fa526b2b6efee21a8b06952fcd4e65dd4f40ee1f786b3547c1f37c90e6d330f073b1db9b22427cc73272f3a
7
- data.tar.gz: 783f362384a91262ea0a08166b24bf3b3233790473e92816a7ebdbf8f6a133b556f3bd804f04c6d1b7e09539b69434ef45a1acd822b0d97c347e84fe3374b0d9
6
+ metadata.gz: c093006bfc362f1543db2a512ccfb6d2fe92b36915f1664cc863a8a7ae87ce0a1d9c57a4b543b1c5a8f0d49e67863fa015e3b721469050f50d1e2b75b32e8fba
7
+ data.tar.gz: 93eedceac7b96478389bdf0c3c610fec71ec8d85e00210cb71f350a9dbec4b643429815f35fa19437c8697deb1746078b61540e197eb573687ca4bacbeca1399
data/docs/CHANGELOG.md CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  Entries are in reverse chronological order.
4
4
 
5
- ## *0.1.9* (Current Development)
5
+ ## *0.1.10* (Current Development)
6
6
 
7
7
  Add release notes here, as things are added to the project.
8
8
 
9
+ ## *0.1.9* (2017-01-12)
10
+
11
+ * Only generate per-stage per-action tasks if the ENV variable `DEBUG` is set
12
+ (to anything that's not the empty string).
13
+
9
14
  ## *0.1.8* (2017-01-08)
10
15
 
11
16
  * Clean up the generated inventory after the test has run.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../
3
3
  specs:
4
- barking_iguana-compound (0.1.7)
4
+ barking_iguana-compound (0.1.8)
5
5
  ansible_spec
6
6
  barking_iguana-benchmark
7
7
  barking_iguana-logging
@@ -19,8 +19,8 @@ GEM
19
19
  oj
20
20
  serverspec (>= 2.0.0)
21
21
  winrm
22
- barking_iguana-benchmark (0.1.0)
23
- barking_iguana-logging (0.1.5)
22
+ barking_iguana-benchmark (0.1.1)
23
+ barking_iguana-logging (0.1.6)
24
24
  barking_iguana-otk
25
25
  term-ansicolor
26
26
  barking_iguana-otk (0.1.0)
@@ -99,4 +99,4 @@ DEPENDENCIES
99
99
  rake
100
100
 
101
101
  BUNDLED WITH
102
- 1.13.6
102
+ 1.13.7
@@ -15,23 +15,29 @@ module BarkingIguana
15
15
  test.run
16
16
  end.add_description "Run #{test.name} test from #{name} suite"
17
17
 
18
- test.stages.each do |stage|
19
- Rake::Task.define_task "#{name}:#{test.name}:#{stage.name}" do
20
- stage.run
21
- end.add_description "Run #{stage.name} stage of the #{test.name} test from #{name} suite"
22
- stage.actions.each do |action|
23
- Rake::Task.define_task "#{name}:#{test.name}:#{stage.name}:#{action}" do
24
- stage.public_send action
25
- end.add_description "Run action #{action} for #{stage.name} stage of the #{test.name} test from #{name} suite"
18
+ if debug?
19
+ test.stages.each do |stage|
20
+ Rake::Task.define_task "#{name}:#{test.name}:#{stage.name}" do
21
+ stage.run
22
+ end.add_description "Run #{stage.name} stage of the #{test.name} test from #{name} suite"
23
+ stage.actions.each do |action|
24
+ Rake::Task.define_task "#{name}:#{test.name}:#{stage.name}:#{action}" do
25
+ stage.public_send action
26
+ end.add_description "Run action #{action} for #{stage.name} stage of the #{test.name} test from #{name} suite"
27
+ end
26
28
  end
27
- end
28
29
 
29
- Rake::Task.define_task "#{name}:#{test.name}:destroy" do
30
- test.teardown
31
- end.add_description "Tear down #{test.name} test from #{name} suite"
30
+ Rake::Task.define_task "#{name}:#{test.name}:destroy" do
31
+ test.teardown
32
+ end.add_description "Tear down #{test.name} test from #{name} suite"
33
+ end
32
34
  end
33
35
  end
34
36
 
37
+ def debug?
38
+ ENV['DEBUG'].to_s != ''
39
+ end
40
+
35
41
  attr_accessor :control_directory
36
42
  private :control_directory=
37
43
 
@@ -1,5 +1,5 @@
1
1
  module BarkingIguana
2
2
  module Compound
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barking_iguana-compound
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig R Webster
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-08 00:00:00.000000000 Z
11
+ date: 2017-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  version: '0'
232
232
  requirements: []
233
233
  rubyforge_project:
234
- rubygems_version: 2.4.5.1
234
+ rubygems_version: 2.5.2
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: Compound testing of Ansible playbooks