clintegracon 0.6.0 → 0.6.1

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: da046b97927be25951f614f5a1d4fa20feab0520
4
- data.tar.gz: 5f499a259ddc350ba287541be417d440e69db5c7
3
+ metadata.gz: e7ea45e09d41cdf32e54a9f202b3ef12249cb234
4
+ data.tar.gz: 572433ceeea7dbdac41d2408c501f59ecfdda7cd
5
5
  SHA512:
6
- metadata.gz: d65d4fa9ae1a25a3dfd934dd5e5bd20ffe654c9ca773684f3f111a414b6d99381b9c1c5d25e037f8f7c7b25f3a8dc2e0059e8a60e742d26febc0a5b8ca68f3b1
7
- data.tar.gz: 4faacee342cdfbbb01b4b43ae83fd79cda250c250294d28ca7c1d1e2fd11c4e3a2a62eb3e67243c9082aa18744aa0807d75cb98a0a83707a5fbe134da03f677c
6
+ metadata.gz: 5800a93a5b745f89a39a65e5c4d2d7dab91ea49f77636d13f69b82976933d24966108305cbf7d19f12a8da4d39ce19b00c26dda6e818412b2d64ee2d16bc9e93
7
+ data.tar.gz: 3afc19fc729fea9dfa3327a0941cec7b98c8be85cb1dc521f8f7966f4f09d31f8692af2bdef73398545f76a690ceafac3de67777709ab30c1ba07f152901d46f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clintegracon (0.6.0)
4
+ clintegracon (0.6.1)
5
5
  colored (~> 1.2)
6
6
  diffy
7
7
 
@@ -139,7 +139,7 @@ module CLIntegracon
139
139
  # Serialized assignment of configured environment variables.
140
140
  #
141
141
  def environment_var_assignments
142
- environment_vars.map { |key,value| "#{key}=#{value}" }.join ' '
142
+ environment_vars.keys.sort.map { |key| "#{key}=#{environment_vars[key]}" }.join ' '
143
143
  end
144
144
 
145
145
  # Run the command.
@@ -196,7 +196,7 @@ module CLIntegracon
196
196
  #
197
197
  def write_output(command, output)
198
198
  File.open(output_path, 'w') do |file|
199
- printable_command = "#{environment_var_assignments} #{command} 2>&1"
199
+ printable_command = apply_replacements("#{environment_var_assignments} #{command} 2>&1")
200
200
  file.write printable_command.sub(executable, name)
201
201
  file.write "\n"
202
202
  file.write output
@@ -1,3 +1,3 @@
1
1
  module CLIntegracon
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -28,17 +28,17 @@ Bacon::Error: File comparison error `CaPheSuaDa.brewed-coffee` for coffeemaker_n
28
28
  - @origin = "Việt Nam"
29
29
  --- END ------------------------------------------------------------------------
30
30
 
31
+ spec/bacon/spec_helper.rb:45
31
32
  spec/bacon/spec_helper.rb:44
32
- spec/bacon/spec_helper.rb:43
33
- spec/bacon/spec_helper.rb:41
33
+ spec/bacon/spec_helper.rb:42
34
34
  spec/bacon/spec_helper.rb:17
35
35
  spec/bacon/spec_helper.rb:15
36
36
 
37
37
  Bacon::Error: Unexpected files for coffeemaker_no_milk:
38
38
  * Affogato.brewed-coffee
39
+ spec/bacon/spec_helper.rb:45
39
40
  spec/bacon/spec_helper.rb:44
40
- spec/bacon/spec_helper.rb:43
41
- spec/bacon/spec_helper.rb:41
41
+ spec/bacon/spec_helper.rb:42
42
42
  spec/bacon/spec_helper.rb:17
43
43
  spec/bacon/spec_helper.rb:15
44
44
 
@@ -49,17 +49,17 @@ Bacon::Error: File comparison error `Affogato.brewed-coffee` for coffeemaker_swe
49
49
  @sweetner = honey
50
50
  --- END ------------------------------------------------------------------------
51
51
 
52
+ spec/bacon/spec_helper.rb:49
52
53
  spec/bacon/spec_helper.rb:48
53
- spec/bacon/spec_helper.rb:47
54
- spec/bacon/spec_helper.rb:41
54
+ spec/bacon/spec_helper.rb:42
55
55
  spec/bacon/spec_helper.rb:17
56
56
  spec/bacon/spec_helper.rb:15
57
57
 
58
58
  Bacon::Error: Missing file for coffeemaker_sweetner_honey:
59
59
  * BlackEye.brewed-coffee
60
+ spec/bacon/spec_helper.rb:49
60
61
  spec/bacon/spec_helper.rb:48
61
- spec/bacon/spec_helper.rb:47
62
- spec/bacon/spec_helper.rb:41
62
+ spec/bacon/spec_helper.rb:42
63
63
  spec/bacon/spec_helper.rb:17
64
64
  spec/bacon/spec_helper.rb:15
65
65
 
@@ -71,9 +71,9 @@ Bacon::Error: File comparison error `RedTux.brewed-coffee` for coffeemaker_sweet
71
71
  + @sweetner = honey
72
72
  --- END ------------------------------------------------------------------------
73
73
 
74
+ spec/bacon/spec_helper.rb:49
74
75
  spec/bacon/spec_helper.rb:48
75
- spec/bacon/spec_helper.rb:47
76
- spec/bacon/spec_helper.rb:41
76
+ spec/bacon/spec_helper.rb:42
77
77
  spec/bacon/spec_helper.rb:17
78
78
  spec/bacon/spec_helper.rb:15
79
79
 
@@ -20,7 +20,8 @@ describe CLIntegracon::Adapter::Bacon do
20
20
  s.name = 'coffee-maker'
21
21
  s.executable = "bundle exec ruby #{BIN}/coffeemaker.rb"
22
22
  s.environment_vars = {
23
- 'COFFEE_MAKER_FILE' => 'Coffeemakerfile.yml'
23
+ 'COFFEE_MAKER_FILE' => 'Coffeemakerfile.yml',
24
+ 'PROJECT_DIR' => ROOT,
24
25
  }
25
26
  s.default_args = [
26
27
  '--verbose',
@@ -1,4 +1,4 @@
1
- COFFEE_MAKER_FILE=Coffeemakerfile.yml coffee-maker --help --verbose --no-ansi 2>&1
1
+ COFFEE_MAKER_FILE=Coffeemakerfile.yml PROJECT_DIR=ROOT bundle exec ruby ROOT/spec/fixtures/bin/coffeemaker.rb --help --verbose --no-ansi 2>&1
2
2
  Usage:
3
3
 
4
4
  $ coffee-maker
@@ -1,4 +1,4 @@
1
- COFFEE_MAKER_FILE=Coffeemakerfile.yml coffee-maker --no-milk --verbose --no-ansi 2>&1
1
+ COFFEE_MAKER_FILE=Coffeemakerfile.yml PROJECT_DIR=ROOT bundle exec ruby ROOT/spec/fixtures/bin/coffeemaker.rb --no-milk --verbose --no-ansi 2>&1
2
2
  * Brewing BlackEye
3
3
  * Brewing Affogato
4
4
  * Brewing CaPheSuaDa
@@ -1,4 +1,4 @@
1
- COFFEE_MAKER_FILE=Coffeemakerfile.yml coffee-maker --sweetner=honey --verbose --no-ansi 2>&1
1
+ COFFEE_MAKER_FILE=Coffeemakerfile.yml PROJECT_DIR=ROOT bundle exec ruby ROOT/spec/fixtures/bin/coffeemaker.rb --sweetner=honey --verbose --no-ansi 2>&1
2
2
  * Brewing Affogato
3
3
  * Brewing RedTux
4
4
  * Enjoy!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clintegracon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marius Rackwitz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-16 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler