poise-boiler 1.1.7 → 1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/poise_boiler/helpers/rake.rb +4 -4
- data/lib/poise_boiler/helpers/rake/badges.rb +1 -0
- data/lib/poise_boiler/helpers/rake/core.rb +4 -2
- data/lib/poise_boiler/kitchen.rb +4 -1
- data/lib/poise_boiler/version.rb +1 -1
- data/spec/kitchen_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe7eeb80b2a841623d7f6e92e057855e6e80fccf
|
4
|
+
data.tar.gz: bee74ffdc1aff2120ad2e854a4ad48090bbbe557
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8a171221fbc4eeb11b96e28c0f4b0b783c089da59c47e715c7c4d7abc860772044a4f66cdb0053d9a94ab195e4bac75be492ab871d9a38464f9bf27d4d5b88f
|
7
|
+
data.tar.gz: 0336a674d924a638e12ced0cd9c218ccc3027ae15ac032cda1108b0571c857531bad6fbb7e883ae32abcdda683dc73b4a227d5c624706dd5972a8bd2fabaaca5
|
data/CHANGELOG.md
CHANGED
@@ -33,10 +33,10 @@ module PoiseBoiler
|
|
33
33
|
# Install all rake tasks.
|
34
34
|
#
|
35
35
|
# @return [void]
|
36
|
-
def install
|
37
|
-
Core.install(
|
38
|
-
Badges.install(
|
39
|
-
Travis.install(
|
36
|
+
def install
|
37
|
+
Core.install(gem_name: gem_name, base: base, **options)
|
38
|
+
Badges.install(gem_name: gem_name, base: base, **options)
|
39
|
+
Travis.install(gem_name: gem_name, base: base, **options)
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -58,8 +58,10 @@ module PoiseBoiler
|
|
58
58
|
task test: %i{spec}
|
59
59
|
|
60
60
|
# Install gem tasks (build, upload, etc).
|
61
|
-
|
62
|
-
|
61
|
+
unless options[:no_gem]
|
62
|
+
require 'bundler/gem_helper'
|
63
|
+
Bundler::GemHelper.install_tasks(options[:bundler] || {})
|
64
|
+
end
|
63
65
|
|
64
66
|
# Install the Halite tasks.
|
65
67
|
require 'halite/rake_helper'
|
data/lib/poise_boiler/kitchen.rb
CHANGED
@@ -66,13 +66,16 @@ module PoiseBoiler
|
|
66
66
|
'require_chef_omnibus' => chef_version || true,
|
67
67
|
'provision_command' => [
|
68
68
|
# Run some installs at provision so they are cached in the image.
|
69
|
+
# Install net-tools for netstat which is used by serverspec.
|
70
|
+
"test ! -f /etc/debian_version || apt-get install -y net-tools",
|
71
|
+
"test ! -f /etc/redhat-release || yum -y install net-tools",
|
69
72
|
# Make sure the hostname utilitiy is installed on CentOS 7. The
|
70
73
|
# ||true is for EL6 which has no hostname package. Sigh.
|
71
74
|
"test ! -f /etc/redhat-release || yum -y install hostname || true",
|
72
75
|
# Install Chef (with the correct verison).
|
73
76
|
"curl -L https://chef.io/chef/install.sh | bash -s --#{install_arguments}",
|
74
77
|
# Install some kitchen-related gems. Normally installed during the verify step but that is idempotent.
|
75
|
-
"env GEM_HOME=/tmp/verifier/gems GEM_PATH=/tmp/verifier/gems GEM_CACHE=/tmp/verifier/gems/cache /opt/chef/embedded/bin/gem install thor busser busser-serverspec serverspec bundler",
|
78
|
+
"env GEM_HOME=/tmp/verifier/gems GEM_PATH=/tmp/verifier/gems GEM_CACHE=/tmp/verifier/gems/cache /opt/chef/embedded/bin/gem install --no-rdoc --no-ri thor busser busser-serverspec serverspec bundler",
|
76
79
|
# Fix directory permissions.
|
77
80
|
"chown -R kitchen /tmp/verifier",
|
78
81
|
],
|
data/lib/poise_boiler/version.rb
CHANGED
data/spec/kitchen_spec.rb
CHANGED
@@ -37,7 +37,7 @@ EOH
|
|
37
37
|
context 'kitchen diagnose' do
|
38
38
|
command 'kitchen diagnose'
|
39
39
|
its(:stdout) { is_expected.to match(%r{- curl -L https://chef.io/chef/install.sh | bash -s --$}) }
|
40
|
-
its(:stdout) { is_expected.to include('/opt/chef/embedded/bin/gem install thor busser busser-serverspec
|
40
|
+
its(:stdout) { is_expected.to include('/opt/chef/embedded/bin/gem install --no-rdoc --no-ri thor busser busser-serverspec') }
|
41
41
|
its(:stdout) { is_expected.to include('require_chef_omnibus: true') }
|
42
42
|
end # /context kitchen diagnose
|
43
43
|
end # /context with defaults
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-boiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|