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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/CLIntegracon/subject.rb +2 -2
- data/lib/CLIntegracon/version.rb +1 -1
- data/spec/bacon/execution_output.txt +10 -10
- data/spec/bacon/spec_helper.rb +2 -1
- data/spec/integration/coffeemaker_help/after/execution_output.txt +1 -1
- data/spec/integration/coffeemaker_no_milk/after/execution_output.txt +1 -1
- data/spec/integration/coffeemaker_sweetner_honey/after/execution_output.txt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7ea45e09d41cdf32e54a9f202b3ef12249cb234
|
|
4
|
+
data.tar.gz: 572433ceeea7dbdac41d2408c501f59ecfdda7cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5800a93a5b745f89a39a65e5c4d2d7dab91ea49f77636d13f69b82976933d24966108305cbf7d19f12a8da4d39ce19b00c26dda6e818412b2d64ee2d16bc9e93
|
|
7
|
+
data.tar.gz: 3afc19fc729fea9dfa3327a0941cec7b98c8be85cb1dc521f8f7966f4f09d31f8692af2bdef73398545f76a690ceafac3de67777709ab30c1ba07f152901d46f
|
data/Gemfile.lock
CHANGED
data/lib/CLIntegracon/subject.rb
CHANGED
|
@@ -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
|
|
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
|
data/lib/CLIntegracon/version.rb
CHANGED
|
@@ -28,17 +28,17 @@ Bacon::Error: File comparison error `CaPheSuaDa.brewed-coffee` for coffeemaker_n
|
|
|
28
28
|
[31m- @origin = "Việt Nam"[0m
|
|
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:
|
|
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
|
* [32mAffogato.brewed-coffee[0m
|
|
39
|
+
spec/bacon/spec_helper.rb:45
|
|
39
40
|
spec/bacon/spec_helper.rb:44
|
|
40
|
-
spec/bacon/spec_helper.rb:
|
|
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:
|
|
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
|
* [31mBlackEye.brewed-coffee[0m
|
|
60
|
+
spec/bacon/spec_helper.rb:49
|
|
60
61
|
spec/bacon/spec_helper.rb:48
|
|
61
|
-
spec/bacon/spec_helper.rb:
|
|
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
|
[32m+ @sweetner = honey[0m
|
|
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:
|
|
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
|
|
data/spec/bacon/spec_helper.rb
CHANGED
|
@@ -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
|
|
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
|
|
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.
|
|
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
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|