Skip to content

Commit 745c2fd

Browse files
authored
Merge pull request #492 from ruby/drop-to-support-ruby-2-2
Drop to support ruby 2 2
2 parents 43c0177 + dbf9d69 commit 745c2fd

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
ruby-versions:
1010
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
1111
with:
12-
min_version: 2.2
12+
min_version: 2.3
1313
engine: cruby-jruby
1414
versions: '["truffleruby"]'
1515

rake.gemspec

+24-23
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
# frozen_string_literal: true
2-
require_relative 'lib/rake/version'
2+
3+
require_relative "lib/rake/version"
34

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

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

2526
s.metadata = {
26-
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
27-
"changelog_uri" => "https://github.com/ruby/rake/blob/v#{s.version}/History.rdoc",
27+
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
28+
"changelog_uri" => "https://github.com/ruby/rake/blob/v#{s.version}/History.rdoc",
2829
"documentation_uri" => "https://ruby.github.io/rake",
29-
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}",
30+
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}"
3031
}
3132

3233
s.files = [
@@ -93,8 +94,8 @@ Rake has the following features:
9394
]
9495
s.bindir = "exe"
9596
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
96-
s.require_paths = ["lib".freeze]
97+
s.require_paths = ["lib"]
9798

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

0 commit comments

Comments
 (0)