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: 2df90b7f521cea1310f24ab8c866e96ec3e81748
4
- data.tar.gz: bf9598bfb25bcc2e4a87f20ff62041e085b48b5c
3
+ metadata.gz: 1bc576fef06393efe1b5d1767f5fb6b7918629bf
4
+ data.tar.gz: ffc24499ec3f101a51f78398db1b4864d2d76b8f
5
5
  SHA512:
6
- metadata.gz: 1e655ab8137fe6a2f23d3a118981a47faeb5791831b59adf00298d3cac5948e1c3e7a16b76a30a82720a29757c50ba599e9ca61f8bac8a8388ab3b7feef59953
7
- data.tar.gz: 43b3c6c3570549b05dd48f2f882bbbb017601041d1346487afdddf7164960ea5eae6c0c3598b18aa872c7b3c18155db48b447b1623e4297778c305ed74cba822
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?
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  module Funnel
3
- VERSION = '0.14.0.pre'
3
+ VERSION = '0.15.0.pre'
4
4
  end
5
5
  end
@@ -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 in square brackets since it would clutter the output' do
41
- expect($stdout).to_not have_received(:puts).with("\n[task]")
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.14.0.pre
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-08-03 00:00:00.000000000 Z
11
+ date: 2015-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake