chef-vault-testfixtures 0.1.3 → 0.2.0

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: 04ea0fe25bfe84593f513f0eeb1895700cfddebb
4
- data.tar.gz: a8c1060a2aa4972194aee6211eaee8741e826290
3
+ metadata.gz: 19d2d915545cbff172ba5a8e6fee939877d15c5a
4
+ data.tar.gz: d27ad94cf7553f39fb24dd61a354fddc377a5421
5
5
  SHA512:
6
- metadata.gz: 26758f55992b2a69fafce02ece3e0a8c5fd96ec679ee892807d78063361ac8a740e01176e8ab1746ccc26d1e4bd571d799d899873e73eefb1a2f56c5f7268456
7
- data.tar.gz: 3c83e862177247beb5627095792d5c71102e6b02cb269bae2092d152a23efc1d9cb861803e3ec0e365bf4a1364c78012521861992036adce5535c2460865250c
6
+ metadata.gz: e1e0413a2092e8c8ad11ed9efc00eae282d02a32855c192e02afe9466c22f7e1f0313460433f18491870dea4f9252d68bdd4b03f440dd66072c8c4c1215f787a
7
+ data.tar.gz: f1243a77fd15d6c9484a6b83542ec2e5024a7fc998521716c52f6d3079de5155a4b77a0a8b45dafecccd803c627c237d10203c0e807ce307c5b5a864ed754454
data/History.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog for chef-vault-testfixtures
2
2
 
3
+ ## 0.2.0
4
+
5
+ * move chef dependency out of runtime and into development - rubygems 1.8.x (which chef-client shipped with prior to 11.8.0) has major problems now that Chef v11 and v12 are both available
6
+
3
7
  ## 0.1.3
4
8
 
5
9
  * change chef runtime dependency from >= 11.14 to >= 11.0
data/README.md CHANGED
@@ -191,6 +191,24 @@ A [companion cookbook](https://supermarket.chef.io/cookbooks/chef_vault_testfixt
191
191
  is also available that uses the same data to populate vaults during
192
192
  Test Kitchen integration runs.
193
193
 
194
+ ## DEPENDENCIES
195
+
196
+ It may seem strange that chef isn't a runtime dependency of this gem.
197
+ This is due to idiosyncracies in the way that old versions of rubygems
198
+ (such as those that ship with chef-client prior to 11.18.0) process
199
+ dependencies.
200
+
201
+ If we include chef as a dependency, even with a relaxed requirement
202
+ like '>= 11.0', rubygems v1.8.x will still try to pull in chef-12.0.3,
203
+ even if the --conservative switch is used. This in turn pulls in
204
+ Ohai 8.1.x, which doesn't work under Ruby 1.9.3 (which is what chef-client
205
+ 11 embeds).
206
+
207
+ rubygems v2.x.x do not suffer from this problem. The net takeaway is that
208
+ attempting to install this gem on a system that does not have chef installed
209
+ will fail. I expect the instances of people trying to do this to be
210
+ small.
211
+
194
212
  ## AUTHOR
195
213
 
196
214
  James FitzGibbon - james.i.fitzgibbon@nordstrom.com - @jf647
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ begin
13
13
  extra_deps << ['rspec', '~> 3.1']
14
14
  extra_deps << ['chef-vault', '~> 2.5']
15
15
  extra_deps << ['little-plugger', '~> 1.1']
16
- extra_deps << ['chef', '>= 11.0']
16
+ extra_dev_deps << ['chef', '~> 12.0']
17
17
  extra_dev_deps << ['hoe', '~> 3.13']
18
18
  extra_dev_deps << ['hoe-gemspec', '~> 1.0']
