chef 13.1.31 → 13.2.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +68 -134
  3. data/Rakefile +1 -0
  4. data/VERSION +1 -1
  5. data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +1 -0
  6. data/acceptance/top-cookbooks/.kitchen.docker.yml +4 -0
  7. data/lib/chef/application/client.rb +27 -18
  8. data/lib/chef/deprecated.rb +10 -0
  9. data/lib/chef/dsl/declare_resource.rb +9 -1
  10. data/lib/chef/knife.rb +5 -1
  11. data/lib/chef/knife/cookbook_test.rb +1 -1
  12. data/lib/chef/policy_builder/policyfile.rb +27 -1
  13. data/lib/chef/provider.rb +2 -2
  14. data/lib/chef/provider/group/aix.rb +1 -1
  15. data/lib/chef/provider/group/groupadd.rb +1 -1
  16. data/lib/chef/provider/package/chocolatey.rb +1 -1
  17. data/lib/chef/provider/user/pw.rb +1 -1
  18. data/lib/chef/provider/user/windows.rb +1 -1
  19. data/lib/chef/resource/breakpoint.rb +1 -1
  20. data/lib/chef/version.rb +3 -1
  21. data/lib/chef/version_string.rb +143 -0
  22. data/spec/functional/mixin/powershell_out_spec.rb +20 -4
  23. data/spec/functional/resource/group_spec.rb +19 -13
  24. data/spec/functional/resource/windows_task_spec.rb +2 -9
  25. data/spec/integration/knife/common_options_spec.rb +29 -11
  26. data/spec/integration/knife/cookbook_bulk_delete_spec.rb +2 -2
  27. data/spec/integration/knife/cookbook_show_spec.rb +2 -2
  28. data/spec/integration/knife/environment_compare_spec.rb +2 -2
  29. data/spec/integration/knife/environment_show_spec.rb +2 -2
  30. data/spec/integration/knife/role_show_spec.rb +2 -2
  31. data/spec/integration/recipes/accumulator_spec.rb +6 -6
  32. data/spec/integration/recipes/resource_action_spec.rb +18 -7
  33. data/spec/integration/recipes/resource_load_spec.rb +5 -21
  34. data/spec/spec_helper.rb +2 -0
  35. data/spec/support/platform_helpers.rb +5 -0
  36. data/spec/support/shared/unit/provider/useradd_based_user_provider.rb +1 -1
  37. data/spec/unit/application/client_spec.rb +2 -0
  38. data/spec/unit/knife_spec.rb +22 -0
  39. data/spec/unit/policy_builder/policyfile_spec.rb +50 -0
  40. data/spec/unit/provider/group/groupadd_spec.rb +1 -1
  41. data/spec/unit/provider/user/pw_spec.rb +1 -1
  42. data/spec/unit/version_string_spec.rb +79 -0
  43. data/tasks/dependencies.rb +1 -42
  44. metadata +6 -79
  45. data/acceptance/.bundle/config +0 -2
  46. data/acceptance/bin/aws.rb +0 -17
  47. data/acceptance/bin/berks +0 -17
  48. data/acceptance/bin/bundler +0 -17
  49. data/acceptance/bin/chef-acceptance +0 -17
  50. data/acceptance/bin/coderay +0 -17
  51. data/acceptance/bin/erubis +0 -17
  52. data/acceptance/bin/htmldiff +0 -17
  53. data/acceptance/bin/httpclient +0 -17
  54. data/acceptance/bin/inspec +0 -17
  55. data/acceptance/bin/kitchen +0 -17
  56. data/acceptance/bin/ldiff +0 -17
  57. data/acceptance/bin/nokogiri +0 -17
  58. data/acceptance/bin/pry +0 -17
  59. data/acceptance/bin/rake +0 -17
  60. data/acceptance/bin/rspec +0 -17
  61. data/acceptance/bin/rwinrm +0 -17
  62. data/acceptance/bin/rwinrmcp +0 -17
  63. data/acceptance/bin/safe_yaml +0 -17
  64. data/acceptance/bin/thor +0 -17
  65. data/acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml +0 -7
  66. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  67. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  68. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id +0 -1
  69. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  70. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key +0 -27
  71. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  72. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile +0 -11
  73. data/acceptance/fips/.kitchen/logs/fips-integration-centos-6.log +0 -0
  74. data/acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log +0 -0
  75. data/acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log +0 -80
  76. data/acceptance/fips/.kitchen/logs/kitchen.log +0 -4
  77. data/tasks/bundle.rb +0 -73
