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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37ea7de22cf200ba287c8658d5d1587e155b1a819f2c6ba42236a3a7a69c8d38
4
- data.tar.gz: ebf1622fc43aabcb464562bb109747ce4922ef4de79bf416527fd80211f24e4a
3
+ metadata.gz: 88a74b2e5e06cd2f103f46b7ea41c7d464144dc4dc1332c14a261926a5a8953d
4
+ data.tar.gz: a709ea4bd247c0ff6f2f6d839b2e72c31d75643c38dc057f1497ded61c65ab71
5
5
  SHA512:
6
- metadata.gz: f64bb34011d4aae5b3fd776d759cafcd34476ad511483c74987d0465202b0985ef3ebe8ae936dd784c40597f52bd78e4c1f6f30fbe2414a18a1e566ca489a127
7
- data.tar.gz: c9522c2fd5de3c0388264281dfc23ce20c670cba0a83499e9d3bece53dc8f17c78783acfeac27ee14fee9c555e06939bbccd1801a976005cbdc6027e17fcfeb9
6
+ metadata.gz: e50ba14ba646f742a4d7facff3cd5cee22091f2444511bf4907cd1ab87def023d2f407e8401f83fad69ecf85cad71e7e6af9413e17c84518448a9bf1548a9538
7
+ data.tar.gz: 0c638b670984b44f906348d9c19d57a96460751bdc37624e324e37a9ecff2e28023049f54b660f9e4d225f44abf60c3c54422becb1ebd7c1075a34a4c2f4ec34
@@ -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
@@ -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}[http://devblog.avdi.org/2014/04/21/rake-part-1-basics/]
86
- 2. {Rake File Lists}[http://devblog.avdi.org/2014/04/22/rake-part-2-file-lists/]
87
- 3. {Rake Rules}[http://devblog.avdi.org/2014/04/23/rake-part-3-rules/]
88
- 4. {Rake Pathmap}[http://devblog.avdi.org/2014/04/24/rake-part-4-pathmap/]
89
- 5. {File Operations}[http://devblog.avdi.org/2014/04/25/rake-part-5-file-operations/]
90
- 6. {Clean and Clobber}[http://devblog.avdi.org/2014/04/28/rake-part-6-clean-and-clobber/]
91
- 7. {MultiTask}[http://devblog.avdi.org/2014/04/29/rake-part-7-multitask/]
92
- * {Jim Weirich's 2003 RubyConf presentation}[http://web.archive.org/web/20140221123354/http://onestepback.org/articles/buildingwithrake/]
93
- * Martin Fowler's article on Rake: http://martinfowler.com/articles/rake.html
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
- * http://directory.fsf.org/wiki/Bras -- Bras, one of earliest
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
- * http://ant.apache.org -- The Ant project
104
- * http://search.cpan.org/search?query=PerlBuildSystem -- The Perl Build System
105
- * http://www.rubydoc.info/gems/rant/0.5.7/frames -- Rant, another Ruby make tool.
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
 
@@ -181,44 +181,9 @@ module Rake
181
181
  when :testrb
182
182
  "-S testrb"
183
183
  when :rake
184
- "#{rake_include_arg} \"#{rake_loader}\""
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Rake
3
- VERSION = "13.0.1"
3
+ VERSION = "13.0.2"
4
4
 
5
5
  module Version # :nodoc: all
6
6
  MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split "."
@@ -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.1
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: 2019-11-12 00:00:00.000000000 Z
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.1/History.rdoc
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.1
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.0.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: []
@@ -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