chef-cli 1.0.3 → 1.0.6

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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -0
  3. data/chef-cli.gemspec +2 -2
  4. data/lib/chef-cli/builtin_commands.rb +3 -0
  5. data/lib/chef-cli/cli.rb +3 -1
  6. data/lib/chef-cli/command/clean_policy_cookbooks.rb +1 -0
  7. data/lib/chef-cli/command/clean_policy_revisions.rb +1 -0
  8. data/lib/chef-cli/command/delete_policy.rb +1 -0
  9. data/lib/chef-cli/command/delete_policy_group.rb +1 -0
  10. data/lib/chef-cli/command/describe_cookbook.rb +1 -0
  11. data/lib/chef-cli/command/diff.rb +5 -3
  12. data/lib/chef-cli/command/env.rb +3 -3
  13. data/lib/chef-cli/command/export.rb +1 -0
  14. data/lib/chef-cli/command/generate.rb +1 -0
  15. data/lib/chef-cli/command/generator_commands/chef_exts/quieter_doc_formatter.rb +2 -4
  16. data/lib/chef-cli/command/generator_commands/generator_generator.rb +1 -0
  17. data/lib/chef-cli/command/install.rb +1 -0
  18. data/lib/chef-cli/command/push.rb +1 -0
  19. data/lib/chef-cli/command/push_archive.rb +1 -1
  20. data/lib/chef-cli/command/shell_init.rb +3 -2
  21. data/lib/chef-cli/command/show_policy.rb +1 -0
  22. data/lib/chef-cli/command/undelete.rb +1 -0
  23. data/lib/chef-cli/command/update.rb +1 -0
  24. data/lib/chef-cli/component_test.rb +2 -1
  25. data/lib/chef-cli/configurable.rb +3 -2
  26. data/lib/chef-cli/cookbook_profiler/null_scm.rb +1 -2
  27. data/lib/chef-cli/generator.rb +1 -1
  28. data/lib/chef-cli/helpers.rb +2 -1
  29. data/lib/chef-cli/policyfile/artifactory_cookbook_source.rb +1 -1
  30. data/lib/chef-cli/policyfile/attribute_merge_checker.rb +1 -1
  31. data/lib/chef-cli/policyfile/chef_repo_cookbook_source.rb +1 -1
  32. data/lib/chef-cli/policyfile/chef_server_cookbook_source.rb +3 -3
  33. data/lib/chef-cli/policyfile/chef_server_lock_fetcher.rb +5 -5
  34. data/lib/chef-cli/policyfile/community_cookbook_source.rb +1 -1
  35. data/lib/chef-cli/policyfile/comparison_base.rb +1 -0
  36. data/lib/chef-cli/policyfile/cookbook_location_specification.rb +4 -4
  37. data/lib/chef-cli/policyfile/cookbook_locks.rb +8 -5
  38. data/lib/chef-cli/policyfile/delivery_supermarket_source.rb +1 -1
  39. data/lib/chef-cli/policyfile/differ.rb +6 -2
  40. data/lib/chef-cli/policyfile/dsl.rb +4 -2
  41. data/lib/chef-cli/policyfile/git_lock_fetcher.rb +2 -2
  42. data/lib/chef-cli/policyfile/included_policies_cookbook_source.rb +1 -1
  43. data/lib/chef-cli/policyfile/lister.rb +2 -2
  44. data/lib/chef-cli/policyfile/local_lock_fetcher.rb +7 -5
  45. data/lib/chef-cli/policyfile/lock_applier.rb +1 -1
  46. data/lib/chef-cli/policyfile/null_cookbook_source.rb +1 -2
  47. data/lib/chef-cli/policyfile/policyfile_location_specification.rb +3 -3
  48. data/lib/chef-cli/policyfile/remote_lock_fetcher.rb +1 -1
  49. data/lib/chef-cli/policyfile/solution_dependencies.rb +13 -11
  50. data/lib/chef-cli/policyfile/storage_config.rb +1 -0
  51. data/lib/chef-cli/policyfile/undo_record.rb +10 -8
  52. data/lib/chef-cli/policyfile/uploader.rb +3 -1
  53. data/lib/chef-cli/policyfile_compiler.rb +17 -13
  54. data/lib/chef-cli/policyfile_lock.rb +17 -15
  55. data/lib/chef-cli/policyfile_services/clean_policies.rb +3 -3
  56. data/lib/chef-cli/policyfile_services/clean_policy_cookbooks.rb +2 -2
  57. data/lib/chef-cli/policyfile_services/export_repo.rb +4 -2
  58. data/lib/chef-cli/policyfile_services/install.rb +3 -1
  59. data/lib/chef-cli/policyfile_services/push.rb +6 -5
  60. data/lib/chef-cli/policyfile_services/push_archive.rb +6 -5
  61. data/lib/chef-cli/policyfile_services/rm_policy.rb +6 -2
  62. data/lib/chef-cli/policyfile_services/rm_policy_group.rb +2 -2
  63. data/lib/chef-cli/policyfile_services/show_policy.rb +2 -2
  64. data/lib/chef-cli/policyfile_services/undelete.rb +2 -2
  65. data/lib/chef-cli/version.rb +1 -1
  66. data/lib/kitchen/provisioner/policyfile_zero.rb +3 -6
  67. data/spec/unit/cli_spec.rb +5 -5
  68. data/spec/unit/command/base_spec.rb +1 -1
  69. data/spec/unit/command/env_spec.rb +1 -1
  70. data/spec/unit/command/exec_spec.rb +1 -1
  71. data/spec/unit/command/export_spec.rb +1 -1
  72. data/spec/unit/command/generator_commands/recipe_spec.rb +2 -1
  73. data/spec/unit/command/generator_commands/repo_spec.rb +6 -6
  74. data/spec/unit/command/verify_spec.rb +1 -1
  75. data/spec/unit/policyfile/attribute_merge_checker_spec.rb +10 -8
  76. data/spec/unit/policyfile/chef_server_lock_fetcher_spec.rb +4 -2
  77. data/spec/unit/policyfile/cookbook_locks_spec.rb +9 -9
  78. data/spec/unit/policyfile/git_lock_fetcher_spec.rb +5 -5
  79. data/spec/unit/policyfile/included_policies_cookbook_source_spec.rb +5 -3
  80. data/spec/unit/policyfile/lister_spec.rb +5 -5
  81. data/spec/unit/policyfile/local_lock_fetcher_spec.rb +1 -1
  82. data/spec/unit/policyfile/lock_applier_spec.rb +2 -2
  83. data/spec/unit/policyfile/reports/install_spec.rb +14 -14
  84. data/spec/unit/policyfile/reports/upload_spec.rb +3 -3
  85. data/spec/unit/policyfile/uploader_spec.rb +13 -12
  86. data/spec/unit/policyfile_demands_spec.rb +4 -4
  87. data/spec/unit/policyfile_includes_spec.rb +14 -7
  88. data/spec/unit/policyfile_install_with_includes_spec.rb +8 -7
  89. data/spec/unit/policyfile_lock_build_spec.rb +17 -18
  90. data/spec/unit/policyfile_services/clean_policy_cookbooks_spec.rb +5 -5
  91. data/spec/unit/policyfile_services/push_archive_spec.rb +6 -6
  92. data/spec/unit/policyfile_services/push_spec.rb +8 -8
  93. data/spec/unit/policyfile_services/rm_policy_group_spec.rb +5 -5
  94. data/spec/unit/policyfile_services/rm_policy_spec.rb +5 -5
  95. data/spec/unit/policyfile_services/update_attributes_spec.rb +2 -1
  96. data/spec/unit/service_exception_inspectors/http_spec.rb +7 -7
  97. metadata +7 -7
