autobuild 1.6.2.b4 → 1.6.2.b5

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ require 'find'
13
13
 
14
14
  require 'autobuild/config'
15
15
  require 'autobuild/exceptions'
16
+ require 'thread'
16
17
 
17
18
  module Autobuild
18
19
  class << self
@@ -109,14 +110,16 @@ module Autobuild
109
110
 
110
111
  def self.display_progress
111
112
  msg = "#{progress_messages.map(&:last).join(" | ")}"
112
- if @last_progress_msg && @last_progress_msg.length > msg.length
113
+ if @last_progress_msg
113
114
  print "\r" + " " * @last_progress_msg.length
114
115
  end
115
- print "\r #{msg}\r"
116
- @last_progress_msg =
117
- if msg.empty? then nil
118
- else msg
119
- end
116
+
117
+ if msg.empty?
118
+ @last_progress_msg = nil
119
+ else
120
+ print "\r #{msg}"
121
+ @last_progress_msg = msg
122
+ end
120
123
  end
121
124
 
122
125
  # The exception type that is used to report multiple errors that occured
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.6.2.b4" unless defined? Autobuild::VERSION
2
+ VERSION = "1.6.2.b5" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2.b4
4
+ version: 1.6.2.b5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-23 00:00:00.000000000 Z
12
+ date: 2012-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &12343900 !ruby/object:Gem::Requirement
16
+ requirement: &8285180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12343900
24
+ version_requirements: *8285180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &12341940 !ruby/object:Gem::Requirement
27
+ requirement: &8282640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.3.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *12341940
35
+ version_requirements: *8282640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &12336000 !ruby/object:Gem::Requirement
38
+ requirement: &8281520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.10'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *12336000
46
+ version_requirements: *8281520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: hoe
49
- requirement: &12334480 !ruby/object:Gem::Requirement
49
+ requirement: &8280760 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '3.0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *12334480
57
+ version_requirements: *8280760
58
58
  description: Collection of classes to handle build systems (CMake, autotools, ...)
59
59
  and import mechanisms (tarballs, CVS, SVN, git, ...). It also offers a Rake integration
60
60
  to import and build such software packages. It is the backbone of the autoproj (http://rock-robotics.org/autoproj)