rake 13.0.0 → 13.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +2 -2
- data/.github/workflows/ubuntu-rvm.yml +1 -1
- data/.github/workflows/ubuntu.yml +2 -2
- data/.github/workflows/windows.yml +1 -1
- data/History.rdoc +9 -0
- data/lib/rake/task.rb +1 -0
- data/lib/rake/task_manager.rb +7 -4
- data/lib/rake/version.rb +1 -1
- data/rake.gemspec +7 -0
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37ea7de22cf200ba287c8658d5d1587e155b1a819f2c6ba42236a3a7a69c8d38
|
4
|
+
data.tar.gz: ebf1622fc43aabcb464562bb109747ce4922ef4de79bf416527fd80211f24e4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64bb34011d4aae5b3fd776d759cafcd34476ad511483c74987d0465202b0985ef3ebe8ae936dd784c40597f52bd78e4c1f6f30fbe2414a18a1e566ca489a127
|
7
|
+
data.tar.gz: c9522c2fd5de3c0388264281dfc23ce20c670cba0a83499e9d3bece53dc8f17c78783acfeac27ee14fee9c555e06939bbccd1801a976005cbdc6027e17fcfeb9
|
data/.github/workflows/macos.yml
CHANGED
@@ -7,13 +7,13 @@ jobs:
|
|
7
7
|
runs-on: macos-latest
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x'
|
10
|
+
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
11
|
steps:
|
12
12
|
- uses: actions/checkout@master
|
13
13
|
- name: Set up Ruby
|
14
14
|
uses: actions/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
version: ${{ matrix.ruby }}
|
16
|
+
ruby-version: ${{ matrix.ruby }}
|
17
17
|
- name: Install dependencies
|
18
18
|
run: gem install minitest
|
19
19
|
- name: Run test
|
@@ -7,13 +7,13 @@ jobs:
|
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x'
|
10
|
+
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
11
|
steps:
|
12
12
|
- uses: actions/checkout@master
|
13
13
|
- name: Set up Ruby
|
14
14
|
uses: actions/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
version: ${{ matrix.ruby }}
|
16
|
+
ruby-version: ${{ matrix.ruby }}
|
17
17
|
- name: Install dependencies
|
18
18
|
run: gem install minitest
|
19
19
|
- name: Run test
|
data/History.rdoc
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
=== 13.0.1
|
2
|
+
|
3
|
+
==== Bug fixes
|
4
|
+
|
5
|
+
* Fixed bug: Reenabled task raises previous exception on second invokation
|
6
|
+
Pull Request #271 by thorsteneckel
|
7
|
+
* Fix an incorrectly resolved arg pattern
|
8
|
+
Pull Request #327 by mjbellantoni
|
9
|
+
|
1
10
|
=== 13.0.0
|
2
11
|
|
3
12
|
==== Enhancements
|
data/lib/rake/task.rb
CHANGED
data/lib/rake/task_manager.rb
CHANGED
@@ -83,8 +83,8 @@ module Rake
|
|
83
83
|
define_task(Rake::FileTask, task_name)
|
84
84
|
end
|
85
85
|
|
86
|
-
# Resolve the arguments for a task/rule. Returns a
|
87
|
-
# [task_name, arg_name_list, prerequisites].
|
86
|
+
# Resolve the arguments for a task/rule. Returns a tuple of
|
87
|
+
# [task_name, arg_name_list, prerequisites, order_only_prerequisites].
|
88
88
|
def resolve_args(args)
|
89
89
|
if args.last.is_a?(Hash)
|
90
90
|
deps = args.pop
|
@@ -118,8 +118,11 @@ module Rake
|
|
118
118
|
#
|
119
119
|
# The patterns recognized by this argument resolving function are:
|
120
120
|
#
|
121
|
+
# task :t, order_only: [:e]
|
121
122
|
# task :t => [:d]
|
123
|
+
# task :t => [:d], order_only: [:e]
|
122
124
|
# task :t, [a] => [:d]
|
125
|
+
# task :t, [a] => [:d], order_only: [:e]
|
123
126
|
#
|
124
127
|
def resolve_args_with_dependencies(args, hash) # :nodoc:
|
125
128
|
fail "Task Argument Error" if
|
@@ -133,8 +136,8 @@ module Rake
|
|
133
136
|
deps = value || []
|
134
137
|
else
|
135
138
|
task_name = args.shift
|
136
|
-
arg_names = key
|
137
|
-
deps = value
|
139
|
+
arg_names = key || args.shift|| []
|
140
|
+
deps = value || []
|
138
141
|
end
|
139
142
|
deps = [deps] unless deps.respond_to?(:to_ary)
|
140
143
|
[task_name, arg_names, deps, order_only]
|
data/lib/rake/version.rb
CHANGED
data/rake.gemspec
CHANGED
@@ -23,6 +23,13 @@ Rake has the following features:
|
|
23
23
|
s.homepage = "https://github.com/ruby/rake".freeze
|
24
24
|
s.licenses = ["MIT".freeze]
|
25
25
|
|
26
|
+
s.metadata = {
|
27
|
+
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
|
28
|
+
"changelog_uri" => "https://github.com/ruby/rake/blob/v#{s.version}/History.rdoc",
|
29
|
+
"documentation_uri" => "https://ruby.github.io/rake",
|
30
|
+
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}",
|
31
|
+
}
|
32
|
+
|
26
33
|
s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
|
27
34
|
%w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
|
28
35
|
s.bindir = "exe"
|
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: 13.0.
|
4
|
+
version: 13.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi SHIBATA
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: |
|
16
16
|
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
@@ -107,7 +107,11 @@ files:
|
|
107
107
|
homepage: https://github.com/ruby/rake
|
108
108
|
licenses:
|
109
109
|
- MIT
|
110
|
-
metadata:
|
110
|
+
metadata:
|
111
|
+
bug_tracker_uri: https://github.com/ruby/rake/issues
|
112
|
+
changelog_uri: https://github.com/ruby/rake/blob/v13.0.1/History.rdoc
|
113
|
+
documentation_uri: https://ruby.github.io/rake
|
114
|
+
source_code_uri: https://github.com/ruby/rake/tree/v13.0.1
|
111
115
|
post_install_message:
|
112
116
|
rdoc_options:
|
113
117
|
- "--main"
|