@@ -247,7 +247,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
247
247
 
248
248
  it "emits a lockfile where cookbooks pulled from the upstream are at identical versions" do
249
249
  expect(policyfile_lock.to_lock["solution_dependencies"]["dependencies"]).to(
250
- have_key("cookbookC (2.0.0)"))
250
+ have_key("cookbookC (2.0.0)")
251
+ )
251
252
  end
252
253
  end
253
254
 
@@ -266,7 +267,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
266
267
  let(:run_list) { [] }
267
268
  it "it defaults to those provided in the included policy lock" do
268
269
  expect(policyfile_lock.to_lock["solution_dependencies"]["dependencies"]).to(
269
- have_key("cookbookC (2.0.0)"))
270
+ have_key("cookbookC (2.0.0)")
271
+ )
270
272
  end
271
273
  end
272
274
 
@@ -309,7 +311,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
309
311
 
310
312
  it "solves the dependencies added by the top-level policyfile and emits them in the lockfile" do
311
313
  expect(policyfile_lock.to_lock["solution_dependencies"]["dependencies"]).to(
312
- have_key("cookbookC (2.0.0)"))
314
+ have_key("cookbookC (2.0.0)")
315
+ )
313
316
  end
314
317
 
315
318
  end
@@ -375,7 +378,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
375
378
  it "raises an error describing all attribute conflicts" do
