rake 13.1.0 → 13.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rake/application.rb +8 -2
- data/lib/rake/dsl_definition.rb +2 -1
- data/lib/rake/version.rb +1 -1
- data/lib/rake.rb +0 -1
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9d05e9e17d2650b5f35d5b08c11ce7d6bb42b2b240f2dd78b56ca15c0ac65ae
|
4
|
+
data.tar.gz: f98de3fab3e0d9c8938a790fef63841d0bdd6b9a33e85cd7a8dc3116a0ce42bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2bec8664323e358cff5cf78af40d4011e1d002639ad9e04e7ce6ef0debad26572a7db636ef26544c8901fd7975dffd2de5dcf0e2e03785319be38b292c87df9
|
7
|
+
data.tar.gz: f5c5b37cdfe7965d70bb74124496b54341789d05ccf1219e42467a57a3476b6d1f29f5fb9a65b3a0f85bc8a0644d338cd7a5facf1bc81e1221886f7d40437746
|
data/lib/rake/application.rb
CHANGED
@@ -165,7 +165,13 @@ module Rake
|
|
165
165
|
|
166
166
|
# Application options from the command line
|
167
167
|
def options
|
168
|
-
@options ||=
|
168
|
+
@options ||= Struct.new(
|
169
|
+
:always_multitask, :backtrace, :build_all, :dryrun,
|
170
|
+
:ignore_deprecate, :ignore_system, :job_stats, :load_system,
|
171
|
+
:nosearch, :rakelib, :show_all_tasks, :show_prereqs,
|
172
|
+
:show_task_pattern, :show_tasks, :silent, :suppress_backtrace_pattern,
|
173
|
+
:thread_pool_size, :trace, :trace_output, :trace_rules
|
174
|
+
).new
|
169
175
|
end
|
170
176
|
|
171
177
|
# Return the thread pool used for multithreaded processing.
|
@@ -237,7 +243,7 @@ module Rake
|
|
237
243
|
display_exception_details_seen << ex
|
238
244
|
|
239
245
|
display_exception_message_details(ex)
|
240
|
-
display_exception_backtrace(ex)
|
246
|
+
display_exception_backtrace(ex) if ex.backtrace
|
241
247
|
display_cause_details(ex.cause) if has_cause?(ex)
|
242
248
|
end
|
243
249
|
|
data/lib/rake/dsl_definition.rb
CHANGED
@@ -90,6 +90,7 @@ module Rake
|
|
90
90
|
# directory "testdata/doc"
|
91
91
|
#
|
92
92
|
def directory(*args, &block) # :doc:
|
93
|
+
args = args.flat_map { |arg| arg.is_a?(FileList) ? arg.to_a.flatten : arg }
|
93
94
|
result = file_create(*args, &block)
|
94
95
|
dir, _ = *Rake.application.resolve_args(args)
|
95
96
|
dir = Rake.from_pathname(dir)
|
@@ -145,7 +146,7 @@ module Rake
|
|
145
146
|
#
|
146
147
|
# Example:
|
147
148
|
# rule '.o' => '.c' do |t|
|
148
|
-
# sh 'cc', '-o', t.name, t.source
|
149
|
+
# sh 'cc', '-c', '-o', t.name, t.source
|
149
150
|
# end
|
150
151
|
#
|
151
152
|
def rule(*args, &block) # :doc:
|
data/lib/rake/version.rb
CHANGED
data/lib/rake.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.
|
4
|
+
version: 13.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi SHIBATA
|
8
8
|
- Eric Hodel
|
9
9
|
- Jim Weirich
|
10
|
-
autorequire:
|
11
10
|
bindir: exe
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
15
14
|
description: |
|
16
15
|
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
|
@@ -96,10 +95,9 @@ licenses:
|
|
96
95
|
- MIT
|
97
96
|
metadata:
|
98
97
|
bug_tracker_uri: https://github.com/ruby/rake/issues
|
99
|
-
changelog_uri: https://github.com/ruby/rake/blob/v13.
|
98
|
+
changelog_uri: https://github.com/ruby/rake/blob/v13.2.0/History.rdoc
|
100
99
|
documentation_uri: https://ruby.github.io/rake
|
101
|
-
source_code_uri: https://github.com/ruby/rake/tree/v13.
|
102
|
-
post_install_message:
|
100
|
+
source_code_uri: https://github.com/ruby/rake/tree/v13.2.0
|
103
101
|
rdoc_options:
|
104
102
|
- "--main"
|
105
103
|
- README.rdoc
|
@@ -116,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
114
|
- !ruby/object:Gem::Version
|
117
115
|
version: '0'
|
118
116
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
120
|
-
signing_key:
|
117
|
+
rubygems_version: 3.6.0.dev
|
121
118
|
specification_version: 4
|
122
119
|
summary: Rake is a Make-like program implemented in Ruby
|
123
120
|
test_files: []
|