rake 13.3.0 → 13.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/command_line_usage.rdoc +13 -0
- data/lib/rake/task_arguments.rb +1 -1
- data/lib/rake/thread_pool.rb +1 -7
- data/lib/rake/version.rb +1 -1
- data/rake.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8030dccf89834bd1723f61768994c7030a66fefaca1876f02a125fd04d81330
|
|
4
|
+
data.tar.gz: 44bde676fa9c925cbebb0aa8b3267206af091ea23f3ee5e1cb292d5605c0d68b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e165577cdf53a95c575be0e796550a40dfd0dfd4a0447e25bdb2722a0bd74f9565dd226a94fecedf3bf44ffa2c571477f4c9d4521d9c4a3f99afaa557f76898c
|
|
7
|
+
data.tar.gz: 2ae064597810412e682db5083f596c5fae7bc182b13b676abda7fbc273ff6ee460c812aae731933d794007b5e79a60fa249c1e898f2b38fcaba9e9d76603034d
|
data/doc/command_line_usage.rdoc
CHANGED
|
@@ -153,6 +153,19 @@ Options are:
|
|
|
153
153
|
[<tt>--no-deprecation-warnings</tt> (-X)]
|
|
154
154
|
Do not display the deprecation warnings.
|
|
155
155
|
|
|
156
|
+
== Environment Variables
|
|
157
|
+
|
|
158
|
+
[<tt>RAKEOPT</tt>]
|
|
159
|
+
Command line options can be specified in the <tt>RAKEOPT</tt>
|
|
160
|
+
environment variable. These options will be processed as if they
|
|
161
|
+
were given on the command line. This is useful for setting default
|
|
162
|
+
options that you want to use with every rake invocation.
|
|
163
|
+
|
|
164
|
+
For example, setting:
|
|
165
|
+
export RAKEOPT="-s --trace"
|
|
166
|
+
|
|
167
|
+
would cause rake to run silently with tracing enabled by default.
|
|
168
|
+
|
|
156
169
|
In addition, any command line option of the form
|
|
157
170
|
<em>VAR</em>=<em>VALUE</em> will be added to the environment hash
|
|
158
171
|
<tt>ENV</tt> and may be tested in the Rakefile.
|
data/lib/rake/task_arguments.rb
CHANGED
data/lib/rake/thread_pool.rb
CHANGED
|
@@ -108,19 +108,13 @@ module Rake
|
|
|
108
108
|
false
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
def safe_thread_count
|
|
112
|
-
@threads_mon.synchronize do
|
|
113
|
-
@threads.count
|
|
114
|
-
end
|
|
115
|
-
end
|
|
116
|
-
|
|
117
111
|
def start_thread # :nodoc:
|
|
118
112
|
@threads_mon.synchronize do
|
|
119
113
|
next unless @threads.count < @max_active_threads
|
|
120
114
|
|
|
121
115
|
t = Thread.new do
|
|
122
116
|
begin
|
|
123
|
-
|
|
117
|
+
loop do
|
|
124
118
|
break unless process_queue_item
|
|
125
119
|
end
|
|
126
120
|
ensure
|
data/lib/rake/version.rb
CHANGED
data/rake.gemspec
CHANGED
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
"bug_tracker_uri" => "https://github.com/ruby/rake/issues",
|
|
28
28
|
"changelog_uri" => "https://github.com/ruby/rake/releases",
|
|
29
29
|
"documentation_uri" => "https://ruby.github.io/rake",
|
|
30
|
-
"source_code_uri" =>
|
|
30
|
+
"source_code_uri" => s.homepage
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
s.files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 13.3.
|
|
4
|
+
version: 13.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroshi SHIBATA
|
|
@@ -97,7 +97,7 @@ metadata:
|
|
|
97
97
|
bug_tracker_uri: https://github.com/ruby/rake/issues
|
|
98
98
|
changelog_uri: https://github.com/ruby/rake/releases
|
|
99
99
|
documentation_uri: https://ruby.github.io/rake
|
|
100
|
-
source_code_uri: https://github.com/ruby/rake
|
|
100
|
+
source_code_uri: https://github.com/ruby/rake
|
|
101
101
|
rdoc_options:
|
|
102
102
|
- "--main"
|
|
103
103
|
- README.rdoc
|
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
114
114
|
- !ruby/object:Gem::Version
|
|
115
115
|
version: '0'
|
|
116
116
|
requirements: []
|
|
117
|
-
rubygems_version: 3.6.
|
|
117
|
+
rubygems_version: 3.6.9
|
|
118
118
|
specification_version: 4
|
|
119
119
|
summary: Rake is a Make-like program implemented in Ruby
|
|
120
120
|
test_files: []
|