summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-04-28 08:32:21 -0700
committerGitHub <noreply@github.com>2021-04-28 08:32:21 -0700
commitcbe13dbf9e45e34c795155ca52f6ea93a7a6899e (patch)
tree5f5cd63dae3bea4c2c3865312ac28085bbf29988
parentb3a601ed71cb5b33f4c7147b067db01e4eb318fb (diff)
parent4389106062ca2a37f0dbc3e3c7d9baf4e29d67eb (diff)
downloadchef-cbe13dbf9e45e34c795155ca52f6ea93a7a6899e.tar.gz
Merge pull request #11463 from chef/fix_knife
Fix building knife and make it require Ruby 2.7
-rw-r--r--knife/knife.gemspec8
1 files changed, 4 insertions, 4 deletions
diff --git a/knife/knife.gemspec b/knife/knife.gemspec
index a9f3e2926d..f43cd0bfb1 100644
--- a/knife/knife.gemspec
+++ b/knife/knife.gemspec
@@ -5,15 +5,15 @@ Gem::Specification.new do |s|
s.name = "knife"
s.version = Chef::Knife::VERSION
s.platform = Gem::Platform::RUBY
- s.extra_rdoc_files = ["README.md", "LICENSE" ]
- s.summary = "Let's find a good description."
+ s.extra_rdoc_files = ["LICENSE"]
+ s.summary = "The knife CLI for Chef Infra."
s.description = s.summary
s.license = "Apache-2.0"
s.author = "Adam Jacob"
s.email = "adam@chef.io" # These seem a bit out of date, and this address probably doesn't go anywhere anymore?
s.homepage = "https://www.chef.io"
- s.required_ruby_version = ">= 2.6.0"
+ s.required_ruby_version = ">= 2.7.0"
s.add_dependency "chef-config", "= #{Chef::Knife::VERSION}"
s.add_dependency "chef-utils", "= #{Chef::Knife::VERSION}"
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
s.executables = %w{ knife }
s.require_paths = %w{ lib }
- s.files = %w{Gemfile Rakefile LICENSE README.md knife.gemspec} +
+ s.files = %w{Gemfile Rakefile LICENSE knife.gemspec} +
Dir.glob("lib/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } +
Dir.glob("../spec/**/*", File::FNM_DOTMATCH).reject do |f|
File.directory?(f) || (