autoproj 2.0.0.rc16 → 2.0.0.rc17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/autoproj.gemspec +1 -1
- data/lib/autoproj/cli/base.rb +2 -2
- data/lib/autoproj/cli/main.rb +3 -3
- data/lib/autoproj/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0f7f966cac787d75af29255a67456013566397e
|
4
|
+
data.tar.gz: 0e8c493ca62145c7379254680a6792ddcf97f920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82c5fb74b7d1a688e7dc064b3381643aecde53473d75c19b8c3675645e9f23408c870e66f99051068bde49779f22f58c1bb162c4536f7c135bd470463adfc145
|
7
|
+
data.tar.gz: 392e0c3867f62f0868658f7832fc8234ea9a7a1cb0ab932239f8c9b38e5642b5d9e4408e2528c8fb74d9bb950c397381f21ba454f77e92d9ef664aeee213f848
|
data/autoproj.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_runtime_dependency "utilrb", ">= 2.0"
|
25
25
|
s.add_runtime_dependency "thor", '~> 0.19.0', '>= 0.19.1'
|
26
26
|
s.add_runtime_dependency 'concurrent-ruby'
|
27
|
-
s.add_runtime_dependency 'tty-
|
27
|
+
s.add_runtime_dependency 'tty-color', '~> 0.3.0', '>= 0.3.0'
|
28
28
|
s.add_development_dependency "flexmock", ">= 2.0.0"
|
29
29
|
s.add_development_dependency "minitest", ">= 5.0", "~> 5.0"
|
30
30
|
s.add_development_dependency "fakefs"
|
data/lib/autoproj/cli/base.rb
CHANGED
@@ -162,8 +162,8 @@ def self.validate_options(args, options)
|
|
162
162
|
silent: false,
|
163
163
|
verbose: false,
|
164
164
|
debug: false,
|
165
|
-
color: TTY::
|
166
|
-
progress: TTY::
|
165
|
+
color: TTY::Color.color?,
|
166
|
+
progress: TTY::Color.color?,
|
167
167
|
parallel: nil
|
168
168
|
|
169
169
|
Autoproj.silent = options[:silent]
|
data/lib/autoproj/cli/main.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'thor'
|
2
|
-
require 'tty
|
2
|
+
require 'tty/color'
|
3
3
|
require 'autoproj/cli/main_test'
|
4
4
|
|
5
5
|
module Autoproj
|
@@ -21,10 +21,10 @@ class Main < Thor
|
|
21
21
|
default: false
|
22
22
|
class_option :color, type: :boolean,
|
23
23
|
desc: 'enables or disables colored display (enabled by default if the terminal supports it)',
|
24
|
-
default: TTY::
|
24
|
+
default: TTY::Color.color?
|
25
25
|
class_option :progress, type: :boolean,
|
26
26
|
desc: 'enables or disables progress display (enabled by default if the terminal supports it)',
|
27
|
-
default: TTY::
|
27
|
+
default: TTY::Color.color?
|
28
28
|
|
29
29
|
no_commands do
|
30
30
|
def run_autoproj_cli(filename, classname, report_options, *args)
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autobuild
|
@@ -73,19 +73,25 @@ dependencies:
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
-
name: tty-
|
76
|
+
name: tty-color
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 0.3.0
|
79
82
|
- - ">="
|
80
83
|
- !ruby/object:Gem::Version
|
81
|
-
version: 0.
|
84
|
+
version: 0.3.0
|
82
85
|
type: :runtime
|
83
86
|
prerelease: false
|
84
87
|
version_requirements: !ruby/object:Gem::Requirement
|
85
88
|
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 0.3.0
|
86
92
|
- - ">="
|
87
93
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.
|
94
|
+
version: 0.3.0
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: flexmock
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|