autobuild 1.5.56 → 1.5.57.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == Version 1.5.56
2
+ * added Autobuild.color? and Autobuild.color= to control whether the output
3
+ should use colors or not
4
+
1
5
  == Version 1.5.55
2
6
  * quickfix release
3
7
  * last attempt to fix the same issue than in 1.5.55 and 1.5.54
@@ -55,8 +55,20 @@ module Autobuild
55
55
 
56
56
  @console = HighLine.new
57
57
 
58
+ class << self
59
+ attr_writer :color
60
+ def color?
61
+ !!@color
62
+ end
63
+ end
64
+ @color = true
65
+
58
66
  def self.color(*args)
59
- console.color(*args)
67
+ if color?
68
+ console.color(*args)
69
+ else
70
+ puts args.first
71
+ end
60
72
  end
61
73
 
62
74
  DEFAULT_OPTIONS = { :nice => nil,
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.56" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.57.rc1" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 115
5
- prerelease:
4
+ hash: 15424431
5
+ prerelease: 7
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 56
10
- version: 1.5.56
9
+ - 57
10
+ - rc
11
+ - 1
12
+ version: 1.5.57.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Sylvain Joyeux
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2012-01-12 00:00:00 Z
20
+ date: 2012-01-16 00:00:00 Z
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
21
23
  name: rake
@@ -155,12 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
157
  required_rubygems_version: !ruby/object:Gem::Requirement
156
158
  none: false
157
159
  requirements:
158
- - - ">="
160
+ - - ">"
159
161
  - !ruby/object:Gem::Version
160
- hash: 3
162
+ hash: 25
161
163
  segments:
162
- - 0
163
- version: "0"
164
+ - 1
165
+ - 3
166
+ - 1
167
+ version: 1.3.1
164
168
  requirements: []
165
169
 
166
170
  rubyforge_project: autobuild