wwtd 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wwtd/cli.rb +1 -1
- data/lib/wwtd/run.rb +1 -1
- data/lib/wwtd/tasks.rb +1 -1
- data/lib/wwtd/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ea58cf2ea3a962dbc5ed44866ba2ff5411de57e
|
4
|
+
data.tar.gz: 4803501289ed6fcbdf9e606855be37cf6e3b9454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf228f3b8f0136905943f05cae7802d925843bf7affcc51f6c07d93bec2c4a2de9781af9bf120ef6c2b9162a3024e5063a0e5921e7da9af2a16a50ce58e3e8a5
|
7
|
+
data.tar.gz: 13922b88b673cac8ca958e7c7ac4750072f53c78f21d4b267b0380806ea06cde560430dc41abdf374e3108ff7b367bb6fe49c9bcb97c107a7c2da7d8946529d4
|
data/lib/wwtd/cli.rb
CHANGED
@@ -92,7 +92,7 @@ module WWTD
|
|
92
92
|
# {"a" => 1, "b" => 2} + {"a" => 2, "b" => 2} => {"a" => 1} + {"a" => 2}
|
93
93
|
def config_info(matrix, config)
|
94
94
|
config = config.select { |k,v| matrix.map { |c| c[k] }.uniq.size > 1 }.sort # find non-unique values aka interesting
|
95
|
-
maximum_value_lengths = Hash[config.map { |k,
|
95
|
+
maximum_value_lengths = Hash[config.map { |k,_| [k, matrix.map { |h| h[k].to_s.size }.max ] }] # find maximum value length for each key so we can align
|
96
96
|
config.map do |k, v|
|
97
97
|
value = truncate(v, INFO_MAX_CHARACTERS).ljust([INFO_MAX_CHARACTERS, maximum_value_lengths[k]].min)
|
98
98
|
"#{k}: #{value}"
|
data/lib/wwtd/run.rb
CHANGED
data/lib/wwtd/tasks.rb
CHANGED
data/lib/wwtd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wwtd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: michael@grosser.it
|
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
44
|
version: '0'
|
45
45
|
requirements: []
|
46
46
|
rubyforge_project:
|
47
|
-
rubygems_version: 2.
|
47
|
+
rubygems_version: 2.4.5.1
|
48
48
|
signing_key:
|
49
49
|
specification_version: 4
|
50
50
|
summary: Travis simulator so you do not need to wait for the build
|