rake 13.0.1 → 13.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.rdoc +13 -0
- data/README.rdoc +13 -13
- data/lib/rake/testtask.rb +1 -36
- data/lib/rake/version.rb +1 -1
- data/rake.gemspec +1 -1
- metadata +8 -12
- data/.github/workflows/macos.yml +0 -22
- data/.github/workflows/ubuntu-rvm.yml +0 -28
- data/.github/workflows/ubuntu.yml +0 -20
- data/.github/workflows/windows.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88a74b2e5e06cd2f103f46b7ea41c7d464144dc4dc1332c14a261926a5a8953d
|
4
|
+
data.tar.gz: a709ea4bd247c0ff6f2f6d839b2e72c31d75643c38dc057f1497ded61c65ab71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e50ba14ba646f742a4d7facff3cd5cee22091f2444511bf4907cd1ab87def023d2f407e8401f83fad69ecf85cad71e7e6af9413e17c84518448a9bf1548a9538
|
7
|
+
data.tar.gz: 0c638b670984b44f906348d9c19d57a96460751bdc37624e324e37a9ecff2e28023049f54b660f9e4d225f44abf60c3c54422becb1ebd7c1075a34a4c2f4ec34
|
data/History.rdoc
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
=== 13.0.1
|
2
2
|
|
3
|
+
==== Enhancements
|
4
|
+
|
5
|
+
* Fix tests to work with current FileUtils
|
6
|
+
Pull Request #358 by jeremyevans
|
7
|
+
* Simplify default rake test loader
|
8
|
+
Pull Request #357 by deivid-rodriguez
|
9
|
+
* Update rdoc
|
10
|
+
Pull Request #366 by bahasalien
|
11
|
+
* Update broken links to rake articles from Avdi in README
|
12
|
+
Pull Request #360 by svl7
|
13
|
+
|
14
|
+
=== 13.0.1
|
15
|
+
|
3
16
|
==== Bug fixes
|
4
17
|
|
5
18
|
* Fixed bug: Reenabled task raises previous exception on second invokation
|
data/README.rdoc
CHANGED
@@ -82,27 +82,27 @@ Type "rake --help" for all available options.
|
|
82
82
|
=== Presentations and Articles about Rake
|
83
83
|
|
84
84
|
* Avdi Grimm's rake series:
|
85
|
-
1. {Rake Basics}[
|
86
|
-
2. {Rake File Lists}[
|
87
|
-
3. {Rake Rules}[
|
88
|
-
4. {Rake Pathmap}[
|
89
|
-
5. {File Operations}[
|
90
|
-
6. {Clean and Clobber}[
|
91
|
-
7. {MultiTask}[
|
92
|
-
* {Jim Weirich's 2003 RubyConf presentation}[
|
93
|
-
* Martin Fowler's article on Rake:
|
85
|
+
1. {Rake Basics}[https://avdi.codes/rake-part-1-basics/]
|
86
|
+
2. {Rake File Lists}[https://avdi.codes/rake-part-2-file-lists-2/]
|
87
|
+
3. {Rake Rules}[https://avdi.codes/rake-part-3-rules/]
|
88
|
+
4. {Rake Pathmap}[https://avdi.codes/rake-part-4-pathmap/]
|
89
|
+
5. {File Operations}[https://avdi.codes/rake-part-5-file-operations/]
|
90
|
+
6. {Clean and Clobber}[https://avdi.codes/rake-part-6-clean-and-clobber/]
|
91
|
+
7. {MultiTask}[https://avdi.codes/rake-part-7-multitask/]
|
92
|
+
* {Jim Weirich's 2003 RubyConf presentation}[https://web.archive.org/web/20140221123354/http://onestepback.org/articles/buildingwithrake/]
|
93
|
+
* Martin Fowler's article on Rake: https://martinfowler.com/articles/rake.html
|
94
94
|
|
95
95
|
== Other Make Re-envisionings ...
|
96
96
|
|
97
97
|
Rake is a late entry in the make replacement field. Here are links to
|
98
98
|
other projects with similar (and not so similar) goals.
|
99
99
|
|
100
|
-
*
|
100
|
+
* https://directory.fsf.org/wiki/Bras -- Bras, one of earliest
|
101
101
|
implementations of "make in a scripting language".
|
102
102
|
* http://www.a-a-p.org -- Make in Python
|
103
|
-
*
|
104
|
-
*
|
105
|
-
*
|
103
|
+
* https://ant.apache.org -- The Ant project
|
104
|
+
* https://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
|
105
|
+
* https://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
|
106
106
|
|
107
107
|
== Credits
|
108
108
|
|
data/lib/rake/testtask.rb
CHANGED
@@ -181,44 +181,9 @@ module Rake
|
|
181
181
|
when :testrb
|
182
182
|
"-S testrb"
|
183
183
|
when :rake
|
184
|
-
"#{
|
184
|
+
"-r#{__dir__}/rake_test_loader"
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
|
-
def rake_loader # :nodoc:
|
189
|
-
find_file("rake/rake_test_loader") or
|
190
|
-
fail "unable to find rake test loader"
|
191
|
-
end
|
192
|
-
|
193
|
-
def find_file(fn) # :nodoc:
|
194
|
-
$LOAD_PATH.each do |path|
|
195
|
-
file_path = File.join(path, "#{fn}.rb")
|
196
|
-
return file_path if File.exist? file_path
|
197
|
-
end
|
198
|
-
nil
|
199
|
-
end
|
200
|
-
|
201
|
-
def rake_include_arg # :nodoc:
|
202
|
-
spec = Gem.loaded_specs["rake"]
|
203
|
-
if spec.respond_to?(:default_gem?) && spec.default_gem?
|
204
|
-
""
|
205
|
-
else
|
206
|
-
"-I\"#{rake_lib_dir}\""
|
207
|
-
end
|
208
|
-
end
|
209
|
-
|
210
|
-
def rake_lib_dir # :nodoc:
|
211
|
-
find_dir("rake") or
|
212
|
-
fail "unable to find rake lib"
|
213
|
-
end
|
214
|
-
|
215
|
-
def find_dir(fn) # :nodoc:
|
216
|
-
$LOAD_PATH.each do |path|
|
217
|
-
file_path = File.join(path, "#{fn}.rb")
|
218
|
-
return path if File.exist? file_path
|
219
|
-
end
|
220
|
-
nil
|
221
|
-
end
|
222
|
-
|
223
188
|
end
|
224
189
|
end
|
data/lib/rake/version.rb
CHANGED
data/rake.gemspec
CHANGED
@@ -30,7 +30,7 @@ Rake has the following features:
|
|
30
30
|
"source_code_uri" => "https://github.com/ruby/rake/tree/v#{s.version}",
|
31
31
|
}
|
32
32
|
|
33
|
-
s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
|
33
|
+
s.files = %x[git ls-files -z].split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.github)/}) } -
|
34
34
|
%w[.rubocop.yml .gitignore .travis.yml appveyor.yml]
|
35
35
|
s.bindir = "exe"
|
36
36
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi SHIBATA
|
8
8
|
- Eric Hodel
|
9
9
|
- Jim Weirich
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-12-19 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
|
@@ -31,10 +31,6 @@ executables:
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- ".github/workflows/macos.yml"
|
35
|
-
- ".github/workflows/ubuntu-rvm.yml"
|
36
|
-
- ".github/workflows/ubuntu.yml"
|
37
|
-
- ".github/workflows/windows.yml"
|
38
34
|
- CONTRIBUTING.rdoc
|
39
35
|
- Gemfile
|
40
36
|
- History.rdoc
|
@@ -109,10 +105,10 @@ licenses:
|
|
109
105
|
- MIT
|
110
106
|
metadata:
|
111
107
|
bug_tracker_uri: https://github.com/ruby/rake/issues
|
112
|
-
changelog_uri: https://github.com/ruby/rake/blob/v13.0.
|
108
|
+
changelog_uri: https://github.com/ruby/rake/blob/v13.0.2/History.rdoc
|
113
109
|
documentation_uri: https://ruby.github.io/rake
|
114
|
-
source_code_uri: https://github.com/ruby/rake/tree/v13.0.
|
115
|
-
post_install_message:
|
110
|
+
source_code_uri: https://github.com/ruby/rake/tree/v13.0.2
|
111
|
+
post_install_message:
|
116
112
|
rdoc_options:
|
117
113
|
- "--main"
|
118
114
|
- README.rdoc
|
@@ -129,8 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
125
|
- !ruby/object:Gem::Version
|
130
126
|
version: 1.3.2
|
131
127
|
requirements: []
|
132
|
-
rubygems_version: 3.
|
133
|
-
signing_key:
|
128
|
+
rubygems_version: 3.2.1
|
129
|
+
signing_key:
|
134
130
|
specification_version: 4
|
135
131
|
summary: Rake is a Make-like program implemented in Ruby
|
136
132
|
test_files: []
|
data/.github/workflows/macos.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
name: macos
|
2
|
-
|
3
|
-
on: [push]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: macos-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: ${{ matrix.ruby }}
|
17
|
-
- name: Install dependencies
|
18
|
-
run: gem install minitest
|
19
|
-
- name: Run test
|
20
|
-
env:
|
21
|
-
COVERALLS: "yes"
|
22
|
-
run: ruby -Ilib exe/rake
|
@@ -1,28 +0,0 @@
|
|
1
|
-
name: ubuntu-rvm
|
2
|
-
|
3
|
-
on: [push]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ 'jruby-head', 'jruby-9.2.9.0', 'ruby-head', '2.3.8', '2.2.10' ]
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up RVM
|
14
|
-
run: |
|
15
|
-
curl -sSL https://get.rvm.io | bash
|
16
|
-
- name: Set up Ruby
|
17
|
-
run: |
|
18
|
-
source $HOME/.rvm/scripts/rvm
|
19
|
-
rvm install ${{ matrix.ruby }} --binary
|
20
|
-
rvm --default use ${{ matrix.ruby }}
|
21
|
-
- name: Install dependencies
|
22
|
-
run: |
|
23
|
-
source $HOME/.rvm/scripts/rvm
|
24
|
-
gem install minitest
|
25
|
-
- name: Run test
|
26
|
-
run: |
|
27
|
-
source $HOME/.rvm/scripts/rvm
|
28
|
-
ruby -Ilib exe/rake
|
@@ -1,20 +0,0 @@
|
|
1
|
-
name: ubuntu
|
2
|
-
|
3
|
-
on: [push]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: ${{ matrix.ruby }}
|
17
|
-
- name: Install dependencies
|
18
|
-
run: gem install minitest
|
19
|
-
- name: Run test
|
20
|
-
run: ruby -Ilib exe/rake
|
@@ -1,20 +0,0 @@
|
|
1
|
-
name: windows
|
2
|
-
|
3
|
-
on: [push]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: windows-latest
|
8
|
-
strategy:
|
9
|
-
matrix:
|
10
|
-
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@master
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: ${{ matrix.ruby }}
|
17
|
-
- name: Install dependencies
|
18
|
-
run: gem install minitest
|
19
|
-
- name: Run test
|
20
|
-
run: ruby -Ilib exe/rake
|