Skip to content

Commit

Permalink
Merge pull request #492 from ruby/drop-to-support-ruby-2-2
Browse files Browse the repository at this point in the history
Drop to support ruby 2 2
  • Loading branch information
hsbt committed Apr 11, 2023
2 parents 43c0177 + dbf9d69 commit 745c2fd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.2
min_version: 2.3
engine: cruby-jruby
versions: '["truffleruby"]'

Expand Down
47 changes: 24 additions & 23 deletions rake.gemspec
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
# frozen_string_literal: true
require_relative 'lib/rake/version'

require_relative "lib/rake/version"

Gem::Specification.new do |s|
s.name = "rake".freeze
s.name = "rake"
s.version = Rake::VERSION
s.authors = ["Hiroshi SHIBATA".freeze, "Eric Hodel".freeze, "Jim Weirich".freeze]
s.email = ["hsbt@ruby-lang.org".freeze, "drbrain@segment7.net".freeze, "".freeze]
s.authors = ["Hiroshi SHIBATA", "Eric Hodel", "Jim Weirich"]
s.email = ["hsbt@ruby-lang.org", "drbrain@segment7.net", ""]

s.summary = "Rake is a Make-like program implemented in Ruby".freeze
s.description = <<-DESCRIPTION
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
specified in standard Ruby syntax.
Rake has the following features:
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
* Users can specify tasks with prerequisites.
* Rake supports rule patterns to synthesize implicit tasks.
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
* Supports parallel execution of tasks.
s.summary = "Rake is a Make-like program implemented in Ruby"
s.description = <<~DESCRIPTION
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
specified in standard Ruby syntax.
Rake has the following features:
* Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax.
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?)
* Users can specify tasks with prerequisites.
* Rake supports rule patterns to synthesize implicit tasks.
* Flexible FileLists that act like arrays but know about manipulating file names and paths.
* Supports parallel execution of tasks.
DESCRIPTION
s.homepage = "https://github.com/ruby/rake".freeze
s.licenses = ["MIT".freeze]
s.homepage = "https://github.com/ruby/rake"
s.licenses = ["MIT"]

s.metadata = {
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
"changelog_uri" => "https://github.com/ruby/rake/blob/v#{s.version}/History.rdoc",
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
"changelog_uri" => "https://github.com/ruby/rake/blob/v#{s.version}/History.rdoc",
"documentation_uri" => "https://ruby.github.io/rake",
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}",
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}"
}

s.files = [
Expand Down Expand Up @@ -93,8 +94,8 @@ Rake has the following features:
]
s.bindir = "exe"
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ["lib".freeze]
s.require_paths = ["lib"]

s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
s.required_ruby_version = Gem::Requirement.new(">= 2.3")
s.rdoc_options = ["--main", "README.rdoc"]
end

0 comments on commit 745c2fd

Please sign in to comment.