376
379
  expect { policyfile_lock.to_lock }.to raise_error(
377
380
  ChefCLI::Policyfile::AttributeMergeChecker::ConflictError,
378
- "Attribute '[shared][foo]' provided conflicting values by the following sources [\"user-specified\", \"included\"]")
381
+ "Attribute '[shared][foo]' provided conflicting values by the following sources [\"user-specified\", \"included\"]"
382
+ )
379
383
  end
380
384
  end
381
385
  end
@@ -425,7 +429,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
425
429
  it "raises an error describing all attribute conflicts" do
426
430
  expect { policyfile_lock.to_lock }.to raise_error(
427
431
  ChefCLI::Policyfile::AttributeMergeChecker::ConflictError,
428
- "Attribute '[shared][foo]' provided conflicting values by the following sources [\"user-specified\", \"included\"]")
432
+ "Attribute '[shared][foo]' provided conflicting values by the following sources [\"user-specified\", \"included\"]"
433
+ )
429
434
  end
430
435
  end
431
436
  end
@@ -652,7 +657,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
652
657
  it "raises an error describing the conflict" do
653
658
  expect { policyfile_lock }.to raise_error(
654
659
  ChefCLI::Policyfile::AttributeMergeChecker::ConflictError,
655
- "Attribute '[conflict][foo]' provided conflicting values by the following sources [\"included\", \"included2\"]")
660
+ "Attribute '[conflict][foo]' provided conflicting values by the following sources [\"included\", \"included2\"]"
661
+ )
656
662
  end
657
663
  end
658
664
  end
@@ -711,7 +717,8 @@ describe ChefCLI::PolicyfileCompiler, "including upstream policy locks" do
711
717
  it "raises an error describing the conflict" do
712
718
  expect { policyfile_lock }.to raise_error(
713
719
  ChefCLI::Policyfile::AttributeMergeChecker::ConflictError,
714
- "Attribute '[conflict][foo]' provided conflicting values by the following sources [\"included\", \"included2\"]")
720
+ "Attribute '[conflict][foo]' provided conflicting values by the following sources [\"included\", \"included2\"]"
721
+ )
715
722
  end
716
723
  end
717
724
  end
@@ -162,10 +162,10 @@ describe ChefCLI::PolicyfileLock, "installing cookbooks from included policies"
162
162
 
163
163
  allow(ChefCLI::Policyfile::CookbookLocationSpecification).to receive(:new) do |cookbook_name, version_constraint, source_opts, storage_config|
164
164
  double = instance_double("ChefCLI::Policyfile::CookbookLocationSpecification",
165
- name: cookbook_name,
166
- version_constraint: Semverse::Constraint.new(version_constraint),
167
- ensure_cached: nil,
168
- to_s: "#{cookbook_name} #{version_constraint}")
165
+ name: cookbook_name,
166
+ version_constraint: Semverse::Constraint.new(version_constraint),
167
+ ensure_cached: nil,
168
+ to_s: "#{cookbook_name} #{version_constraint}")
169
169
  allow(double).to receive(:cookbook_has_recipe?).and_return(true)
170
170
  allow(double).to receive(:installed?).and_return(true)
171
171
  allow(double).to receive(:mirrors_canonical_upstream?).and_return(true)
@@ -207,8 +207,8 @@ describe ChefCLI::PolicyfileLock, "installing cookbooks from included policies"
207
207
  allow(mock).to receive(:validate!)
208
208
  allow(mock).to receive(:cookbook_version) do
209
209
  instance_double("Chef::CookbookVersion",
210
- version: mock.source_options[:version],
211
- manifest_records_by_path: [])
210
+ version: mock.source_options[:version],
211
+ manifest_records_by_path: [])
212
212
  end
