summaryrefslogtreecommitdiff
path: root/chef-config
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-20 13:07:56 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-20 13:07:56 -0700
commitc65fb9334f3d2b8a9b13cdef069797c298513ade (patch)
treea0f2e8cd297404351c0d5230e67887985b4b026b /chef-config
parentec3933f4ea42ab457999103b7b801917cf4de54a (diff)
downloadchef-c65fb9334f3d2b8a9b13cdef069797c298513ade.tar.gz
Minor gem cleanup for chef-bin/chef-utils/chef-config
Add metadata to chef-config Update the descriptions for Chef Infra Move dev deps to the gemfiles so we're consistent in all the gems in this repo Just dep on rspec since rspec itself is mocks/expectations/core Add rake dep to chef-bin Nuke the unused .rspec file in chef-bin Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-config')
-rw-r--r--chef-config/Gemfile6
-rw-r--r--chef-config/chef-config.gemspec16
2 files changed, 14 insertions, 8 deletions
diff --git a/chef-config/Gemfile b/chef-config/Gemfile
index c3d90e5e6c..7881fe6fd8 100644
--- a/chef-config/Gemfile
+++ b/chef-config/Gemfile
@@ -2,5 +2,9 @@ source "https://rubygems.org"
gem "chef-utils", path: File.expand_path("../chef-utils", __dir__) if File.exist?(File.expand_path("../chef-utils", __dir__))
-# Specify your gem's dependencies in chef-config.gemspec
gemspec
+
+group(:development, :test) do
+ gem "rake"
+ gem "rspec", "~> 3.2"
+end \ No newline at end of file
diff --git a/chef-config/chef-config.gemspec b/chef-config/chef-config.gemspec
index 9ff3b43f44..81bb77663f 100644
--- a/chef-config/chef-config.gemspec
+++ b/chef-config/chef-config.gemspec
@@ -8,12 +8,20 @@ Gem::Specification.new do |spec|
spec.authors = ["Adam Jacob"]
spec.email = ["adam@chef.io"]
- spec.summary = %q{Chef's default configuration and config loading}
+ spec.summary = %q{Chef Infra's default configuration and config loading library}
spec.homepage = "https://github.com/chef/chef"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 2.6.0"
+ spec.metadata = {
+ "bug_tracker_uri" => "https://github.com/chef/chef/issues",
+ "changelog_uri" => "https://github.com/chef/chef/CHANGELOG.md",
+ "documentation_uri" => "https://github.com/chef/chef/tree/master/chef-config/README.md",
+ "homepage_uri" => "https://github.com/chef/chef/tree/master/chef-config",
+ "source_code_uri" => "https://github.com/chef/chef/tree/master/chef-config",
+ }
+
spec.require_paths = ["lib"]
spec.add_dependency "chef-utils", "= #{ChefConfig::VERSION}"
@@ -23,12 +31,6 @@ Gem::Specification.new do |spec|
spec.add_dependency "addressable"
spec.add_dependency "tomlrb", "~> 1.2"
- spec.add_development_dependency "rake"
-
- %w{rspec-core rspec-expectations rspec-mocks}.each do |rspec|
- spec.add_development_dependency(rspec, "~> 3.2")
- end
-
spec.files = %w{Rakefile LICENSE} + Dir.glob("*.gemspec") +
Dir.glob("{lib,spec}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }