puppet-henchman 0.1.0 → 0.1.1

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: c5783240c550c5400d7fa7af55509cd468626303
4
- data.tar.gz: e5e7e5ba4faeb2322655e438729021b18f40426c
3
+ metadata.gz: 7b79e220d9f0c8752719575ee9b0570955f3d730
4
+ data.tar.gz: ad5099142c8aadebfd0ad954013027f131e2e06f
5
5
  SHA512:
6
- metadata.gz: eca27b267728cdaf2e5a10a0cc1ae077b0c17ce34c3d3c7607989f3df7e659925ba26f878c322b3297a3c5dbf8df6b103047b9a7a14a472edd014375032b5320
7
- data.tar.gz: cab03a8e0b7a34b6598703fca81465c2748091d76e7ff4ca077fdf96c18d7b9a37f45c67d5ff83e4df910e6bc25df8e0a3c11b1408750b4ad233b499ab86669d
6
+ metadata.gz: 00407d9c61f2ba650cf94e59f4d07ec39b9f853098d8324641f9789c65ba2f2df274cfeefe3d48199c5f38b05d08ee77c7112549215ef3a029cae178bfef7745
7
+ data.tar.gz: 33e2ecbe5aa98c6d31895070425683992b38113c24b76bed81c38abc6b50f6661b65ddb0476326ffc13f8b3ac71f43816420a3bb9ae3d2fb12aafa4ad7ec42fd
@@ -1,6 +1,6 @@
1
1
  module Henchman
2
2
  NAME = 'puppet-henchman'.freeze
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
 
5
5
  def self.name
6
6
  NAME
data/lib/henchman/rake.rb CHANGED
@@ -215,12 +215,12 @@ namespace :spec do
215
215
  task manual: ['spec:prep', 'spec:unit:clean']
216
216
  end
217
217
 
218
- task :integration, [:destroy] do |_t, args|
219
- if args[:destroy]
220
- case args[:destroy].downcase
218
+ task :integration do
219
+ if ENV.has_key?('DESTROY')
220
+ case ENV['DESTROY'].downcase
221
221
  when 'never', 'no'
222
222
  destroy_opt = :never
223
- when 'always', 'yes',
223
+ when 'always', 'yes'
224
224
  destroy_opt = :always
225
225
  else
226
226
  destroy_opt = :passing
@@ -228,6 +228,7 @@ namespace :spec do
228
228
  else
229
229
  destroy_opt = :passing
230
230
  end
231
+ puts "Kitchen destroy strategy set to '#{destroy_opt}'"
231
232
  Kitchen.logger = Kitchen.default_file_logger
232
233
  Kitchen::Config.new.instances.each do |i|
233
234
  i.test(destroy_opt)
@@ -263,7 +264,7 @@ task unit: 'spec:unit'
263
264
 
264
265
  # Alias for spec:integration
265
266
  desc 'Run integration tests'
266
- task :integration, [:destroy] => 'spec:integration'
267
+ task integration: 'spec:integration'
267
268
 
268
269
  namespace :integration do
269
270
  # Alias for spec:integration:manual
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-henchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Wesolowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-07 00:00:00.000000000 Z
11
+ date: 2016-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop