autobuild 1.6.2.b5 → 1.6.2.b6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autobuild/reporting.rb +11 -2
- data/lib/autobuild/version.rb +1 -1
- metadata +11 -11
data/lib/autobuild/reporting.rb
CHANGED
@@ -18,10 +18,16 @@ require 'thread'
|
|
18
18
|
module Autobuild
|
19
19
|
class << self
|
20
20
|
attr_reader :display_lock
|
21
|
+
def silent?
|
22
|
+
@silent
|
23
|
+
end
|
24
|
+
attr_writer :silent
|
21
25
|
end
|
22
26
|
@display_lock = Mutex.new
|
27
|
+
@silent = false
|
23
28
|
|
24
29
|
def self.message(*args)
|
30
|
+
return if silent?
|
25
31
|
display_lock.synchronize do
|
26
32
|
if @last_progress_msg
|
27
33
|
puts
|
@@ -111,13 +117,16 @@ module Autobuild
|
|
111
117
|
def self.display_progress
|
112
118
|
msg = "#{progress_messages.map(&:last).join(" | ")}"
|
113
119
|
if @last_progress_msg
|
114
|
-
|
120
|
+
if !silent?
|
121
|
+
print "\r" + " " * @last_progress_msg.length
|
122
|
+
end
|
115
123
|
end
|
116
124
|
|
117
125
|
if msg.empty?
|
126
|
+
print "\r" if !silent?
|
118
127
|
@last_progress_msg = nil
|
119
128
|
else
|
120
|
-
print "\r #{msg}"
|
129
|
+
print "\r #{msg}" if !silent?
|
121
130
|
@last_progress_msg = msg
|
122
131
|
end
|
123
132
|
end
|
data/lib/autobuild/version.rb
CHANGED
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.
|
4
|
+
version: 1.6.2.b6
|
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-
|
12
|
+
date: 2012-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &9404620 !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: *
|
24
|
+
version_requirements: *9404620
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: utilrb
|
27
|
-
requirement: &
|
27
|
+
requirement: &9403560 !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: *
|
35
|
+
version_requirements: *9403560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdoc
|
38
|
-
requirement: &
|
38
|
+
requirement: &9402440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,18 +43,18 @@ dependencies:
|
|
43
43
|
version: '3.10'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *9402440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: hoe
|
49
|
-
requirement: &
|
49
|
+
requirement: &9397540 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.1'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *9397540
|
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)
|