rake 12.0.0 → 12.1.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rake might be problematic. Click here for more details.

Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/History.rdoc +29 -10
  3. data/doc/jamis.rb +1 -0
  4. data/doc/rakefile.rdoc +1 -1
  5. data/lib/rake.rb +1 -0
  6. data/lib/rake/application.rb +1 -0
  7. data/lib/rake/backtrace.rb +1 -0
  8. data/lib/rake/clean.rb +1 -0
  9. data/lib/rake/cloneable.rb +1 -0
  10. data/lib/rake/cpu_counter.rb +1 -0
  11. data/lib/rake/default_loader.rb +1 -0
  12. data/lib/rake/dsl_definition.rb +1 -0
  13. data/lib/rake/early_time.rb +1 -0
  14. data/lib/rake/ext/core.rb +1 -0
  15. data/lib/rake/ext/string.rb +2 -1
  16. data/lib/rake/file_creation_task.rb +1 -0
  17. data/lib/rake/file_list.rb +1 -0
  18. data/lib/rake/file_task.rb +9 -1
  19. data/lib/rake/file_utils.rb +2 -1
  20. data/lib/rake/file_utils_ext.rb +1 -0
  21. data/lib/rake/invocation_chain.rb +1 -0
  22. data/lib/rake/invocation_exception_mixin.rb +1 -0
  23. data/lib/rake/late_time.rb +1 -0
  24. data/lib/rake/linked_list.rb +1 -0
  25. data/lib/rake/loaders/makefile.rb +1 -0
  26. data/lib/rake/multi_task.rb +1 -0
  27. data/lib/rake/name_space.rb +1 -0
  28. data/lib/rake/packagetask.rb +1 -0
  29. data/lib/rake/phony.rb +1 -0
  30. data/lib/rake/private_reader.rb +1 -0
  31. data/lib/rake/promise.rb +1 -0
  32. data/lib/rake/pseudo_status.rb +1 -0
  33. data/lib/rake/rake_module.rb +1 -0
  34. data/lib/rake/rake_test_loader.rb +16 -11
  35. data/lib/rake/rule_recursion_overflow_error.rb +1 -0
  36. data/lib/rake/scope.rb +1 -0
  37. data/lib/rake/task.rb +2 -1
  38. data/lib/rake/task_argument_error.rb +1 -0
  39. data/lib/rake/task_arguments.rb +1 -0
  40. data/lib/rake/task_manager.rb +23 -7
  41. data/lib/rake/tasklib.rb +1 -0
  42. data/lib/rake/testtask.rb +2 -0
  43. data/lib/rake/thread_history_display.rb +1 -0
  44. data/lib/rake/thread_pool.rb +1 -0
  45. data/lib/rake/trace_output.rb +1 -0
  46. data/lib/rake/version.rb +2 -1
  47. data/lib/rake/win32.rb +1 -0
  48. data/rake.gemspec +5 -1
  49. metadata +30 -5
  50. data/.rubocop.yml +0 -57
  51. data/.travis.yml +0 -21
  52. data/appveyor.yml +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46b2f515919080d9c2b5224a6bc3961372cdff0b
4
- data.tar.gz: 10685512b82cedfa1262698f88b4613c62ba246e
3
+ metadata.gz: 53e092b005e523d66e353b9a492f51b843bf8f24
4
+ data.tar.gz: 539265c0ef49defbd5b0dcd8dc1341a85b792f2a
5
5
  SHA512:
