rbbt-util 5.23.2 → 5.23.3

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
  SHA1:
3
- metadata.gz: e1abbd56b35b1634d8c938f2546caaa9c1e5a0cb
4
- data.tar.gz: 356c77c59b70e8d20416a9dff4a99e9d61bab588
3
+ metadata.gz: 0bfbb8363621dbc1c6e1fb31325daf855ab76776
4
+ data.tar.gz: 6b443437c8bccd371d7a62dd33e36c5050e6c62c
5
5
  SHA512:
6
- metadata.gz: d11225414f26e825220f381e7912ee483cadb1c83d9e403049b16c03de5e982080d9c93b473d425b45b225c5dac3c9d910bfc5e6a59b6fc9c3d4e3c6e63dc639
7
- data.tar.gz: 70e20be0981b91d2aba8f593bc6f57881425cb7e95c9fb84e0a21b4a0deb749847576a21df42cd1c630f3ce733bf43f036e53ed56d1358f56c4b33cd1c0b83a3
6
+ metadata.gz: e7977e2966f10b576a1b1228c2db642a61f32d3bb0236b6c79fecf6b545ae1ce4dfb672f786054d6cf3d73198357c5c2445ed3c7b2fe9a65ef4a65429a528582
7
+ data.tar.gz: ed3956298633545fb064228bcddeb7669557c6b7f216b91dceba241429c51045b651711a143c0c2bef15bc33d6925bce33d31d2ffde451dce7bd729f96f7241c
@@ -74,7 +74,7 @@ module Rbbt::Config
74
74
  priorities[prio] ||= []
75
75
  priorities[prio] << value
76
76
  end
77
- end
77
+ end if entries
78
78
  priorities
79
79
  end
80
80
 
@@ -227,15 +227,15 @@ class Step
227
227
  nil
228
228
  when :bootstrap
229
229
  cpus = rest.nil? ? nil : rest.first
230
- cpus = 5 if cpus.nil?
231
- cpus = list.length / 2 if cpus > list.length / 2
230
+
231
+ cpus = config('dep_cpus', 'bootstrap', :default => [5, list.length / 2].min) if cpus.nil?
232
232
 
233
233
  respawn = rest && rest.include?(:respawn)
234
234
  respawn = false if rest && rest.include?(:norespawn)
235
235
  respawn = rest && rest.include?(:always_respawn)
236
236
  respawn = :always if respawn.nil?
237
237
 
238
- Misc.bootstrap(list, cpus, :bar => "Bootstrapping dependencies for #{path}", :respawn => respawn) do |dep|
238
+ Misc.bootstrap(list, cpus, :bar => "Bootstrapping dependencies for #{path} [#{cpus}]", :respawn => respawn) do |dep|
239
239
  Misc.insist do
240
240
  begin
241
241
  dep.produce
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.23.2
4
+ version: 5.23.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-03 00:00:00.000000000 Z
11
+ date: 2018-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake