comp_tree 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.rdoc CHANGED
@@ -1,6 +1,10 @@
1
1
 
2
2
  = CompTree ChangeLog
3
3
 
4
+ == Version 0.7.5
5
+
6
+ * fix manual install
7
+
4
8
  == Version 0.7.4
5
9
 
6
10
  * fix documentation
@@ -573,7 +573,7 @@ class Jumpstart
573
573
 
574
574
  def run_ruby_on_each(*files)
575
575
  files.each { |file|
576
- Ruby.run_or_raise("-w", file)
576
+ Ruby.run("-w", file)
577
577
  }
578
578
  end
579
579
 
@@ -19,20 +19,13 @@ class Jumpstart
19
19
 
20
20
  class << self
21
21
  def run(*args)
22
- system(EXECUTABLE, *args)
23
- end
24
-
25
- def run_or_raise(*args)
26
22
  cmd = [EXECUTABLE, *args]
27
23
  unless system(*cmd)
28
- msg = (
29
- "failed to launch ruby: " +
30
- "system(*#{cmd.inspect}) failed with status #{$?.exitstatus}"
31
- )
32
- raise msg
24
+ cmd_str = cmd.map { |t| "'#{t}'" }.join(", ")
25
+ raise "system(#{cmd_str}) failed with status #{$?.exitstatus}"
33
26
  end
34
27
  end
35
-
28
+
36
29
  def with_warnings(value = true)
37
30
  previous = $VERBOSE
38
31
  $VERBOSE = value
data/install.rb CHANGED
@@ -1,3 +1,3 @@
1
- $LOAD_PATH.unshift 'rakelib'
1
+ $LOAD_PATH.unshift 'devel'
2
2
  require 'jumpstart/simple_installer'
3
3
  Jumpstart::SimpleInstaller.new.run
data/lib/comp_tree.rb CHANGED
@@ -28,7 +28,7 @@ require 'comp_tree/driver'
28
28
  # See README.rdoc.
29
29
  #
30
30
  module CompTree
31
- VERSION = "0.7.4"
31
+ VERSION = "0.7.5"
32
32
 
33
33
  class << self
34
34
  #
@@ -25,7 +25,7 @@ module CompTree
25
25
  num_working = 0
26
26
  while true
27
27
  if num_working == num_threads or
28
- not (node_to_worker = find_node(root))
28
+ (not (node_to_worker = find_node(root)))
29
29
  #
30
30
  # maxed out or no nodes available -- wait for results
31
31
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comp_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James M. Lawrence
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-28 00:00:00 -04:00
12
+ date: 2009-05-11 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15