19
19
  extra_dev_deps << ['rake', '~> 10.3']
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: chef-vault-testfixtures 0.1.3.20150225104151 ruby lib
2
+ # stub: chef-vault-testfixtures 0.2.0.20150225121503 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "chef-vault-testfixtures"
6
- s.version = "0.1.3.20150225104151"
6
+ s.version = "0.2.0.20150225121503"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
@@ -26,8 +26,8 @@ Gem::Specification.new do |s|
26
26
  s.add_runtime_dependency(%q<rspec>, ["~> 3.1"])
27
27
  s.add_runtime_dependency(%q<chef-vault>, ["~> 2.5"])
28
28
  s.add_runtime_dependency(%q<little-plugger>, ["~> 1.1"])
29
- s.add_runtime_dependency(%q<chef>, [">= 11.0"])
30
29
  s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
30
+ s.add_development_dependency(%q<chef>, ["~> 12.0"])
31
31
  s.add_development_dependency(%q<hoe>, ["~> 3.13"])
32
32
  s.add_development_dependency(%q<hoe-gemspec>, ["~> 1.0"])
33
33
  s.add_development_dependency(%q<rake>, ["~> 10.3"])
@@ -46,8 +46,8 @@ Gem::Specification.new do |s|
46
46
  s.add_dependency(%q<rspec>, ["~> 3.1"])
47
47
  s.add_dependency(%q<chef-vault>, ["~> 2.5"])
48
48
  s.add_dependency(%q<little-plugger>, ["~> 1.1"])
49
- s.add_dependency(%q<chef>, [">= 11.0"])
50
49
  s.add_dependency(%q<rdoc>, ["~> 4.0"])
50
+ s.add_dependency(%q<chef>, ["~> 12.0"])
51
51
  s.add_dependency(%q<hoe>, ["~> 3.13"])
52
52
  s.add_dependency(%q<hoe-gemspec>, ["~> 1.0"])
53
53
  s.add_dependency(%q<rake>, ["~> 10.3"])
@@ -67,8 +67,8 @@ Gem::Specification.new do |s|
67
67
  s.add_dependency(%q<rspec>, ["~> 3.1"])
68
68
  s.add_dependency(%q<chef-vault>, ["~> 2.5"])
69
69
  s.add_dependency(%q<little-plugger>, ["~> 1.1"])
70
- s.add_dependency(%q<chef>, [">= 11.0"])
71
70
  s.add_dependency(%q<rdoc>, ["~> 4.0"])
71
+ s.add_dependency(%q<chef>, ["~> 12.0"])
72
72
  s.add_dependency(%q<hoe>, ["~> 3.13"])
73
73
  s.add_dependency(%q<hoe-gemspec>, ["~> 1.0"])
74
74
  s.add_dependency(%q<rake>, ["~> 10.3"])
@@ -6,7 +6,7 @@ require 'little-plugger'
6
6
  class ChefVault
7
7
  # dynamic RSpec contexts for cookbooks that use chef-vault
8
8
  class TestFixtures
9
- VERSION = '0.1.3'
9
+ VERSION = '0.2.0'
10
10
 
11
11
  extend LittlePlugger path: 'chef-vault/test_fixtures',
12
12
  module: ChefVault::TestFixtures
@@ -43,7 +43,7 @@ class ChefVault
43
43
  end
44
44
  # stub chef-vault to return the fake vault, via both symbol
45
45
  # and string forms of the data bag name
46
- [ vaultname, vaultname.to_s ].each do |data_bag|
46
+ [vaultname, vaultname.to_s].each do |data_bag|
47
47
  allow(ChefVault::Item).to(
48
48
  receive(:load)
49
49
  .with(data_bag, item.to_s)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-vault-testfixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James FitzGibbon
@@ -53,33 +53,33 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
- name: chef
56
+ name: rdoc
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '11.0'
62
- type: :runtime
61
+ version: '4.0'
62
+ type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '11.0'
68
+ version: '4.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rdoc
70
+ name: chef
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '4.0'
75
+ version: '12.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '4.0'
82
+ version: '12.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: hoe
85
85
  requirement: !ruby/object:Gem::Requirement