@@ -64,7 +64,7 @@ describe Chef::Provider::Group::Groupadd do
64
64
 
65
65
  it "should combine all the possible options" do
66
66
  match_array = []
67
- field_list.sort { |a, b| a[0] <=> b[0] }.each do |attribute, option|
67
+ field_list.sort_by { |a| a[0] }.each do |attribute, option|
68
68
  allow(new_resource).to receive(attribute).and_return("hola")
69
69
  match_array << option
70
70
  match_array << "hola"
@@ -69,7 +69,7 @@ describe Chef::Provider::User::Pw do
69
69
 
70
70
  it "should combine all the possible options" do
71
71
  match_array = [ "adam" ]
72
- field_list.sort { |a, b| a[0] <=> b[0] }.each do |attribute, option|
72
+ field_list.sort_by { |a| a[0] }.each do |attribute, option|
73
73
  allow(@new_resource).to receive(attribute).and_return("hola")
74
74
  match_array << option
75
75
  match_array << "hola"
@@ -0,0 +1,79 @@
1
+ # Copyright:: Copyright 2017, Noah Kantrowitz
2
+ # License:: Apache License, Version 2.0
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
+ require "spec_helper"
17
+ require "chef/version_string"
18
+
19
+ describe Chef::VersionString do
20
+ let(:input) { "1.2.3" }
21
+ subject(:described_object) { described_class.new(input) }
22
+
23
+ it { is_expected.to eq "1.2.3" }
24
+ it { is_expected.to eql "1.2.3" }
25
+ it { is_expected.to be == "1.2.3" }
26
+ it { is_expected.to be < "abc" }
27
+ it { is_expected.to be > "0" }
28
+ it { is_expected.to eq described_class.new("1.2.3") }
29
+ it { is_expected.to be == described_class.new("1.2.3") }
30
+
31
+ context "with !=" do
32
+ subject { described_object != "1.2.4" }
33
+ it { is_expected.to be true }
34
+ end
35
+
36
+ context "with +" do
37
+ subject { described_object + "asdf" }
38
+ it { is_expected.to eq "1.2.3asdf" }
39
+ end
40
+
41
+ context "with *" do
42
+ subject { described_object * 3 }
43
+ it { is_expected.to eq "1.2.31.2.31.2.3" }
44
+ end
45
+
46
+ context "with version-like comparisons" do
47
+ subject { described_class.new("1.02.3") }
48
+
49
+ it { is_expected.to eq "1.2.3" }
50
+ it { is_expected.to be > "1.2.2" }
51
+ it { is_expected.to be > "1.2.3a" }
52
+ it { is_expected.to be < "1.2.4" }
53
+ end
54
+
55
+ context "with =~ Regexp" do
56
+ subject { described_object =~ /^1/ }
57
+ it { is_expected.to eq 0 }
58
+ end
59
+
60
+ context "with =~ Requirement" do
61
+ subject { described_object =~ Gem::Requirement.create("~> 1.0") }
62
+ it { is_expected.to be true }
63
+ end
64
+
65
+ context "with =~ String" do
66
+ subject { described_object =~ "~> 1.0" }
67
+ it { is_expected.to be true }
68
+ end
69
+
70
+ context "with Regexp =~" do
71
+ subject { /^2/ =~ described_object }
72
+ it { is_expected.to be nil }
73
+ end
74
+
75
+ context "with String =~" do
76
+ subject { "~> 1.0" =~ described_object }
77
+ it { expect { subject }.to raise_error TypeError }
78
+ end
79
+ end
@@ -15,9 +15,6 @@
15
15
  # limitations under the License.
16
16
  #
17
17
 
18
- require_relative "bundle"
19
- require_relative "../version_policy"
20
-
21
18
  desc "Tasks to update and check dependencies"
22
19
  namespace :dependencies do
23
20
 
@@ -93,47 +90,9 @@ namespace :dependencies do
93
90
  berks_update_task :update_kitchen_tests_berksfile_lock, "kitchen-tests"
94
91
  berks_update_task :update_audit_tests_berksfile_lock, "kitchen-tests/cookbooks/audit_test"
95
92
 