213
213
  mock
214
214
  end
@@ -226,7 +226,8 @@ describe ChefCLI::PolicyfileLock, "installing cookbooks from included policies"
226
226
  "revision_id" => "myrevisionid",
227
227
  "source_options" => lock_source_options,
228
228
  },
229
- ])
229
+ ]
230
+ )
230
231
  end
231
232
  end
232
233
  end
@@ -30,7 +30,7 @@ describe ChefCLI::PolicyfileLock, "building a lockfile" do
30
30
  def expect_hash_equal(actual, expected)
31
31
  expected.each do |key, expected_value|
32
32
  expect(actual).to have_key(key)
33
- if expected_value.kind_of?(Hash)
33
+ if expected_value.is_a?(Hash)
34
34
  expect_hash_equal(actual[key], expected_value)
35
35
  else
36
36
  expect(actual[key]).to eq(expected_value)
@@ -876,18 +876,18 @@ describe ChefCLI::PolicyfileLock, "building a lockfile" do
876
876
 
877
877
  let(:cached_location_spec) do
878
878
  double( "ChefCLI::Policyfile::CookbookLocationSpecification",
879
- mirrors_canonical_upstream?: true,
880
- cache_key: "foo-1.0.0",
881
- uri: cached_cookbook_uri,
882
- source_options_for_lock: { "artifactserver" => cached_cookbook_uri, "version" => "1.0.0" })
879
+ mirrors_canonical_upstream?: true,
880
+ cache_key: "foo-1.0.0",
881
+ uri: cached_cookbook_uri,
882
+ source_options_for_lock: { "artifactserver" => cached_cookbook_uri, "version" => "1.0.0" })
883
883
  end
884
884
 
885
885
  let(:local_location_spec) do
886
886
  double( "ChefCLI::Policyfile::CookbookLocationSpecification",
887
- mirrors_canonical_upstream?: false,
888
- relative_paths_root: relative_paths_root,
889
- relative_path: "bar",
890
- source_options_for_lock: { "path" => "bar" })
887
+ mirrors_canonical_upstream?: false,
888
+ relative_paths_root: relative_paths_root,
889
+ relative_path: "bar",
890
+ source_options_for_lock: { "path" => "bar" })
891
891
  end
892
892
 
893
893
  let(:policyfile_solution_dependencies) do
@@ -933,15 +933,14 @@ describe ChefCLI::PolicyfileLock, "building a lockfile" do
933
933
 
934
934
  let(:policyfile_compiler) do
935
935
  double( "ChefCLI::PolicyfileCompiler",
936
- name: "my-policyfile",
937
- normalized_run_list: %w{recipe[foo::default] recipe[bar::default]},
938
- normalized_named_run_lists: { "rl2" => %w{recipe[bar::default]} },
939
- all_cookbook_location_specs: { "foo" => cached_location_spec, "bar" => local_location_spec },
940
- solution_dependencies: policyfile_solution_dependencies,
941
- default_attributes: policyfile_default_attrs,
942
- override_attributes: policyfile_override_attrs,
943
- included_policies: []
944
- )
936
+ name: "my-policyfile",
937
+ normalized_run_list: %w{recipe[foo::default] recipe[bar::default]},
938
+ normalized_named_run_lists: { "rl2" => %w{recipe[bar::default]} },
939
+ all_cookbook_location_specs: { "foo" => cached_location_spec, "bar" => local_location_spec },
940
+ solution_dependencies: policyfile_solution_dependencies,
941
+ default_attributes: policyfile_default_attrs,
942
+ override_attributes: policyfile_override_attrs,
943
+ included_policies: [])
945
944
  end
946
945
 
947
946
  let(:policyfile_lock) do
@@ -78,9 +78,9 @@ describe ChefCLI::PolicyfileServices::CleanPolicyCookbooks do
78
78
 
79
79
  let(:chef_config) do
80
80
  double("Chef::Config",
81
- chef_server_url: "https://localhost:10443",
82
- client_key: "/path/to/client/key.pem",
83
- node_name: "deuce")
81
+ chef_server_url: "https://localhost:10443",
82
+ client_key: "/path/to/client/key.pem",
83
+ node_name: "deuce")
84
84
  end
85
85
 