6
- metadata.gz: f0e9a28346ea7e567b7095110d95ccdafe8c3297f3a6168499b1d94680456e7c43af7168d482ecd7846ce89d13887e7a8cce0dceb6e3a65db7ed470530bab73c
7
- data.tar.gz: 013fe05c05252fa23103b65df887106aff6a76b16757d646f6f4728570c44d138dd3a51eb69023da5c76bdd67134c7432db0417d8b94eff5dca4ffd747768104
6
+ metadata.gz: 9935006b0427bd6a86a9164cd8d90e1dfbf879814b7b036c347e900324405a220bc3edcba6ba422653cd541f53c80d671ea5cf86263bcfce60b7a2152bf87077
7
+ data.tar.gz: 525ba8dad6ecac871da825d73d8b0d5e813383728ca171d2b5960dbd7c2c4ac5c9ab8cb8fab8dd794d006a7e9b32e26a5667e00807008a8ce53cbf2f9a073d4d
@@ -1,10 +1,29 @@
1
+ === 12.1.0
2
+
3
+ ==== Enhancements:
4
+
5
+ * Added did_you_mean feature for invalid rake task.
6
+ Pull request #221 by @xtina-starr
7
+ * Enabled to dependency chained by extensions. Pull request #39 by Petr Skocik.
8
+ * Make all of string literals to frozen objects on Ruby 2.4 or later.
9
+
10
+ ==== Bug fixes
11
+
12
+ * Typo fixes in rakefile.rdoc. Pull request #180 by Yuta Kurotaki.
13
+ * Fix unexpected behavior of file task with dryrun option.
14
+ Pull request #183 by @aycabta.
15
+ * Make LoadError from running tests more obvious. Pull request #195
16
+ by Eric Hodel.
17
+ * Fix unexpected TypeError with hash stayle option. Pull request #202
18
+ by Kuniaki IGARASHI.
19
+
1
20
  === 12.0.0
2
21
 
3
22
  ==== Compatibility Changes
4
23
 
5
- * Remove arguments on clear #157 by Jesse Bowes
24
+ * Removed arguments on clear #157 by Jesse Bowes
6
25
  * Removed `rake/contrib` packages. These are extracted to `rake-contrib` gem.
7
- * Removed to deprecated warnings for `last\_comment`.
26
+ * Removed deprecated method named `last\_comment`.
8
27
 
9
28
  ==== Enhancements:
10
29
 
@@ -385,7 +404,7 @@ we'll repeat the changes for versions 0.9.3 through 0.9.5 here.
385
404
  programatically add rake task libraries.
386
405
 
387
406
  * You can specific backtrace suppression patterns (see
388
- --supress-backtrace)
407
+ --suppress-backtrace)
389
408
 
390
409
  * Directory tasks can now take prerequisites and actions
391
410
 
@@ -633,7 +652,7 @@ we'll repeat the changes for version 0.9.3 here.
633
652
  programatically add rake task libraries.
634
653
 
635
654
  * You can specific backtrace suppression patterns (see
636
- --supress-backtrace)
655
+ --suppress-backtrace)
637
656
 
638
657
  * Directory tasks can now take prerequisites and actions
639
658
 
@@ -843,7 +862,7 @@ a number of bug fixes.
843
862
  programatically add rake task libraries.
844
863
 
845
864
  * You can specific backtrace suppression patterns (see
846
- --supress-backtrace)
865
+ --suppress-backtrace)
847
866
 
848
867
  * Directory tasks can now take prerequisites and actions
849
868
 
@@ -1415,7 +1434,7 @@ The first argument is still the name of the task (:name in this case).
1415
1434
  The next to argumements are the names of the parameters expected by
1416
1435
  :name (:first_name and :last_name in the example).
1417
1436
 
1418
- To access the values of the paramters, the block defining the task
1437
+ To access the values of the parameters, the block defining the task
1419
1438
  behaviour can now accept a second parameter:
1420
1439
 
1421
1440
  task :name, :first_name, :last_name do |t, args|
@@ -1518,7 +1537,7 @@ The first argument is still the name of the task (:name in this case).
1518
1537
  The next to argumements are the names of the parameters expected by
1519
1538
  :name (:first_name and :last_name in the example).
1520
1539
 
1521
- To access the values of the paramters, the block defining the task
1540
+ To access the values of the parameters, the block defining the task
1522
1541
  behaviour can now accept a second parameter:
1523
1542
 
1524
1543
  task :name, :first_name, :last_name do |t, args|
@@ -1738,7 +1757,7 @@ are, I hope you enjoy them.
1738
1757
  * RDoc defaults to internal (in-process) invocation. The old behavior
