rake-funnel 0.14.0.pre → 0.15.0.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bc576fef06393efe1b5d1767f5fb6b7918629bf
|
4
|
+
data.tar.gz: ffc24499ec3f101a51f78398db1b4864d2d76b8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 170d1b16a2852f22947a9b67d47d1b4692c804d0c1040903ed97ab6b0eb868077f8f48d0681e96d8165e18f8b3ffcdca72aff651b031fe819e14003b46a3c384
|
7
|
+
data.tar.gz: 7925d3f90728c9d4137fe8696059b8c31e34a984abd6f4258e9620ba5c8140db8a7127bf1c00fc0916a76994e6d60e90dfde7bb42159953858af957733bf00cd
|
@@ -8,7 +8,7 @@ module Rake
|
|
8
8
|
|
9
9
|
def initialize
|
10
10
|
task_starting do |task, _args|
|
11
|
-
puts "\n[#{task.name}]" unless Rake::Funnel::Integration::TeamCity.running?
|
11
|
+
puts "\n[#{task.name}]".bold.cyan unless Rake::Funnel::Integration::TeamCity.running?
|
12
12
|
end
|
13
13
|
|
14
14
|
yield self if block_given?
|
data/lib/rake/funnel/version.rb
CHANGED
@@ -29,16 +29,16 @@ describe Rake::Funnel::Integration::ProgressReport do
|
|
29
29
|
}
|
30
30
|
|
31
31
|
context 'not on TeamCity' do
|
32
|
-
it 'should write task name in square brackets' do
|
33
|
-
expect($stdout).to have_received(:puts).with("\n[task]")
|
32
|
+
it 'should write colored task name in square brackets' do
|
33
|
+
expect($stdout).to have_received(:puts).with("\n[task]".bold.cyan)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
37
|
context 'on TeamCity' do
|
38
38
|
let(:teamcity_running?) { true }
|
39
39
|
|
40
|
-
it 'should not write task name
|
41
|
-
expect($stdout).to_not have_received(:puts).with(
|
40
|
+
it 'should not write task name since it would clutter the output' do
|
41
|
+
expect($stdout).to_not have_received(:puts).with(/task/)
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-funnel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Groß
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|