chef-zero 15.0.26 → 15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6cfa8312a0f246206cc805936245e69fd1b0e6f56e60fe575ee54c4e4d10b65
4
- data.tar.gz: 8dce047df7b695f99fb8cd8a48d3c2facd505d363548e71c3e265b6b5a8d2287
3
+ metadata.gz: 00071a8eebf554379bd831d228ca87964ee665a935232b1055ab0ab9628117d4
4
+ data.tar.gz: 15c1ee1fbe857a55ee344ecd1329b786731bc7526cb0d4b56d6801595e7e3520
5
5
  SHA512:
6
- metadata.gz: 6f6a40dc53903594f681522401bf0eddbc20af48ff10462e242c4be6934c2f2152841ac91142e67e885d5929ba04baa5d6651d266db77cc77f14229ae0af08d6
7
- data.tar.gz: 226c915e3b0f1d60a15cec11108dfc4d184d9092194bb9ab3241daaca1092071809e49bd2211576aaa989e3abfebf55e0eaa87781c9c657c318a4e9b2a72d638
6
+ metadata.gz: 0e35acb20599a35cf00e7475172c6596b898f5e2597a12421a2f01d50d84afd4431157ec6f6d41e6f9854d6a912f1bd94d6ea559d941e3a54d6d39cbab5c2108
7
+ data.tar.gz: cb64bb7aa2be0a339c2508c06355f2b45bcdfdb2d3fef7ffa50d5ad2ed0a85de3381c80039d14fea7a1d5fbc00891c60cc095dfd01ecb64dba4565d2c8c8fe5c
@@ -1,3 +1,3 @@
1
1
  module ChefZero
2
- VERSION = "15.0.26".freeze
2
+ VERSION = "15.1.0".freeze
3
3
  end
@@ -52,13 +52,6 @@ def start_cheffs_server(chef_repo_path)
52
52
 
53
53
  Dir.mkdir(chef_repo_path) unless File.exist?(chef_repo_path)
54
54
 
55
- # 11.6 and below had a bug where it couldn't create the repo children automatically
56
- if Chef::VERSION.to_f < 11.8
57
- %w{clients cookbooks data_bags environments nodes roles users}.each do |child|
58
- Dir.mkdir("#{chef_repo_path}/#{child}") unless File.exist?("#{chef_repo_path}/#{child}")
59
- end
60
- end
61
-
62
55
  # Start the new server
63
56
  Chef::Config.repo_mode = "hosted_everything"
64
57
  Chef::Config.chef_repo_path = chef_repo_path
@@ -125,7 +118,8 @@ begin
125
118
  Pedant.config[:config_file] = "spec/support/oc_pedant.rb"
126
119
 
127
120
  # Because ChefFS can only ever have one user (pivotal), we can't do most of the
128
- # tests that involve multiple
121
+ # tests that involve multiple users. All modern Chef versions (>= 12.13.19)
122
+ # support keys, ACL, cookbook-artifacts, and policies, so we don't skip those.
129
123
  chef_fs_skips = if ENV["CHEF_FS"]
130
124
  [ "--skip-association",
131
125
  "--skip-users",
@@ -137,16 +131,6 @@ begin
137
131
  []
138
132
  end
139
133
 
140
- unless Gem::Requirement.new(">= 12.8.0").satisfied_by?(Gem::Version.new(Chef::VERSION))
141
- chef_fs_skips << "--skip-keys"
142
- end
143
-
144
- unless Gem::Requirement.new(">= 12.13.19").satisfied_by?(Gem::Version.new(Chef::VERSION))
145
- chef_fs_skips << "--skip-acl"
146
- chef_fs_skips << "--skip-cookbook-artifacts"
147
- chef_fs_skips << "--skip-policies"
148
- end
149
-
150
134
  # These things aren't supported by Chef Zero in any mode of operation:
151
135
  default_skips = [
152
136
  # "the goal is that only authorization, authentication and validation tests
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.26
4
+ version: 15.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.