chef 16.13.16-universal-mingw32 → 16.16.13-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -2
  3. data/lib/chef/cookbook/gem_installer.rb +5 -1
  4. data/lib/chef/cookbook_version.rb +26 -4
  5. data/lib/chef/data_collector/run_end_message.rb +1 -1
  6. data/lib/chef/deprecated.rb +14 -4
  7. data/lib/chef/exceptions.rb +3 -0
  8. data/lib/chef/formatters/error_mapper.rb +2 -2
  9. data/lib/chef/http.rb +5 -5
  10. data/lib/chef/knife/bootstrap.rb +1 -1
  11. data/lib/chef/knife/core/windows_bootstrap_context.rb +2 -3
  12. data/lib/chef/node.rb +20 -19
  13. data/lib/chef/policy_builder/policyfile.rb +5 -0
  14. data/lib/chef/provider/group/dscl.rb +1 -1
  15. data/lib/chef/provider/package/powershell.rb +5 -0
  16. data/lib/chef/provider/package/rubygems.rb +2 -2
  17. data/lib/chef/provider/template/content.rb +1 -1
  18. data/lib/chef/resource/homebrew_cask.rb +13 -7
  19. data/lib/chef/resource/mount.rb +1 -1
  20. data/lib/chef/resource/rhsm_subscription.rb +5 -5
  21. data/lib/chef/resource/support/client.erb +6 -0
  22. data/lib/chef/resource/systemd_unit.rb +1 -1
  23. data/lib/chef/resource/user_ulimit.rb +1 -0
  24. data/lib/chef/resource/windows_security_policy.rb +55 -39
  25. data/lib/chef/resource/windows_uac.rb +3 -1
  26. data/lib/chef/resource/windows_user_privilege.rb +1 -1
  27. data/lib/chef/version.rb +1 -1
  28. data/lib/chef/win32/api.rb +9 -2
  29. data/lib/chef/win32/version.rb +2 -1
  30. data/spec/functional/resource/group_spec.rb +5 -1
  31. data/spec/functional/resource/link_spec.rb +8 -0
  32. data/spec/unit/cookbook_version_spec.rb +52 -0
  33. data/spec/unit/data_collector_spec.rb +47 -1
  34. data/spec/unit/knife/core/windows_bootstrap_context_spec.rb +3 -3
  35. data/spec/unit/policy_builder/policyfile_spec.rb +11 -1
  36. data/spec/unit/provider/package/powershell_spec.rb +74 -12
  37. data/spec/unit/provider/package/rubygems_spec.rb +3 -3
  38. data/spec/unit/resource/homebrew_cask_spec.rb +29 -11
  39. data/spec/unit/resource/mount_spec.rb +10 -0
  40. data/spec/unit/resource/rhsm_subscription_spec.rb +50 -3
  41. data/spec/unit/resource/systemd_unit_spec.rb +1 -1
  42. data/spec/unit/resource/user_ulimit_spec.rb +14 -1
  43. data/tasks/rspec.rb +1 -1
  44. metadata +6 -6
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.13.16
4
+ version: 16.16.13
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-08 00:00:00.000000000 Z
11
+ date: 2021-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 16.13.16
19
+ version: 16.16.13
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 16.13.16
26
+ version: 16.16.13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: chef-utils
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 16.13.16
33
+ version: 16.16.13
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 16.13.16
40
+ version: 16.16.13
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: train-core
43
43
  requirement: !ruby/object:Gem::Requirement