halite 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +48 -22
  3. data/CHANGELOG.md +4 -0
  4. data/gemfiles/chef-12.16.gemfile +19 -0
  5. data/gemfiles/chef-12.17.gemfile +19 -0
  6. data/gemfiles/chef-12.18.gemfile +19 -0
  7. data/gemfiles/chef-12.19.gemfile +19 -0
  8. data/gemfiles/chef-12.20.gemfile +19 -0
  9. data/gemfiles/chef-12.21.gemfile +19 -0
  10. data/gemfiles/chef-12.gemfile +2 -2
  11. data/gemfiles/chef-13.0.gemfile +19 -0
  12. data/gemfiles/chef-13.1.gemfile +19 -0
  13. data/gemfiles/chef-13.10.gemfile +19 -0
  14. data/gemfiles/chef-13.2.gemfile +19 -0
  15. data/gemfiles/chef-13.3.gemfile +19 -0
  16. data/gemfiles/chef-13.4.gemfile +19 -0
  17. data/gemfiles/{chef-12.0.gemfile → chef-13.5.gemfile} +2 -2
  18. data/gemfiles/{chef-12.1.gemfile → chef-13.6.gemfile} +2 -2
  19. data/gemfiles/chef-13.7.gemfile +19 -0
  20. data/gemfiles/{chef-12.2.gemfile → chef-13.8.gemfile} +2 -2
  21. data/gemfiles/{chef-12.3.gemfile → chef-13.9.gemfile} +2 -2
  22. data/gemfiles/chef-13.gemfile +2 -2
  23. data/gemfiles/chef-14.0.gemfile +19 -0
  24. data/gemfiles/chef-14.1.gemfile +19 -0
  25. data/gemfiles/chef-14.2.gemfile +19 -0
  26. data/gemfiles/chef-14.3.gemfile +19 -0
  27. data/gemfiles/chef-14.4.gemfile +19 -0
  28. data/gemfiles/{chef-12.4.0.gemfile → chef-14.gemfile} +2 -2
  29. data/lib/halite/spec_helper.rb +37 -37
  30. data/lib/halite/spec_helper/patcher.rb +6 -129
  31. data/lib/halite/spec_helper/runner.rb +30 -35
  32. data/lib/halite/version.rb +1 -1
  33. data/spec/example_resources/custom.rb +29 -0
  34. data/spec/example_resources/simple.rb +4 -10
  35. data/spec/runner_spec.rb +17 -55
  36. data/spec/spec_helper.rb +2 -0
  37. data/spec/spec_helper_spec.rb +34 -12
  38. metadata +28 -13
  39. data/gemfiles/chef-12.4.gemfile +0 -19
  40. data/gemfiles/chef-12.5.gemfile +0 -19
  41. data/gemfiles/chef-12.6.gemfile +0 -19
  42. data/gemfiles/chef-12.7.gemfile +0 -19
  43. data/gemfiles/chef-13.7.16.gemfile +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 49aedfb0b8e2389780d6a97f5f523d372e225fae
4
- data.tar.gz: '0930bf0f08820b2d2e621133952b4879c245e6d8'
2
+ SHA256:
3
+ metadata.gz: 43e6fdc8586044a1a7c419c70354cc1dfb3dcb4dd06688fadd6c464c5a685d1f
4
+ data.tar.gz: 12757aebf74747922e000d76f497d787e7a521dc1bf65bcfe0990929cbdbef1a
5
5
  SHA512:
6
- metadata.gz: 35b55222efbb56e756a5359999067e97e11a42d0321cb878a1fc7c4f2852c6e406b7728fbebcbec78d0ab24dde0c756cd30cdcc2fa5bb1a51ab8223220c28ab0
7
- data.tar.gz: 5db26bade528b684f606d7c22989e13a5f386c1745c3296acd5c1f9f4cbd4257008a16e0c73fc5b88ce72b7472ce891541258b3448ddf9fbe382df93d29839f1
6
+ metadata.gz: 472572379e2a6abafe8dd7abbf4a8ee0b317c10a5b72742923b8c646b0bb17052ae1bfd896942b0aee6e66680a036faddd31c545ba47755295feabcb358451ec
7
+ data.tar.gz: be9224e0afb7fc41ab3f598eadb44b8b43f852cec46f82d7ac9c4495a2fd72ffefd1fbd27bcc4f5f1b818a8f0349583bfdb336c4c1e617f1170e8a89e52a9ccd
@@ -7,28 +7,54 @@ matrix:
7
7
  gemfile: gemfiles/chef-12.gemfile
8
8
  - rvm: 2.4.3
9
9
  gemfile: gemfiles/chef-13.gemfile
