poise-boiler 1.1.1 → 1.1.2

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: ab3e61e0e726172815e17d279f398c51317da318
4
- data.tar.gz: 31e31e3a68df721fc1d19e2fdfc4a4e0f9800746
3
+ metadata.gz: 1f46bf2e852bf4d110073f1a1d7af64b800d18bc
4
+ data.tar.gz: 3f4ee4fec5f51076a249e97a6758cac235bd72e5
5
5
  SHA512:
6
- metadata.gz: 7604819d600bc3fa91c89914a4932e2c8522e06221088f27f046c40058ff6d71d37d20ae885b95ec394e301d7beda78378e67882402eeb77d93f564880244ce7
7
- data.tar.gz: e4d3948fed55d973209f16b0a728e875e8e76846598471654fc27822c6f544e90f56c384db4ed851fa76dd9b6a5da75ba78acc0b17db0bda7ed88b274f7ac769
6
+ metadata.gz: 1d288fc044a6a51cd1728a05b7af27be7ad8819bb76f9077d71a02999a7379aaa9edf88d83d86a15e1a94ca962a16d7c6749e2d533a3f7af1f6b351056543c66
7
+ data.tar.gz: e36256449de30bc3ac59e43836d39039118e2d1a84af8e07aff9e42ee6f9c4a2e0cb48a9e713fb61e445f0f7f70dc55acdaa723074181da3b89590e29e3cf38e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.1.2
4
+
5
+ * Unbreak Rackspace integration testing support.
6
+
3
7
  ## v1.1.1
4
8
 
5
9
  * Don't mask errors from failed subtasks of `rake travis`.
@@ -50,7 +50,9 @@ module PoiseBoiler
50
50
  end
51
51
 
52
52
  file '.ssh/id_rsa' do
53
- sh(*%w{ssh-keygen -f ~/.ssh/id_rsa -b 768 -P ""})
53
+ # Add a zero-byte passphrase field.
54
+ cmd = %w{ssh-keygen -f} + [File.expand_path('~/.ssh/id_rsa')] + %w{-b 768 -P} + ['']
55
+ sh(*cmd)
54
56
  end
55
57
 
56
58
  desc 'Run Test-Kitchen integration tests.'
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseBoiler
19
- VERSION = '1.1.1'
19
+ VERSION = '1.1.2'
20
20
  end
@@ -117,4 +117,22 @@ EOH
117
117
  end
118
118
  its(:exitstatus) { is_expected.to eq 0 }
119
119
  end # /context secure vars
120
+
121
+ context 'secure vars and Rackspace' do
122
+ file '.kitchen.travis.yml', 'name: rackspace'
123
+ file '.ssh/stub'
124
+ environment TRAVIS_SECURE_ENV_VARS: '1'
125
+ before do
126
+ _environment['HOME'] = temp_path
127
+ end
128
+
129
+ its(:stdout) { is_expected.to include 'Running task spec' }
130
+ its(:stdout) { is_expected.to include 'Running task chef:foodcritic' }
131
+ if (ENV['BUNDLE_GEMFILE'] || '').include?('master')
132
+ its(:stdout) { is_expected.to_not include 'Running task travis:integration' }
133
+ else
134
+ its(:stdout) { is_expected.to include 'Running task travis:integration' }
135
+ end
136
+ its(:exitstatus) { is_expected.to eq 0 }
137
+ end
120
138
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poise-boiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Kantrowitz