86
86
  subject(:clean_policy_cookbooks_service) do
@@ -89,8 +89,8 @@ describe ChefCLI::PolicyfileServices::CleanPolicyCookbooks do
89
89
 
90
90
  it "configures an HTTP client with the user's credentials" do
91
91
  expect(Chef::ServerAPI).to receive(:new).with("https://localhost:10443",
92
- signing_key_filename: "/path/to/client/key.pem",
93
- client_name: "deuce")
92
+ signing_key_filename: "/path/to/client/key.pem",
93
+ client_name: "deuce")
94
94
  clean_policy_cookbooks_service.http_client
95
95
  end
96
96
 
@@ -98,10 +98,10 @@ describe ChefCLI::PolicyfileServices::PushArchive do
98
98
 
99
99
  let(:config) do
100
100
  double("Chef::Config",
101
- chef_server_url: "https://localhost:10443",
102
- client_key: "/path/to/client/key.pem",
103
- node_name: "deuce",
104
- policy_document_native_api: true)
101
+ chef_server_url: "https://localhost:10443",
102
+ client_key: "/path/to/client/key.pem",
103
+ node_name: "deuce",
104
+ policy_document_native_api: true)
105
105
  end
106
106
 
107
107
  let(:ui) { TestHelpers::TestUI.new }
@@ -121,8 +121,8 @@ describe ChefCLI::PolicyfileServices::PushArchive do
121
121
 
122
122
  it "configures an HTTP client" do
123
123
  expect(Chef::ServerAPI).to receive(:new).with("https://localhost:10443",
124
- signing_key_filename: "/path/to/client/key.pem",
125
- client_name: "deuce")
124
+ signing_key_filename: "/path/to/client/key.pem",
125
+ client_name: "deuce")
126
126
  push_archive_service.http_client
127
127
  end
128
128
 
@@ -48,10 +48,10 @@ describe ChefCLI::PolicyfileServices::Push do
48
48
 
49
49
  let(:config) do
50
50
  double("Chef::Config",
51
- chef_server_url: "https://localhost:10443",
52
- client_key: "/path/to/client/key.pem",
53
- node_name: "deuce",
54
- policy_document_native_api: policy_document_native_api)
51
+ chef_server_url: "https://localhost:10443",
52
+ client_key: "/path/to/client/key.pem",
53
+ node_name: "deuce",
54
+ policy_document_native_api: policy_document_native_api)
55
55
  end
56
56
 
57
57
  let(:ui) { TestHelpers::TestUI.new }
@@ -60,8 +60,8 @@ describe ChefCLI::PolicyfileServices::Push do
60
60
 
61
61
  it "configures an HTTP client" do
62
62
  expect(Chef::ServerAPI).to receive(:new).with("https://localhost:10443",
63
- signing_key_filename: "/path/to/client/key.pem",
64
- client_name: "deuce")
63
+ signing_key_filename: "/path/to/client/key.pem",
64
+ client_name: "deuce")
65
65
  push_service.http_client
66
66
  end
67
67
 
@@ -190,8 +190,8 @@ describe ChefCLI::PolicyfileServices::Push do
190
190
  expect(push_service).to receive(:http_client).and_return(http_client)
191
191
 
192
192
  expect(ChefCLI::Policyfile::Uploader).to receive(:new)
193
- .with(push_service.policyfile_lock, policy_group, http_client: http_client, ui: ui, policy_document_native_api: policy_document_native_api)
194
- .and_return(uploader)
193
+ .with(push_service.policyfile_lock, policy_group, http_client: http_client, ui: ui, policy_document_native_api: policy_document_native_api)
194
+ .and_return(uploader)
195
195
  end
196
196
 
197
197
  context "when the policy document native API is disabled" do
@@ -60,9 +60,9 @@ describe ChefCLI::PolicyfileServices::RmPolicyGroup do
60
60
 
61
61
  let(:chef_config) do
62
62
  double("Chef::Config",
63
- chef_server_url: "https://localhost:10443",
64
- client_key: "/path/to/client/key.pem",
65
- node_name: "deuce")
63
+ chef_server_url: "https://localhost:10443",
64
+ client_key: "/path/to/client/key.pem",
65
+ node_name: "deuce")
66
66
  end
67
67
 
68
68
  subject(:rm_policy_group_service) do