10
- - rvm: 2.1.4
11
- gemfile: gemfiles/chef-12.0.gemfile
12
- - rvm: 2.1.4
13
- gemfile: gemfiles/chef-12.1.gemfile
14
- - rvm: 2.1.4
15
- gemfile: gemfiles/chef-12.2.gemfile
16
- - rvm: 2.1.4
17
- gemfile: gemfiles/chef-12.3.gemfile
18
- - rvm: 2.1.6
19
- gemfile: gemfiles/chef-12.4.gemfile
20
- - rvm: 2.1.6
21
- gemfile: gemfiles/chef-12.4.0.gemfile
22
- - rvm: 2.1.6
23
- gemfile: gemfiles/chef-12.5.gemfile
24
- - rvm: 2.1.6
25
- gemfile: gemfiles/chef-12.6.gemfile
26
- - rvm: 2.1.6
27
- gemfile: gemfiles/chef-12.7.gemfile
28
- - rvm: 2.4.3
29
- gemfile: gemfiles/chef-13.7.6.gemfile
30
- - rvm: 2.5.0
10
+ - rvm: 2.5.1
11
+ gemfile: gemfiles/chef-14.gemfile
12
+ - rvm: 2.5.1
31
13
  gemfile: gemfiles/master.gemfile
14
+ - rvm: 2.3.1
15
+ gemfile: gemfiles/chef-12.16.gemfile
16
+ - rvm: 2.3.1
17
+ gemfile: gemfiles/chef-12.17.gemfile
18
+ - rvm: 2.3.1
19
+ gemfile: gemfiles/chef-12.18.gemfile
20
+ - rvm: 2.3.1
21
+ gemfile: gemfiles/chef-12.19.gemfile
22
+ - rvm: 2.3.1
23
+ gemfile: gemfiles/chef-12.20.gemfile
24
+ - rvm: 2.3.1
25
+ gemfile: gemfiles/chef-12.21.gemfile
26
+ - rvm: 2.4.1
27
+ gemfile: gemfiles/chef-13.0.gemfile
28
+ - rvm: 2.4.1
29
+ gemfile: gemfiles/chef-13.1.gemfile
30
+ - rvm: 2.4.1
31
+ gemfile: gemfiles/chef-13.2.gemfile
32
+ - rvm: 2.4.1
33
+ gemfile: gemfiles/chef-13.3.gemfile
34
+ - rvm: 2.4.2
35
+ gemfile: gemfiles/chef-13.4.gemfile
36
+ - rvm: 2.4.2
37
+ gemfile: gemfiles/chef-13.5.gemfile
38
+ - rvm: 2.4.2
39
+ gemfile: gemfiles/chef-13.6.gemfile
40
+ - rvm: 2.4.3
41
+ gemfile: gemfiles/chef-13.7.gemfile
42
+ - rvm: 2.4.3
43
+ gemfile: gemfiles/chef-13.8.gemfile
44
+ - rvm: 2.4.3
45
+ gemfile: gemfiles/chef-13.9.gemfile
46
+ - rvm: 2.4.3
47
+ gemfile: gemfiles/chef-13.10.gemfile
48
+ - rvm: 2.5.1
49
+ gemfile: gemfiles/chef-14.0.gemfile
50
+ - rvm: 2.5.1
51
+ gemfile: gemfiles/chef-14.1.gemfile
52
+ - rvm: 2.5.1
53
+ gemfile: gemfiles/chef-14.2.gemfile
54
+ - rvm: 2.5.1
55
+ gemfile: gemfiles/chef-14.3.gemfile
56
+ - rvm: 2.5.1
57
+ gemfile: gemfiles/chef-14.4.gemfile
32
58
  env:
33
59
  global:
34
60
  - USE_SYSTEM_GECODE=true
@@ -37,7 +63,7 @@ env:
37
63
  before_install:
38
64
  - if [[ $BUNDLE_GEMFILE == *master.gemfile ]]; then gem update --system; fi
39
65
  - gem --version
40
- - gem install bundler
66
+ - gem install bundler -v 1.16.2
41
67
  - bundle --version
42
68
  - bundle config --local path ${BUNDLE_PATH:-vendor/bundle}
43
69
  install: bundle update --jobs=3 --retry=3
@@ -1,5 +1,9 @@
1
1
  # Halite Changelog
2
2
 
3
+ ## v1.8.2
4
+
5
+ * Update for newer ChefSpec.
6
+
3
7
  ## v1.8.1
4
8
 
5
9
  * Fix compatibility with new Chef API for unregistering resources.
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 12.16.42'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 12.17.44'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 12.18.31'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 12.19.36'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 12.20.3'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 12.21.31'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2015-2017, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.0'
19
+ gem 'chef', '~> 12.21'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.0.118'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.1.31'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.10.4'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.2.20'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.3.42'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.4.24'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.0.3'
19
+ gem 'chef', '~> 13.5.3'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.1.2'
19
+ gem 'chef', '~> 13.6.4'
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2018, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
+
19
+ gem 'chef', '~> 13.7.16'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.2.1'
19
+ gem 'chef', '~> 13.8.0'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2018, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 12.3.0'
19
+ gem 'chef', '~> 13.9.4'
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright 2015, Noah Kantrowitz
2
+ # Copyright 2017, Noah Kantrowitz
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -16,4 +16,4 @@
16
16
 
17
17
  eval_gemfile File.expand_path('../../Gemfile', __FILE__)
18
18
 
19
- gem 'chef', '~> 13.7'
19
+ gem 'chef', '~> 13.10'