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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 350499af9d666ea7ce0d89d4f2a9807cfec42df036da69a455edcc8e0a7928e4
4
- data.tar.gz: 4825cb7208619ca06d3f3f627c41a5dfc23a831d889d15e5dacafe035e72c5e4
3
+ metadata.gz: d9d05e9e17d2650b5f35d5b08c11ce7d6bb42b2b240f2dd78b56ca15c0ac65ae
4
+ data.tar.gz: f98de3fab3e0d9c8938a790fef63841d0bdd6b9a33e85cd7a8dc3116a0ce42bd
5
5
  SHA512:
6
- metadata.gz: 33ed2f30b780e6f26409bb513b26923c454b115e368f64c42aced2f200d3efb0c05afe8425aeeb907f591c2a735f61160ad105550aecdbab43c30c79078fd8a3
7
- data.tar.gz: 0c97f16eb81f98917bd87445f9dd34488a08d5fc0b6cb6c82f18b0ae23939081617f6f2472c8aa95c717054e05dfb18cb51794b86287abe9b66958d968c19749
6
+ metadata.gz: f2bec8664323e358cff5cf78af40d4011e1d002639ad9e04e7ce6ef0debad26572a7db636ef26544c8901fd7975dffd2de5dcf0e2e03785319be38b292c87df9
7
+ data.tar.gz: f5c5b37cdfe7965d70bb74124496b54341789d05ccf1219e42467a57a3476b6d1f29f5fb9a65b3a0f85bc8a0644d338cd7a5facf1bc81e1221886f7d40437746
@@ -165,7 +165,13 @@ module Rake
165
165
 
166
166
  # Application options from the command line
167
167
  def options
168
- @options ||= OpenStruct.new
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
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Rake
3
- VERSION = "13.1.0"
3
+ VERSION = "13.2.0"
4
4
 
5
5
  module Version # :nodoc: all
6
6
  MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split "."
data/lib/rake.rb CHANGED
@@ -30,7 +30,6 @@ require "fileutils"
30
30
  require "singleton"
31
31
  require "monitor"
32
32
  require "optparse"
33
- require "ostruct"
34
33
 
35
34
  require "rake/ext/string"
36
35
 
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.1.0
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: 2023-10-28 00:00:00.000000000 Z
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.1.0/History.rdoc
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.1.0
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.5.0.dev
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: []