1739
1758
  is still available by setting the +external+ flag to true.
1740
1759
  * Rakefiles are now loaded with the expanded path to prevent
1741
- accidental polution from the Ruby load path.
1760
+ accidental pollution from the Ruby load path.
1742
1761
  * Task objects my now be used in prerequisite lists directly.
1743
1762
  * Task objects (in addition to task names) may now be included in the
1744
1763
  prerequisite list of a task.
@@ -1751,7 +1770,7 @@ are, I hope you enjoy them.
1751
1770
  ===== Namespaces
1752
1771
 
1753
1772
  Tasks can now be nested inside their own namespaces. Tasks within one
1754
- namespace will not accidently interfer with tasks named in a different
1773
+ namespace will not accidentally interfer with tasks named in a different
1755
1774
  namespace.
1756
1775
 
1757
1776
  For example:
@@ -1809,7 +1828,7 @@ As usual, it was input from users that drove a alot of these changes.
1809
1828
  The following people either contributed patches, made suggestions or
1810
1829
  made otherwise helpful comments. Thanks to ...
1811
1830
 
1812
- * Doug Young (inspriation for the parallel task)
1831
+ * Doug Young (inspiration for the parallel task)
1813
1832
  * David Heinemeier Hansson (for --trace message enhancement and for
1814
1833
  pushing for namespace support).
1815
1834
  * Ludvig Omholt (for the openAFS fix)
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module RDoc
2
3
  module Page
3
4
 
@@ -410,7 +410,7 @@ display a list of tasks that have a description. If you use +desc+ to
410
410
  describe your major tasks, you have a semi-automatic way of generating
411
411
  a summary of your Rake file.
412
412
 
413
- traken$ rake -T
413
+ $ rake -T
414
414
  (in /home/.../rake)
415
415
  rake clean # Remove any temporary products.
416
416
  rake clobber # Remove any generated file.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  #--
2
3
  # Copyright 2003-2010 by Jim Weirich (jim.weirich@gmail.com)
3
4
  #
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "optparse"
2
3
 
3
4
  require "rake/task_manager"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
  module Backtrace # :nodoc: all
3
4
  SYS_KEYS = RbConfig::CONFIG.keys.grep(/(?:[a-z]prefix|libdir)\z/)
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # The 'rake/clean' file defines two file lists (CLEAN and CLOBBER) and
2
3
  # two rake tasks (:clean and :clobber).
3
4
  #
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
  ##
3
4
  # Mixin for creating easily cloned objects.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Based on a script at:
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Default Rakefile loader used by +import+.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Rake DSL functions.
2
3
  require "rake/file_utils_ext"
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # EarlyTime is a fake timestamp that occurs _before_ any other time value.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  class Module
2
3
  # Check for an existing method in the current class before extending. If
3
4
  # the method already exists, then a warning is printed and the extension is
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/ext/core"
2
3
 
3
4
  class String
@@ -136,7 +137,7 @@ class String
136
137
  # This String extension comes from Rake
137
138
  def pathmap(spec=nil, &block)
138
139
  return self if spec.nil?
139
- result = ""
140
+ result = "".dup
140
141
  spec.scan(/%\{[^}]*\}-?\d*[sdpfnxX%]|%-?\d+d|%.|[^%]+/) do |frag|
141
142
  case frag
142
143
  when "%f"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/file_task"
2
3
  require "rake/early_time"
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/cloneable"
2
3
  require "rake/file_utils_ext"
3
4
  require "rake/ext/string"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/task.rb"
2
3
  require "rake/early_time"
3
4
 
@@ -29,7 +30,14 @@ module Rake
29
30
 
30
31
  # Are there any prerequisites with a later time than the given time stamp?
31
32
  def out_of_date?(stamp)
32
- @prerequisites.any? { |n| application[n, @scope].timestamp > stamp }
33
+ @prerequisites.any? { |prereq|
34
+ prereq_task = application[prereq, @scope]
35
+ if prereq_task.instance_of?(Rake::FileTask)
36
+ prereq_task.timestamp > stamp || prereq_task.needed?
37
+ else
38
+ prereq_task.timestamp > stamp
39
+ end
40
+ }
33
41
  end
