|
1 | 1 | # frozen_string_literal: true |
2 | | -require_relative 'lib/rake/version' |
| 2 | + |
| 3 | +require_relative "lib/rake/version" |
3 | 4 |
|
4 | 5 | Gem::Specification.new do |s| |
5 | | - s.name = "rake".freeze |
| 6 | + s.name = "rake" |
6 | 7 | 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", ""] |
9 | 10 |
|
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. |
21 | 22 | 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"] |
24 | 25 |
|
25 | 26 | 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", |
28 | 29 | "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}" |
30 | 31 | } |
31 | 32 |
|
32 | 33 | s.files = [ |
@@ -93,8 +94,8 @@ Rake has the following features: |
93 | 94 | ] |
94 | 95 | s.bindir = "exe" |
95 | 96 | s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) } |
96 | | - s.require_paths = ["lib".freeze] |
| 97 | + s.require_paths = ["lib"] |
97 | 98 |
|
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"] |
100 | 101 | end |
0 commit comments