rake 13.1.0 → 13.2.1

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: 70e1c62235097400cab35576324e9b3fcb48b90559477aedbbef03c9815a2fff
4
+ data.tar.gz: 94599a5608579b6b1e475a96694f2474a8d0fb4ee4fd526aeb82f13188aed3f4
5
5
  SHA512:
6
- metadata.gz: 33ed2f30b780e6f26409bb513b26923c454b115e368f64c42aced2f200d3efb0c05afe8425aeeb907f591c2a735f61160ad105550aecdbab43c30c79078fd8a3
7
- data.tar.gz: 0c97f16eb81f98917bd87445f9dd34488a08d5fc0b6cb6c82f18b0ae23939081617f6f2472c8aa95c717054e05dfb18cb51794b86287abe9b66958d968c19749
6
+ metadata.gz: 1fa7156b0b9dd984ca3b08061fb62d386407584a69b9442d88c424d847a20523d68555cc9a6e59b8dea58390839e0b588f5f406097cf8670b079672ad543cba4
7
+ data.tar.gz: 56edb7f28a274c3d2ba30ad80906194a0ef44a765c8d6ee11c922e62f075ccb132e3bcebbe9d25194ce498dc83748eec85a56aa99fd7d34a20eed553bf79f8ee
@@ -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
 
@@ -10,6 +10,7 @@ module Rake
10
10
  map { |f| File.expand_path(f) }.
11
11
  reject { |s| s.nil? || s =~ /^ *$/ }
12
12
  SUPPRESSED_PATHS_RE = SUPPRESSED_PATHS.map { |f| Regexp.quote(f) }.join("|")
13
+ SUPPRESSED_PATHS_RE << "|^<internal:\\w+>"
13
14
  SUPPRESSED_PATHS_RE << "|^org\\/jruby\\/\\w+\\.java" if
14
15
  Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == "jruby"
15
16
 
@@ -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.1"
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.1
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-05 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.1/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.1
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: []