34
42
 
35
43
  # ----------------------------------------------------------------
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rbconfig"
2
3
  require "fileutils"
3
4
 
@@ -50,7 +51,7 @@ module FileUtils
50
51
  Rake.rake_output_message sh_show_command cmd if verbose
51
52
 
52
53
  unless noop
53
- res = system(*cmd, options)
54
+ res = (Hash === cmd.last) ? system(*cmd) : system(*cmd, options)
54
55
  status = $?
55
56
  status = Rake::PseudoStatus.new(1) if !res && status.nil?
56
57
  shell_runner.call(res, status)
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/file_utils"
2
3
 
3
4
  module Rake
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # InvocationChain tracks the chain of task invocations to detect
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
  module InvocationExceptionMixin
3
4
  # Return the invocation chain (list of Rake tasks) that were in
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
  # LateTime is a fake timestamp that occurs _after_ any other time value.
3
4
  class LateTime
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Polylithic linked list structure used to implement several data
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Makefile loader to be used with the import file loader. Use this to
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Same as a regular task, but the immediate prerequisites are done in
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  ##
2
3
  # The NameSpace class will lookup task names in the scope defined by a
3
4
  # +namespace+ command.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Define a package task library to aid in the definition of
2
3
  # redistributable package files.
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Defines a :phony task that you can use as a dependency. This allows
2
3
  # file-based tasks to use non-file-based tasks as prerequisites
3
4
  # without forcing them to rebuild.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Include PrivateReader to use +private_reader+.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # A Promise object represents a promise to do work (a chore) in the
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  ##
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/application"
2
3
 
3
4
  module Rake
@@ -1,20 +1,25 @@
1
+ # frozen_string_literal: true
1
2
  require "rake"
2
3
 
3
4
  # Load the test files from the command line.
4
5
  argv = ARGV.select do |argument|
5
- case argument
6
- when /^-/ then
7
- argument
8
- when /\*/ then
9
- FileList[argument].to_a.each do |file|
10
- require File.expand_path file
11
- end
6
+ begin
7
+ case argument
8
+ when /^-/ then
9
+ argument
10
+ when /\*/ then
11
+ FileList[argument].to_a.each do |file|
12
+ require File.expand_path file
13
+ end
12
14
 
13
- false
14
- else
15
- require File.expand_path argument
15
+ false
16
+ else
17
+ require File.expand_path argument
16
18
 
17
- false
19
+ false
20
+ end
21
+ rescue LoadError => e
22
+ abort "\nFile does not exist: #{e.path}\n\n"
18
23
  end
19
24
  end
20
25
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Error indicating a recursion overflow error in task selection.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
  class Scope < LinkedList # :nodoc: all
3
4
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/invocation_exception_mixin"
2
3
 
3
4
  module Rake
@@ -320,7 +321,7 @@ module Rake
320
321
  # Return a string describing the internal state of a task. Useful for
321
322
  # debugging.
322
323
  def investigation
323
- result = "------------------------------\n"
324
+ result = "------------------------------\n".dup
324
325
  result << "Investigating #{name}\n"
325
326
  result << "class: #{self.class}\n"
326
327
  result << "task needed: #{needed?}\n"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # Error indicating an ill-formed task declaration.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  ##
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
 
3
4
  # The TaskManager module is a mixin for managing tasks.
@@ -55,7 +56,21 @@ module Rake
55
56
  self.lookup(task_name, scopes) or
56
57
  enhance_with_matching_rule(task_name) or
57
58
  synthesize_file_task(task_name) or
58
- fail "Don't know how to build task '#{task_name}' (see --tasks)"
59
+ fail generate_message_for_undefined_task(task_name)
60
+ end
61
+
62
+ def generate_message_for_undefined_task(task_name)
63
+ message = "Don't know how to build task '#{task_name}' (see --tasks)"
64
+
65
+ suggestion_message = \
66
+ if defined?(::DidYouMean::SpellChecker) && defined?(::DidYouMean::Formatter)
67
+ suggestions = ::DidYouMean::SpellChecker.new(dictionary: @tasks.keys).correct(task_name.to_s)
68
+ ::DidYouMean::Formatter.new(suggestions).to_s
69
+ else
70
+ ""
71
+ end
72
+
73
+ message + suggestion_message
59
74
  end
