kettle-dev 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.devcontainer/devcontainer.json +26 -0
- data/.envrc +42 -0
- data/.git-hooks/commit-msg +41 -0
- data/.git-hooks/commit-subjects-goalie.txt +8 -0
- data/.git-hooks/footer-template.erb.txt +16 -0
- data/.git-hooks/prepare-commit-msg +20 -0
- data/.github/FUNDING.yml +13 -0
- data/.github/dependabot.yml +11 -0
- data/.github/workflows/ancient.yml +80 -0
- data/.github/workflows/auto-assign.yml +21 -0
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/.github/workflows/coverage.yml +130 -0
- data/.github/workflows/current.yml +88 -0
- data/.github/workflows/dependency-review.yml +20 -0
- data/.github/workflows/discord-notifier.yml +38 -0
- data/.github/workflows/heads.yml +87 -0
- data/.github/workflows/jruby.yml +79 -0
- data/.github/workflows/legacy.yml +70 -0
- data/.github/workflows/locked_deps.yml +88 -0
- data/.github/workflows/opencollective.yml +40 -0
- data/.github/workflows/style.yml +67 -0
- data/.github/workflows/supported.yml +85 -0
- data/.github/workflows/truffle.yml +78 -0
- data/.github/workflows/unlocked_deps.yml +87 -0
- data/.github/workflows/unsupported.yml +78 -0
- data/.gitignore +48 -0
- data/.gitlab-ci.yml +45 -0
- data/.junie/guidelines-rbs.md +49 -0
- data/.junie/guidelines.md +132 -0
- data/.opencollective.yml +3 -0
- data/.qlty/qlty.toml +79 -0
- data/.rspec +8 -0
- data/.rubocop.yml +13 -0
- data/.simplecov +7 -0
- data/.tool-versions +1 -0
- data/.yard_gfm_support.rb +22 -0
- data/.yardopts +11 -0
- data/Appraisal.root.gemfile +12 -0
- data/Appraisals +120 -0
- data/CHANGELOG.md +12 -1
- data/Gemfile +32 -0
- data/Rakefile +99 -0
- data/checksums/kettle-dev-1.0.2.gem.sha256 +1 -0
- data/checksums/kettle-dev-1.0.2.gem.sha512 +1 -0
- data/gemfiles/modular/coverage.gemfile +6 -0
- data/gemfiles/modular/documentation.gemfile +11 -0
- data/gemfiles/modular/style.gemfile +16 -0
- data/lib/kettle/dev/rakelib/appraisal.rake +40 -0
- data/lib/kettle/dev/rakelib/bench.rake +58 -0
- data/lib/kettle/dev/rakelib/bundle_audit.rake +18 -0
- data/lib/kettle/dev/rakelib/ci.rake +348 -0
- data/lib/kettle/dev/rakelib/install.rake +304 -0
- data/lib/kettle/dev/rakelib/reek.rake +34 -0
- data/lib/kettle/dev/rakelib/require_bench.rake +7 -0
- data/lib/kettle/dev/rakelib/rubocop_gradual.rake +9 -0
- data/lib/kettle/dev/rakelib/spec_test.rake +42 -0
- data/lib/kettle/dev/rakelib/template.rake +413 -0
- data/lib/kettle/dev/rakelib/yard.rake +33 -0
- data/lib/kettle/dev/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +63 -4
- metadata.gz.sig +3 -2
@@ -0,0 +1,304 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Install helpers for kettle-dev
|
4
|
+
# Creates a .github directory in the invoking project, copying the templates
|
5
|
+
# from this library's repository checkout (when available), and sets executable
|
6
|
+
# bits on script files. Also prints post-install instructions.
|
7
|
+
namespace :kettle do
|
8
|
+
namespace :dev do
|
9
|
+
desc "Install kettle-dev GitHub automation and setup hints into the current project"
|
10
|
+
task :install do
|
11
|
+
require "fileutils"
|
12
|
+
require "kettle/dev/template_helpers"
|
13
|
+
|
14
|
+
helpers = Kettle::Dev::TemplateHelpers
|
15
|
+
|
16
|
+
# Determine invoking project root (where rake was started)
|
17
|
+
project_root = helpers.project_root
|
18
|
+
|
19
|
+
# Run file templating via dedicated task
|
20
|
+
Rake::Task["kettle:dev:template"].invoke
|
21
|
+
# template task does the clean git check first thing.
|
22
|
+
# If template is moved do it does not run here, then the clean git check must be run here instead.
|
23
|
+
# Ensure git working tree is clean before making changes
|
24
|
+
# helpers.ensure_clean_git!(root: project_root, task_label: "kettle:dev:install")
|
25
|
+
|
26
|
+
# .tool-versions cleanup offers
|
27
|
+
tool_versions_path = File.join(project_root, ".tool-versions")
|
28
|
+
if File.file?(tool_versions_path)
|
29
|
+
rv = File.join(project_root, ".ruby-version")
|
30
|
+
rg = File.join(project_root, ".ruby-gemset")
|
31
|
+
to_remove = [rv, rg].select { |p| File.exist?(p) }
|
32
|
+
unless to_remove.empty?
|
33
|
+
if helpers.ask("Remove #{to_remove.map { |p| File.basename(p) }.join(" and ")} (managed by .tool-versions)?", true)
|
34
|
+
to_remove.each { |p| FileUtils.rm_f(p) }
|
35
|
+
puts "Removed #{to_remove.map { |p| File.basename(p) }.join(" and ")}"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
puts
|
41
|
+
puts "Next steps:"
|
42
|
+
puts "1) Configure a shared git hooks path (optional, recommended):"
|
43
|
+
puts " git config --global core.hooksPath .git-hooks"
|
44
|
+
puts
|
45
|
+
puts "2) Install binstubs for this gem so the commit-msg tool is available in ./bin:"
|
46
|
+
puts " bundle binstubs kettle-dev --path bin"
|
47
|
+
puts " # After running, you should have bin/kettle-commit-msg (wrapper)."
|
48
|
+
puts
|
49
|
+
# Step 3: direnv and .envrc
|
50
|
+
envrc_path = File.join(project_root, ".envrc")
|
51
|
+
puts "3) Install direnv (if not already):"
|
52
|
+
puts " brew install direnv"
|
53
|
+
if helpers.modified_by_template?(envrc_path)
|
54
|
+
puts " Your .envrc was created/updated by kettle:dev:template."
|
55
|
+
puts " It includes PATH_add bin so that executables in ./bin are on PATH when direnv is active."
|
56
|
+
puts " This allows running tools without the bin/ prefix inside the project directory."
|
57
|
+
else
|
58
|
+
# Ensure PATH_add bin exists in .envrc if the template task did not modify it this run
|
59
|
+
begin
|
60
|
+
current = File.file?(envrc_path) ? File.read(envrc_path) : ""
|
61
|
+
rescue StandardError
|
62
|
+
current = ""
|
63
|
+
end
|
64
|
+
has_path_add = current.lines.any? { |l| l.strip =~ /^PATH_add\s+bin\b/ }
|
65
|
+
if has_path_add
|
66
|
+
puts " Your .envrc already contains PATH_add bin."
|
67
|
+
else
|
68
|
+
puts " Adding PATH_add bin to your project's .envrc is recommended to expose ./bin on PATH."
|
69
|
+
if helpers.ask("Add PATH_add bin to #{envrc_path}?", true)
|
70
|
+
content = current.dup
|
71
|
+
insertion = "# Run any command in this project's bin/ without the bin/ prefix\nPATH_add bin\n"
|
72
|
+
if content.empty?
|
73
|
+
content = insertion
|
74
|
+
else
|
75
|
+
content = insertion + "\n" + content unless content.start_with?(insertion)
|
76
|
+
end
|
77
|
+
File.open(envrc_path, "w") { |f| f.write(content) }
|
78
|
+
puts " Updated #{envrc_path} with PATH_add bin"
|
79
|
+
updated_envrc_by_install = true
|
80
|
+
else
|
81
|
+
puts " Skipping modification of .envrc. You may add 'PATH_add bin' manually at the top."
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# Warn about .env.local and offer to add it to .gitignore
|
87
|
+
puts
|
88
|
+
puts "WARNING: Do not commit .env.local; it often contains machine-local secrets."
|
89
|
+
puts "Ensure your .gitignore includes:"
|
90
|
+
puts " # direnv - brew install direnv"
|
91
|
+
puts " .env.local"
|
92
|
+
|
93
|
+
gitignore_path = File.join(project_root, ".gitignore")
|
94
|
+
if helpers.modified_by_template?(gitignore_path)
|
95
|
+
# .gitignore was created or replaced by template; do not modify it here
|
96
|
+
# Assume template provided sensible defaults.
|
97
|
+
else
|
98
|
+
begin
|
99
|
+
gitignore_current = File.exist?(gitignore_path) ? File.read(gitignore_path) : ""
|
100
|
+
rescue StandardError
|
101
|
+
gitignore_current = ""
|
102
|
+
end
|
103
|
+
has_env_local = gitignore_current.lines.any? { |l| l.strip == ".env.local" }
|
104
|
+
unless has_env_local
|
105
|
+
puts
|
106
|
+
puts "Would you like to add '.env.local' to #{gitignore_path}?"
|
107
|
+
print "Add to .gitignore now [Y/n]: "
|
108
|
+
answer = $stdin.gets&.strip
|
109
|
+
add_it = if ENV.fetch("force", "").to_s =~ /\A(1|true|y|yes)\z/i
|
110
|
+
true
|
111
|
+
else
|
112
|
+
answer.nil? || answer.empty? || answer =~ /\Ay(es)?\z/i
|
113
|
+
end
|
114
|
+
if add_it
|
115
|
+
FileUtils.mkdir_p(File.dirname(gitignore_path))
|
116
|
+
mode = File.exist?(gitignore_path) ? "a" : "w"
|
117
|
+
File.open(gitignore_path, mode) do |f|
|
118
|
+
f.write("\n") unless gitignore_current.empty? || gitignore_current.end_with?("\n")
|
119
|
+
unless gitignore_current.lines.any? { |l| l.strip == "# direnv - brew install direnv" }
|
120
|
+
f.write("# direnv - brew install direnv\n")
|
121
|
+
end
|
122
|
+
f.write(".env.local\n")
|
123
|
+
end
|
124
|
+
puts "Added .env.local to #{gitignore_path}"
|
125
|
+
else
|
126
|
+
puts "Skipping modification of .gitignore. Remember to add .env.local to avoid committing it."
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# Validate gemspec homepage points to GitHub and is a non-interpolated string
|
132
|
+
begin
|
133
|
+
gemspecs = Dir.glob(File.join(project_root, "*.gemspec"))
|
134
|
+
if gemspecs.empty?
|
135
|
+
puts
|
136
|
+
puts "No .gemspec found in #{project_root}; skipping homepage check."
|
137
|
+
else
|
138
|
+
gemspec_path = gemspecs.first
|
139
|
+
if gemspecs.size > 1
|
140
|
+
puts
|
141
|
+
puts "Multiple gemspecs found; defaulting to #{File.basename(gemspec_path)} for homepage check."
|
142
|
+
end
|
143
|
+
|
144
|
+
content = File.read(gemspec_path)
|
145
|
+
homepage_line = content.lines.find { |l| l =~ /\bspec\.homepage\s*=\s*/ }
|
146
|
+
if homepage_line.nil?
|
147
|
+
puts
|
148
|
+
puts "WARNING: spec.homepage not found in #{File.basename(gemspec_path)}."
|
149
|
+
puts "This gem should declare a GitHub homepage: https://github.com/<org>/<repo>"
|
150
|
+
else
|
151
|
+
# Extract the assigned value as text
|
152
|
+
assigned = homepage_line.split("=", 2).last.to_s.strip
|
153
|
+
# Detect interpolation
|
154
|
+
interpolated = assigned.include?('#{')
|
155
|
+
|
156
|
+
# If quoted literal, strip quotes
|
157
|
+
if assigned.start_with?("\"", "'")
|
158
|
+
begin
|
159
|
+
assigned[1..-2]
|
160
|
+
rescue
|
161
|
+
assigned
|
162
|
+
end
|
163
|
+
else
|
164
|
+
assigned
|
165
|
+
end
|
166
|
+
|
167
|
+
github_repo_from_url = lambda do |url|
|
168
|
+
return unless url
|
169
|
+
url = url.strip
|
170
|
+
# Supported formats:
|
171
|
+
# - https://github.com/org/repo(.git)?
|
172
|
+
# - http(s)://github.com/org/repo
|
173
|
+
# - git@github.com:org/repo(.git)?
|
174
|
+
# - ssh://git@github.com/org/repo(.git)?
|
175
|
+
m = url.match(%r{github\.com[/:]([^/\s:]+)/([^/\s]+?)(?:\.git)?/?\z}i)
|
176
|
+
return unless m
|
177
|
+
org = m[1]
|
178
|
+
repo = m[2]
|
179
|
+
[org, repo]
|
180
|
+
end
|
181
|
+
|
182
|
+
github_homepage_literal = lambda do |val|
|
183
|
+
return false unless val
|
184
|
+
return false if val.include?('#{')
|
185
|
+
v = val.to_s.strip
|
186
|
+
if (v.start_with?("\"") && v.end_with?("\"")) || (v.start_with?("'") && v.end_with?("'"))
|
187
|
+
v = begin
|
188
|
+
v[1..-2]
|
189
|
+
rescue
|
190
|
+
v
|
191
|
+
end
|
192
|
+
end
|
193
|
+
return false unless v =~ %r{\Ahttps?://github\.com/}i
|
194
|
+
!!github_repo_from_url.call(v)
|
195
|
+
end
|
196
|
+
|
197
|
+
valid_literal = github_homepage_literal.call(assigned)
|
198
|
+
|
199
|
+
if interpolated || !valid_literal
|
200
|
+
puts
|
201
|
+
puts "Checking git remote 'origin' to derive GitHub homepage..."
|
202
|
+
origin_url = nil
|
203
|
+
begin
|
204
|
+
origin_cmd = ["git", "-C", project_root.to_s, "remote", "get-url", "origin"]
|
205
|
+
origin_url = IO.popen(origin_cmd, &:read).to_s.strip
|
206
|
+
rescue StandardError
|
207
|
+
origin_url = ""
|
208
|
+
end
|
209
|
+
|
210
|
+
org_repo = github_repo_from_url.call(origin_url)
|
211
|
+
unless org_repo
|
212
|
+
puts "ERROR: git remote 'origin' is not a GitHub URL (or not found): #{origin_url.empty? ? "(none)" : origin_url}"
|
213
|
+
puts "To complete installation: set your GitHub repository as the 'origin' remote, and move any other forge to an alternate name."
|
214
|
+
puts "Example:"
|
215
|
+
puts " git remote rename origin something_else"
|
216
|
+
puts " git remote add origin https://github.com/<org>/<repo>.git"
|
217
|
+
puts "After fixing, re-run: rake kettle:dev:install"
|
218
|
+
abort("Aborting: homepage cannot be corrected without a GitHub origin remote.")
|
219
|
+
end
|
220
|
+
|
221
|
+
org, repo = org_repo
|
222
|
+
suggested = "https://github.com/#{org}/#{repo}"
|
223
|
+
|
224
|
+
puts "Current spec.homepage appears #{interpolated ? "interpolated" : "invalid"}: #{assigned}"
|
225
|
+
puts "Suggested literal homepage: \"#{suggested}\""
|
226
|
+
print("Update #{File.basename(gemspec_path)} to use this homepage? [Y/n]: ")
|
227
|
+
ans = $stdin.gets&.strip
|
228
|
+
do_update = if ENV.fetch("force", "").to_s =~ /\A(1|true|y|yes)\z/i
|
229
|
+
true
|
230
|
+
else
|
231
|
+
ans.nil? || ans.empty? || ans =~ /\Ay(es)?\z/i
|
232
|
+
end
|
233
|
+
|
234
|
+
if do_update
|
235
|
+
new_line = homepage_line.sub(/=.*/, "= \"#{suggested}\"\n")
|
236
|
+
new_content = content.sub(homepage_line, new_line)
|
237
|
+
File.open(gemspec_path, "w") { |f| f.write(new_content) }
|
238
|
+
puts "Updated spec.homepage in #{File.basename(gemspec_path)} to #{suggested}"
|
239
|
+
else
|
240
|
+
puts "Skipping update of spec.homepage. You should set it to: #{suggested}"
|
241
|
+
end
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
rescue StandardError => e
|
246
|
+
puts "WARNING: An error occurred while checking gemspec homepage: #{e.class}: #{e.message}"
|
247
|
+
end
|
248
|
+
|
249
|
+
# If .envrc was modified during install step, require `direnv allow` and exit unless allowed
|
250
|
+
if defined?(updated_envrc_by_install) && updated_envrc_by_install
|
251
|
+
if ENV.fetch("allowed", "").to_s =~ /\A(1|true|y|yes)\z/i
|
252
|
+
puts "Proceeding after .envrc update because allowed=true."
|
253
|
+
else
|
254
|
+
puts
|
255
|
+
puts "IMPORTANT: .envrc was updated during kettle:dev:install."
|
256
|
+
puts "Please review it and then run:"
|
257
|
+
puts " direnv allow"
|
258
|
+
puts
|
259
|
+
puts "After that, re-run to resume:"
|
260
|
+
puts " bundle exec rake kettle:dev:install allowed=true"
|
261
|
+
abort("Aborting: direnv allow required after .envrc changes.")
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
# Summary of templating changes
|
266
|
+
begin
|
267
|
+
results = helpers.template_results
|
268
|
+
meaningful = results.select { |_, rec| [:create, :replace, :dir_create, :dir_replace].include?(rec[:action]) }
|
269
|
+
puts
|
270
|
+
puts "Summary of templating changes:"
|
271
|
+
if meaningful.empty?
|
272
|
+
puts " (no files were created or replaced by kettle:dev:template)"
|
273
|
+
else
|
274
|
+
# Order: create, replace, dir_create, dir_replace
|
275
|
+
action_labels = {
|
276
|
+
create: "Created",
|
277
|
+
replace: "Replaced",
|
278
|
+
dir_create: "Directory created",
|
279
|
+
dir_replace: "Directory replaced",
|
280
|
+
}
|
281
|
+
[:create, :replace, :dir_create, :dir_replace].each do |sym|
|
282
|
+
items = meaningful.select { |_, rec| rec[:action] == sym }.map { |path, _| path }
|
283
|
+
next if items.empty?
|
284
|
+
puts " #{action_labels[sym]}:"
|
285
|
+
items.sort.each do |abs|
|
286
|
+
rel = begin
|
287
|
+
abs.start_with?(project_root.to_s) ? abs.sub(/^#{Regexp.escape(project_root.to_s)}\/?/, "") : abs
|
288
|
+
rescue
|
289
|
+
abs
|
290
|
+
end
|
291
|
+
puts " - #{rel}"
|
292
|
+
end
|
293
|
+
end
|
294
|
+
end
|
295
|
+
rescue StandardError => e
|
296
|
+
puts
|
297
|
+
puts "Summary of templating changes: (unavailable: #{e.class}: #{e.message})"
|
298
|
+
end
|
299
|
+
|
300
|
+
puts
|
301
|
+
puts "kettle:dev:install complete."
|
302
|
+
end
|
303
|
+
end
|
304
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Setup Reek
|
2
|
+
begin
|
3
|
+
require "reek/rake/task"
|
4
|
+
|
5
|
+
Reek::Rake::Task.new do |t|
|
6
|
+
t.fail_on_error = true
|
7
|
+
t.verbose = false
|
8
|
+
t.source_files = "{lib,spec,tests}/**/*.rb"
|
9
|
+
end
|
10
|
+
|
11
|
+
# Store current Reek output into REEK file
|
12
|
+
require "open3"
|
13
|
+
desc("Run reek and store the output into the REEK file")
|
14
|
+
task("reek:update") do
|
15
|
+
# Run via Bundler if available to ensure the right gem version is used
|
16
|
+
cmd = [Gem.bindir ? File.join(Gem.bindir, "bundle") : "bundle", "exec", "reek"]
|
17
|
+
|
18
|
+
output, status = Open3.capture2e(*cmd)
|
19
|
+
|
20
|
+
File.write("REEK", output)
|
21
|
+
|
22
|
+
# Mirror the failure semantics of the standard reek task
|
23
|
+
unless status.success?
|
24
|
+
abort("reek:update failed (reek reported smells). Output written to REEK")
|
25
|
+
end
|
26
|
+
end
|
27
|
+
Kettle::Dev.register_default("reek:update") unless Kettle::Dev::IS_CI
|
28
|
+
rescue LoadError
|
29
|
+
warn("[kettle-dev][reek.rake] failed to load reek/rake/task") if Kettle::Dev::DEBUGGING
|
30
|
+
desc("(stub) reek is unavailable")
|
31
|
+
task(:reek) do
|
32
|
+
warn("NOTE: reek isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
begin
|
2
|
+
require "rubocop/gradual/rake_task"
|
3
|
+
|
4
|
+
RuboCop::Gradual::RakeTask.new(:rubocop_gradual_debug) do |t|
|
5
|
+
t.options = ["--debug"]
|
6
|
+
end
|
7
|
+
rescue LoadError
|
8
|
+
warn("[kettle-dev][rubocop_gradual.rake] failed to load rubocop/gradual/rake_task") if Kettle::Dev::DEBUGGING
|
9
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Setup RSpec
|
2
|
+
begin
|
3
|
+
require "rspec/core/rake_task"
|
4
|
+
|
5
|
+
RSpec::Core::RakeTask.new(:spec)
|
6
|
+
# This takes the place of `coverage` task when running as CI=true
|
7
|
+
Kettle::Dev.register_default("spec") if Kettle::Dev::IS_CI
|
8
|
+
rescue LoadError
|
9
|
+
warn("[kettle-dev][spec_test.rake] failed to load rspec/core/rake_task") if Kettle::Dev::DEBUGGING
|
10
|
+
desc("spec task stub")
|
11
|
+
task(:spec) do
|
12
|
+
warn("NOTE: rspec isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
# Setup MiniTest
|
17
|
+
begin
|
18
|
+
require "rake/testtask"
|
19
|
+
|
20
|
+
Rake::TestTask.new(:test) do |t|
|
21
|
+
t.test_files = FileList["tests/**/test_*.rb"]
|
22
|
+
end
|
23
|
+
rescue LoadError
|
24
|
+
warn("[kettle-dev][spec_test.rake] failed to load rake/testtask") if Kettle::Dev::DEBUGGING
|
25
|
+
desc("test task stub")
|
26
|
+
task(:test) do
|
27
|
+
warn("NOTE: minitest isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# rubocop:disable Rake/DuplicateTask
|
32
|
+
if Rake::Task.task_defined?("spec") && !Rake::Task.task_defined?("test")
|
33
|
+
desc "run spec task with test task"
|
34
|
+
task test: :spec
|
35
|
+
elsif !Rake::Task.task_defined?("spec") && Rake::Task.task_defined?("test")
|
36
|
+
desc "run test task with spec task"
|
37
|
+
task spec: :test
|
38
|
+
else
|
39
|
+
# Add spec as pre-requisite to 'test'
|
40
|
+
Rake::Task[:test].enhance(["spec"])
|
41
|
+
end
|
42
|
+
# rubocop:enable Rake/DuplicateTask
|