96
- desc "Update omnibus overrides, including versions in version_policy.rb and latest version of gems: #{OMNIBUS_RUBYGEMS_AT_LATEST_VERSION.keys}."
97
- task :update_omnibus_overrides do |t, rake_args|
98
- puts ""
99
- puts "-------------------------------------------------------------------"
100
- puts "Updating omnibus_overrides.rb ..."
101
- puts "-------------------------------------------------------------------"
102
-
103
- # Generate the new overrides file
104
- overrides = "# DO NOT EDIT. Generated by \"rake dependencies\". Edit version_policy.rb instead.\n"
105
-
106
- # Replace the bundler and rubygems versions
107
- OMNIBUS_RUBYGEMS_AT_LATEST_VERSION.each do |override_name, gem_name|
108
- # Get the latest bundler version
109
- puts "Running gem list -r #{gem_name} ..."
110
- gem_list = `gem list -r #{gem_name}`
111
- unless gem_list =~ /^#{gem_name}\s*\(([^)]*)\)$/
112
- raise "gem list -r #{gem_name} failed with output:\n#{gem_list}"
113
- end
114
-
115
- # Emit it
116
- puts "Latest version of #{gem_name} is #{$1}"
117
- overrides << "override #{override_name.inspect}, version: #{$1.inspect}\n"
118
- end
119
-
120
- # Add explicit overrides
121
- OMNIBUS_OVERRIDES.each do |override_name, version|
122
- overrides << "override #{override_name.inspect}, version: #{version.inspect}\n"
123
- end
124
-
125
- # Write the file out (if changed)
126
- overrides_path = File.expand_path("../../omnibus_overrides.rb", __FILE__)
127
- if overrides != IO.read(overrides_path)
128
- puts "Overrides changed!"
129
- puts `git diff #{overrides_path}`
130
- puts "Writing modified #{overrides_path} ..."
131
- IO.write(overrides_path, overrides)
132
- end
133
- end
134
93
  end
135
94
 
136
95
  desc "Update all dependencies and check for outdated gems."
137
- task :dependencies_ci => [ "dependencies:update_ci", "bundle:outdated" ]
96
+ task :dependencies_ci => [ "dependencies:update_ci" ]
138
97
  task :dependencies => [ "dependencies:update" ]
139
98
  task :update => [ "dependencies:update" ]
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: 13.1.31
4
+ version: 13.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-30 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.1.31
19
+ version: 13.2.20
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: 13.1.31
26
+ version: 13.2.20
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -467,49 +467,6 @@ files:
467
467
  - README.md
468
468
  - Rakefile
469
469
  - VERSION
470
- - acceptance/.acceptance_data/chef/fips/provision/.chef/config.rb
471
- - acceptance/.acceptance_data/chef/fips/provision/cache/chef-client-running.pid
472
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/.gitignore
473
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/metadata.rb
474
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/destroy.rb
475
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/provision.rb
476
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/verify.rb
477
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.digitalocean.yml
478
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.ec2.yml
479
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.vagrant.yml
480
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/libraries/kitchen.rb
481
- - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/metadata.rb
482
- - acceptance/.acceptance_data/chef/fips/provision/cache/failed-audit-data.json
483
- - acceptance/.acceptance_data/chef/fips/provision/dna.json
484
- - acceptance/.acceptance_data/chef/fips/provision/nodes/remtmay02.json
485
- - acceptance/.acceptance_data/chef/fips/verify/.chef/config.rb
486
- - acceptance/.acceptance_data/chef/fips/verify/cache/chef-client-running.pid
487
- - acceptance/.acceptance_data/chef/fips/verify/cache/chef-stacktrace.out
488
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/.gitignore
489
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/metadata.rb
490
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/destroy.rb
491
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/provision.rb
492
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/verify.rb
493
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.digitalocean.yml
494
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.ec2.yml
495
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.vagrant.yml
496
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/libraries/kitchen.rb
497
- - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/metadata.rb
498
- - acceptance/.acceptance_data/chef/fips/verify/cache/failed-audit-data.json
499
- - acceptance/.acceptance_data/chef/fips/verify/dna.json
500
- - acceptance/.acceptance_data/chef/fips/verify/nodes/remtmay02.json
501
- - acceptance/.acceptance_data/logs/acceptance.log
502
- - acceptance/.acceptance_data/logs/fips/converge/fips-integration-centos-6.log
503
- - acceptance/.acceptance_data/logs/fips/converge/fips-integration-windows-2012r2.log
504
- - acceptance/.acceptance_data/logs/fips/converge/fips-unit-functional-centos-6.log
505
- - acceptance/.acceptance_data/logs/fips/converge/kitchen.log
506
- - acceptance/.acceptance_data/logs/fips/provision.log
507
- - acceptance/.acceptance_data/logs/fips/verify.log
508
- - acceptance/.acceptance_data/logs/fips/verify/fips-integration-centos-6.log
509
- - acceptance/.acceptance_data/logs/fips/verify/fips-integration-windows-2012r2.log
510
- - acceptance/.acceptance_data/logs/fips/verify/fips-unit-functional-centos-6.log
511
- - acceptance/.acceptance_data/logs/fips/verify/kitchen.log
512
- - acceptance/.bundle/config
513
470
  - acceptance/.gitignore