@@ -79,8 +79,8 @@ describe ChefCLI::PolicyfileServices::RmPolicyGroup do
79
79
 
80
80
  it "configures an HTTP client" do
81
81
  expect(Chef::ServerAPI).to receive(:new).with("https://localhost:10443",
82
- signing_key_filename: "/path/to/client/key.pem",
83
- client_name: "deuce")
82
+ signing_key_filename: "/path/to/client/key.pem",
83
+ client_name: "deuce")
84
84
  rm_policy_group_service.http_client
85
85
  end
86
86
 
@@ -36,9 +36,9 @@ describe ChefCLI::PolicyfileServices::RmPolicy do
36
36
 
37
37
  let(:chef_config) do
38
38
  double("Chef::Config",
39
- chef_server_url: "https://localhost:10443",
40
- client_key: "/path/to/client/key.pem",
41
- node_name: "deuce")
39
+ chef_server_url: "https://localhost:10443",
40
+ client_key: "/path/to/client/key.pem",
41
+ node_name: "deuce")
42
42
  end
43
43
 
44
44
  subject(:rm_policy_service) do
@@ -55,8 +55,8 @@ describe ChefCLI::PolicyfileServices::RmPolicy do
55
55
 
56
56
  it "configures an HTTP client" do
57
57
  expect(Chef::ServerAPI).to receive(:new).with("https://localhost:10443",
58
- signing_key_filename: "/path/to/client/key.pem",
59
- client_name: "deuce")
58
+ signing_key_filename: "/path/to/client/key.pem",
59
+ client_name: "deuce")
60
60
  rm_policy_service.http_client
61
61
  end
62
62
 
@@ -174,7 +174,8 @@ describe ChefCLI::PolicyfileServices::UpdateAttributes do
174
174
 
175
175
  it "locks the included policyfile" do
176
176
  expect(ChefCLI::Policyfile::LockApplier).to receive(:new).with(
177
- update_attrs_service.policyfile_lock, update_attrs_service.policyfile_compiler).and_return(lock_applier)
177
+ update_attrs_service.policyfile_lock, update_attrs_service.policyfile_compiler
178
+ ).and_return(lock_applier)
178
179
  expect(lock_applier).not_to receive(:with_unlocked_policies)
179
180
  expect(lock_applier).to receive(:apply!)
180
181
 
@@ -37,10 +37,10 @@ describe ChefCLI::ServiceExceptionInspectors::HTTP do
37
37
 
38
38
  let(:request) do
39
39
  r = instance_double(Net::HTTP::Post,
40
- method: "POST",
41
- uri: nil,
42
- path: "/organizations/chef-oss-dev/cookbooks",
43
- body: request_body)
40
+ method: "POST",
41
+ uri: nil,
42
+ path: "/organizations/chef-oss-dev/cookbooks",
43
+ body: request_body)
44
44
  stub = allow(r).to(receive(:each_header))
45
45
  request_headers.each { |k, v| stub.and_yield(k, v) }
46
46
  r
@@ -55,9 +55,9 @@ describe ChefCLI::ServiceExceptionInspectors::HTTP do
55
55
 
56
56
  let(:response) do
57
57
  r = instance_double(Net::HTTPClientError,
58
- code: "400",
59
- message: "Bad Request",
60
- body: response_body)
58
+ code: "400",
59
+ message: "Bad Request",
60
+ body: response_body)
61
61
  stub = allow(r).to(receive(:each_header))
62
62
  response_headers.each { |k, v| stub.and_yield(k, v) }
63
63
  r
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-08 00:00:00.000000000 Z
11
+ date: 2019-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-cli
@@ -88,16 +88,16 @@ dependencies:
88
88
  name: chef
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - "~>"
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: '15.0'
93
+ version: '14.0'
94
94
  type: :runtime
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - "~>"
98
+ - - ">="
99
99
  - !ruby/object:Gem::Version
100
- version: '15.0'
100
+ version: '14.0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: solve
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -590,7 +590,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
590
590
  requirements:
591
591
  - - ">="
592
592
  - !ruby/object:Gem::Version
593
- version: '2.5'
593
+ version: '2.4'
594
594
  required_rubygems_version: !ruby/object:Gem::Requirement
595
595
  requirements:
596
596
  - - ">="