60
75
 
61
76
  def synthesize_file_task(task_name) # :nodoc:
@@ -126,8 +141,8 @@ module Rake
126
141
  fail Rake::RuleRecursionOverflowError,
127
142
  "Rule Recursion Too Deep" if level >= 16
128
143
  @rules.each do |pattern, args, extensions, block|
129
- if pattern.match(task_name)
130
- task = attempt_rule(task_name, args, extensions, block, level)
144
+ if pattern && pattern.match(task_name)
145
+ task = attempt_rule(task_name, pattern, args, extensions, block, level)
131
146
  return task if task
132
147
  end
133
148
  end
@@ -241,8 +256,8 @@ module Rake
241
256
  end
242
257
 
243
258
  # Attempt to create a rule given the list of prerequisites.
244
- def attempt_rule(task_name, args, extensions, block, level)
245
- sources = make_sources(task_name, extensions)
259
+ def attempt_rule(task_name, task_pattern, args, extensions, block, level)
260
+ sources = make_sources(task_name, task_pattern, extensions)
246
261
  prereqs = sources.map { |source|
247
262
  trace_rule level, "Attempting Rule #{task_name} => #{source}"
248
263
  if File.exist?(source) || Rake::Task.task_defined?(source)
@@ -263,7 +278,7 @@ module Rake
263
278
 
264
279
  # Make a list of sources from the list of file name extensions /
265
280
  # translation procs.
266
- def make_sources(task_name, extensions)
281
+ def make_sources(task_name, task_pattern, extensions)
267
282
  result = extensions.map { |ext|
268
283
  case ext
269
284
  when /%/
@@ -271,7 +286,8 @@ module Rake
271
286
  when %r{/}
272
287
  ext
273
288
  when /^\./
274
- task_name.ext(ext)
289
+ source = task_name.sub(task_pattern, ext)
290
+ source == ext ? task_name.ext(ext) : source
275
291
  when String
276
292
  ext
277
293
  when Proc, Method
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake"
2
3
 
3
4
  module Rake
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake"
2
3
  require "rake/tasklib"
3
4
 
@@ -50,6 +51,7 @@ module Rake
50
51
 
51
52
  # Request that the tests be run with the warning flag set.
52
53
  # E.g. warning=true implies "ruby -w" used to run the tests.
54
+ # (default is true)
53
55
  attr_accessor :warning
54
56
 
55
57
  # Glob pattern to match test files. (default is 'test/test*.rb')
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rake/private_reader"
2
3
 
3
4
  module Rake
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "set"
2
3
 
3
4
  require "rake/promise"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
3
  module TraceOutput # :nodoc: all
3
4
 
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  module Rake
2
- VERSION = "12.0.0"
3
+ VERSION = "12.1.0"
3
4
 
4
5
  module Version # :nodoc: all
5
6
  MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split "."
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "rbconfig"
2
3
 
3
4
  module Rake
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
2
3
  require 'rake/version'
3
4
 
@@ -23,7 +24,8 @@ Rake has the following features:
23
24
  s.homepage = "https://github.com/ruby/rake".freeze
24
25
  s.licenses = ["MIT".freeze]
25
26
 
26
- s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
27
+ s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
28
+ %w[.rubocop.yml .travis.yml appveyor.yml]
27
29
  s.bindir = "exe"
28
30
  s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
31
  s.require_paths = ["lib".freeze]
@@ -36,4 +38,6 @@ Rake has the following features:
36
38
  s.add_development_dependency(%q<bundler>.freeze)
37
39
  s.add_development_dependency(%q<minitest>.freeze)
38
40
  s.add_development_dependency(%q<rdoc>.freeze)
41
+ s.add_development_dependency(%q<coveralls>.freeze)
42
+ s.add_development_dependency(%q<rubocop>.freeze)
39
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0
4
+ version: 12.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi SHIBATA
@@ -54,6 +54,34 @@ dependencies:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: coveralls
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: rubocop
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
57
85
  description: |
58
86
  Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
59
87
  specified in standard Ruby syntax.
@@ -74,15 +102,12 @@ extensions: []
74
102
  extra_rdoc_files: []
75
103
  files:
76
104
  - ".gitignore"
77
- - ".rubocop.yml"
78
- - ".travis.yml"
79
105
  - CONTRIBUTING.rdoc
80
106
  - Gemfile
81
107
  - History.rdoc
82
108
  - MIT-LICENSE
83
109
  - README.rdoc
84
110
  - Rakefile
85
- - appveyor.yml
86
111
  - bin/console
87
112
  - bin/setup
88
113
  - doc/command_line_usage.rdoc
@@ -164,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
189
  version: 1.3.2
165
190
  requirements: []
166
191
  rubyforge_project:
167
- rubygems_version: 2.6.8
192
+ rubygems_version: 2.6.13
168
193
  signing_key:
169
194
  specification_version: 4
170
195
  summary: Rake is a Make-like program implemented in Ruby
@@ -1,57 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.3
3
- DisabledByDefault: true
4
- Exclude:
5
- - doc/**/*.rb
6
- - rake.gemspec
7
-
8
- Style/LineLength:
9
- Enabled: true
10
- Max: 120
11
-
12
- Style/HashSyntax:
13
- Enabled: true
14
-
15
- Style/StringLiterals:
16
- Enabled: true
17
- EnforcedStyle: double_quotes
18
-
19
- Style/IndentationWidth:
20
- Enabled: true
21
-
22
- Style/Tab:
23
- Enabled: true
24
-
25
- Style/EmptyLines:
26
- Enabled: true
27
-
28
- Style/TrailingBlankLines:
29
- Enabled: true
30
-
31
- Style/TrailingWhitespace:
32
- Enabled: true
33
-
34
- Style/SpaceBeforeBlockBraces:
35
- Enabled: true
36
-
37
- Style/SpaceInsideBlockBraces:
38
- Enabled: true
39
-
40
- Style/SpaceInsideHashLiteralBraces:
41
- Enabled: true
42
-
43
- Style/CaseIndentation:
44
- Enabled: true
45
-
46
- Style/MultilineIfThen:
47
- Enabled: true
48
-
49
- Style/MethodDefParentheses:
50
- Enabled: true
51
-
52
- Style/BracesAroundHashParameters:
53
- Enabled: true
54
-
55
- Lint/EndAlignment:
56
- Enabled: true
57
- AlignWith: variable
@@ -1,21 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- rvm:
4
- - 1.9.3
5
- - 2.0.0
6
- - 2.1.10
7
- - 2.2.5
8
- - 2.3.1
9
- - ruby-head
10
- - jruby-1.7.20
11
- - jruby-9.1.6.0
12
- - jruby-head
13
- before_install:
14
- - gem install bundler --no-document -v '~> 1.13.3'
15
- before_script:
16
- - unset JRUBY_OPTS
17
- script: ruby -Ilib exe/rake
18
- notifications:
19
- email:
20
- - hsbt@ruby-lang.org
21
- - drbrain@segment7.net
@@ -1,21 +0,0 @@
1
- ---
2
- clone_depth: 10
3
- install:
4
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
5
- - gem install bundler --no-document
6
- - bundle install
7
- build: off
8
- test_script:
9
- - ruby -Ilib exe/rake
10
- deploy: off
11
- environment:
12
- matrix:
13
- - ruby_version: "193"
14
- - ruby_version: "200"
15
- - ruby_version: "200-x64"
16
- - ruby_version: "21"
17
- - ruby_version: "21-x64"
18
- - ruby_version: "22"
19
- - ruby_version: "22-x64"
20
- - ruby_version: "23"
21
- - ruby_version: "23-x64"