514
471
  - acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
515
472
  - acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
@@ -528,25 +485,6 @@ files:
528
485
  - acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb
529
486
  - acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb
530
487
  - acceptance/basics/test/integration/helpers/serverspec/Gemfile
531
- - acceptance/bin/aws.rb
532
- - acceptance/bin/berks
533
- - acceptance/bin/bundler
534
- - acceptance/bin/chef-acceptance
535
- - acceptance/bin/coderay
536
- - acceptance/bin/erubis
537
- - acceptance/bin/htmldiff
538
- - acceptance/bin/httpclient
539
- - acceptance/bin/inspec
540
- - acceptance/bin/kitchen
541
- - acceptance/bin/ldiff
542
- - acceptance/bin/nokogiri
543
- - acceptance/bin/pry
544
- - acceptance/bin/rake
545
- - acceptance/bin/rspec
546
- - acceptance/bin/rwinrm
547
- - acceptance/bin/rwinrmcp
548
- - acceptance/bin/safe_yaml
549
- - acceptance/bin/thor
550
488
  - acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore
551
489
  - acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb
552
490
  - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb
@@ -567,18 +505,6 @@ files:
567
505
  - acceptance/data-collector/Berksfile
568
506
  - acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
569
507
  - acceptance/data-collector/test/integration/helpers/serverspec/Gemfile
570
- - acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml
571
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name
572
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid
573
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id
574
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid
575
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key
576
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders
577
- - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile
578
- - acceptance/fips/.kitchen/logs/fips-integration-centos-6.log
579
- - acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log
580
- - acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log
581
- - acceptance/fips/.kitchen/logs/kitchen.log
582
508
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore
583
509
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb
584
510
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb
@@ -1554,6 +1480,7 @@ files:
1554
1480
  - lib/chef/version_class.rb
1555
1481
  - lib/chef/version_constraint.rb
1556
1482
  - lib/chef/version_constraint/platform.rb
1483
+ - lib/chef/version_string.rb
1557
1484
  - lib/chef/whitelist.rb
1558
1485
  - lib/chef/win32/api.rb
1559
1486
  - lib/chef/win32/api/crypto.rb
@@ -2664,13 +2591,13 @@ files:
2664
2591
  - spec/unit/version_class_spec.rb
2665
2592
  - spec/unit/version_constraint/platform_spec.rb
2666
2593
  - spec/unit/version_constraint_spec.rb
2594
+ - spec/unit/version_string_spec.rb
2667
2595
  - spec/unit/win32/error_spec.rb
2668
2596
  - spec/unit/win32/registry_spec.rb
2669
2597
  - spec/unit/win32/security_spec.rb
2670
2598
  - spec/unit/windows_service_spec.rb
2671
2599
  - tasks/announce.rb
2672
2600
  - tasks/bin/run_external_test
2673
- - tasks/bundle.rb
2674
2601
  - tasks/cbgb.rb
2675
2602
  - tasks/changelog.rb
2676
2603
  - tasks/dependencies.rb
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_BIN: "bin"
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'aws.rb' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("aws-sdk-core", "aws.rb")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'berks' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("berkshelf", "berks")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'bundler' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("bundler", "bundler")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'chef-acceptance' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("chef-acceptance", "chef-acceptance")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'coderay' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("coderay", "coderay")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'erubis' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("erubis", "erubis")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'htmldiff' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("diff-lcs", "htmldiff")
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
- #
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'httpclient' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
- #
9
-
10
- require "pathname"
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
- Pathname.new(__FILE__).realpath)
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("httpclient", "httpclient")