poise-boiler 1.1.3 → 1.1.4

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: 2238940c4ca23c51ac808bc84ccec29a784aa3ff
4
- data.tar.gz: a05d943a5e649100ebcfa698eadc7be35006b2fd
3
+ metadata.gz: b82d307bf182aa35caee1ac365ad18201a2e5fdc
4
+ data.tar.gz: 48316d9ba052c82d0616741a8f59a87cfd859b4c
5
5
  SHA512:
6
- metadata.gz: 2963fde329b7ec4a4760382bc7d2369e08e2ef18bc316b25a1dddc4e904759409ad95bac325dd8888f20b8207786418887245e1e407c73157a2f7c8d07fe833a
7
- data.tar.gz: 46f7ef5f48c47acd57e90eada8747326259b6964c656dc357ad31173414effeb30ce41f66f45bc4723d3ed5191cd2ec774afa05f6690399288692874fab84100
6
+ metadata.gz: 7767a312d984bd6c3833f13a2d332a2355d5881ecd1a9b8dcb47e73340db407fb6087473162fc6370accc1dc9ed56d44a6032dfb9a37d9bb0d837b8f6ce253be
7
+ data.tar.gz: a3dbeb3a8e3bb5915df7f88e35599b74b656829230486155fd387ef3fd29271d76e3ff2cc3755fb3ed1bebc38de369e4a5b60ec38fc0eed76a5485460ea3bf3f
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.1.4
4
+
5
+ * Master integration tests use the correct Chef version.
6
+ * Don't filter the `:focus` tag in CI. This prevents bad data in my coverage
7
+ graphs when I accidentally commit a focused test.
8
+ * Only try to run the integration tests if `.kitchen.yml` exists.
9
+
3
10
  ## v1.1.3
4
11
 
5
12
  * Use the new Test Kitchen 1.4 transport from kitchen-sync.
@@ -83,7 +83,7 @@ module PoiseBoiler
83
83
  #
84
84
  # @return [Boolean]
85
85
  def integration_tests?
86
- ENV['TRAVIS_SECURE_ENV_VARS'] == 'true'
86
+ ENV['TRAVIS_SECURE_ENV_VARS'] == 'true' && File.exist?('.kitchen.yml')
87
87
  end
88
88
 
89
89
  # Should we set things up for Rackspace integration tests? The default
@@ -57,7 +57,7 @@ module PoiseBoiler
57
57
  RSpec.configure do |config|
58
58
  # Basic configuraiton
59
59
  config.run_all_when_everything_filtered = true
60
- config.filter_run(:focus)
60
+ config.filter_run(:focus) unless ENV['CI']
61
61
 
62
62
  # Run specs in random order to surface order dependencies. If you find an
63
63
  # order dependency and want to debug it, you can fix the order by providing
@@ -50,6 +50,8 @@ module PoiseBoiler
50
50
  Chef::VERSION
51
51
  end
52
52
  install_arguments = if ENV['POISE_MASTER_BUILD']
53
+ # Force it to use any version down below.
54
+ chef_version = nil
53
55
  # Use today's date as an ignored param to force the layer to rebuild.
54
56
  " -n -- #{Date.today}"
55
57
  elsif chef_version
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module PoiseBoiler
19
- VERSION = '1.1.3'
19
+ VERSION = '1.1.4'
20
20
  end
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.3
4
+ version: 1.1.4
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-06-25 00:00:00.000000000 Z
11
+ date: 2015-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable