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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3fc4489f18856156051acd5e57d64bf5822af71
4
- data.tar.gz: 0d9bda36a34886583388028084b14dabcef6c6a0
3
+ metadata.gz: fe7eeb80b2a841623d7f6e92e057855e6e80fccf
4
+ data.tar.gz: bee74ffdc1aff2120ad2e854a4ad48090bbbe557
5
5
  SHA512:
6
- metadata.gz: 088195a46dbbe05f378efc281728dd46dd8376e18a2fea961afb3f9fe762faea5566a79f5f17ce9dbb03478f9c6d3ad6626bc1eb76f7ced1c95b4d2bc3657b0b
7
- data.tar.gz: 208f6308a7f261ba395df290c20f395479ff38253e7bab33c78cb5b81f81dd36e3545bf92fe35c423ef1d9267ff4294502ee22a4a5e5ed2d8725651fd6a82d35
6
+ metadata.gz: d8a171221fbc4eeb11b96e28c0f4b0b783c089da59c47e715c7c4d7abc860772044a4f66cdb0053d9a94ab195e4bac75be492ab871d9a38464f9bf27d4d5b88f
7
+ data.tar.gz: 0336a674d924a638e12ced0cd9c218ccc3027ae15ac032cda1108b0571c857531bad6fbb7e883ae32abcdda683dc73b4a227d5c624706dd5972a8bd2fabaaca5
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.1.8
4
+
5
+ * Don't install documentation for busser gems.
6
+ * Install net-tools for common platforms for serverspec.
7
+ * Improve `no_gem` mode for spec_helper.
8
+
3
9
  ## v1.1.7
4
10
 
5
11
  * Bump foodcritic dependency for 5.0.
@@ -33,10 +33,10 @@ module PoiseBoiler
33
33
  # Install all rake tasks.
34
34
  #
35
35
  # @return [void]
36
- def install(*args)
37
- Core.install(*args)
38
- Badges.install(*args)
39
- Travis.install(*args)
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
@@ -37,6 +37,7 @@ module PoiseBoiler
37
37
  #
38
38
  # @return [void]
39
39
  def install
40
+ return if options[:no_gem]
40
41
  # Delayed so that Rake doesn't need to be loaded to run this file.
41
42
  extend ::Rake::DSL
42
43
 
@@ -58,8 +58,10 @@ module PoiseBoiler
58
58
  task test: %i{spec}
59
59
 
60
60
  # Install gem tasks (build, upload, etc).
61
- require 'bundler/gem_helper'
62
- Bundler::GemHelper.install_tasks(options[:bundler] || {})
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'
@@ -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
  ],
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseBoiler
19
- VERSION = '1.1.7'
19
+ VERSION = '1.1.8'
20
20
  end
@@ -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 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.7
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-18 00:00:00.000000000 Z
11
+ date: 2015-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable