aruba 1.0.0.pre.alpha.4 → 1.0.0.pre.alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +0 -1
- data/.rubocop.yml +19 -1
- data/.rubocop_todo.yml +10 -116
- data/.travis.yml +24 -26
- data/CHANGELOG.md +112 -19
- data/CONTRIBUTING.md +7 -7
- data/Gemfile +2 -50
- data/Rakefile +20 -37
- data/appveyor.yml +3 -5
- data/aruba.gemspec +16 -6
- data/bin/console +1 -1
- data/cucumber.yml +4 -15
- data/exe/aruba +1 -1
- data/fixtures/cli-app/bin/aruba-test-cli +1 -1
- data/fixtures/cli-app/cli-app.gemspec +1 -3
- data/fixtures/cli-app/lib/cli/app.rb +1 -1
- data/fixtures/cli-app/spec/spec_helper.rb +1 -1
- data/fixtures/empty-app/cli-app.gemspec +1 -3
- data/fixtures/empty-app/lib/cli/app.rb +0 -2
- data/fixtures/getting-started-app/Gemfile +1 -1
- data/lib/aruba/api.rb +6 -6
- data/lib/aruba/api/commands.rb +25 -1
- data/lib/aruba/api/core.rb +17 -4
- data/lib/aruba/api/environment.rb +8 -4
- data/lib/aruba/api/filesystem.rb +19 -6
- data/lib/aruba/colorizer.rb +10 -99
- data/lib/aruba/config/jruby.rb +15 -5
- data/lib/aruba/config_wrapper.rb +3 -1
- data/lib/aruba/configuration.rb +24 -12
- data/lib/aruba/cucumber.rb +0 -2
- data/lib/aruba/cucumber/command.rb +123 -45
- data/lib/aruba/cucumber/file.rb +13 -15
- data/lib/aruba/cucumber/testing_frameworks.rb +74 -50
- data/lib/aruba/in_config_wrapper.rb +5 -1
- data/lib/aruba/initializer.rb +28 -28
- data/lib/aruba/matchers/command/be_successfully_executed.rb +4 -0
- data/lib/aruba/matchers/command/have_exit_status.rb +13 -3
- data/lib/aruba/matchers/command/have_finished_in_time.rb +1 -1
- data/lib/aruba/matchers/command/have_output.rb +1 -1
- data/lib/aruba/matchers/command/have_output_on_stderr.rb +1 -1
- data/lib/aruba/matchers/command/have_output_on_stdout.rb +1 -1
- data/lib/aruba/matchers/command/have_output_size.rb +1 -1
- data/lib/aruba/matchers/directory/be_an_existing_directory.rb +1 -1
- data/lib/aruba/matchers/file/be_an_existing_file.rb +1 -1
- data/lib/aruba/platform.rb +0 -7
- data/lib/aruba/platforms/announcer.rb +16 -11
- data/lib/aruba/platforms/command_monitor.rb +36 -0
- data/lib/aruba/platforms/simple_table.rb +2 -10
- data/lib/aruba/platforms/unix_environment_variables.rb +2 -10
- data/lib/aruba/platforms/unix_platform.rb +7 -3
- data/lib/aruba/platforms/windows_command_string.rb +2 -2
- data/lib/aruba/platforms/windows_environment_variables.rb +7 -1
- data/lib/aruba/platforms/windows_platform.rb +4 -0
- data/lib/aruba/processes/basic_process.rb +11 -11
- data/lib/aruba/processes/debug_process.rb +7 -3
- data/lib/aruba/processes/spawn_process.rb +13 -8
- data/lib/aruba/rspec.rb +1 -1
- data/lib/aruba/setup.rb +5 -5
- data/lib/aruba/version.rb +1 -1
- metadata +153 -20
- data/bin/build +0 -3
- data/bin/release +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dbd9fc424f0993d70e1d5c6e7a80020b56ec11269191c4f405ca0933bec5fd0
|
4
|
+
data.tar.gz: 519e1f79c78fb8b0eebac3667ba7bb4d00fd852785dfbda22123f3655b30c563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a7852ecbd342bbf3e84d7ebc62f98a1fdc4dbe339a64aa118f829374f87095ca59c41479f83f2224fe7d48e78a714c7f1130c882cac32618d567615bb02ead
|
7
|
+
data.tar.gz: 0f87c48cc8b836657dfab9393fe78d7fb06d02196ce55a593ea0ea9aed4c6c7ae1aceba416046f8ba057ce41f12c2bffdd90421799fdd91bfdf6354185e885f8
|
data/.rspec
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,13 +1,31 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
|
1
4
|
AllCops:
|
2
5
|
Exclude:
|
3
6
|
- tmp/**/*
|
4
7
|
- vendor/**/*
|
5
8
|
DisplayCopNames: true
|
6
|
-
TargetRubyVersion: 2.
|
9
|
+
TargetRubyVersion: 2.3
|
7
10
|
|
8
11
|
# Use older RuboCop default
|
9
12
|
Style/PercentLiteralDelimiters:
|
10
13
|
PreferredDelimiters:
|
11
14
|
'%w': ()
|
12
15
|
|
16
|
+
# Code is currently broken with frozen string literal comments applied.
|
17
|
+
# TODO: Enable and fix build
|
18
|
+
Style/FrozenStringLiteralComment:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
# TODO: This is placed in here so the auto-gen-config doesn't destroy these.
|
22
|
+
# Most of these need to be manually tackled, the LineLength value currently is good enough to stop most of
|
23
|
+
# these leaking through into the codebase
|
24
|
+
# Offense count: 375+
|
25
|
+
# Cop supports --auto-correct.
|
26
|
+
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
27
|
+
# URISchemes: http, https
|
28
|
+
Metrics/LineLength:
|
29
|
+
Max: 150
|
30
|
+
|
13
31
|
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
CHANGED
@@ -1,49 +1,11 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2019-
|
3
|
+
# on 2019-07-01 13:22:17 +0200 using RuboCop version 0.69.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count: 5
|
10
|
-
# Configuration parameters: Include.
|
11
|
-
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
12
|
-
Bundler/DuplicatedGem:
|
13
|
-
Exclude:
|
14
|
-
- 'Gemfile'
|
15
|
-
|
16
|
-
# Offense count: 2
|
17
|
-
# Cop supports --auto-correct.
|
18
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
19
|
-
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
20
|
-
Layout/AlignParameters:
|
21
|
-
Exclude:
|
22
|
-
- 'lib/aruba/api/commands.rb'
|
23
|
-
- 'lib/aruba/processes/basic_process.rb'
|
24
|
-
|
25
|
-
# Offense count: 5
|
26
|
-
# Cop supports --auto-correct.
|
27
|
-
Layout/ClosingHeredocIndentation:
|
28
|
-
Exclude:
|
29
|
-
- 'lib/aruba/initializer.rb'
|
30
|
-
|
31
|
-
# Offense count: 3
|
32
|
-
# Cop supports --auto-correct.
|
33
|
-
# Configuration parameters: EnforcedStyle.
|
34
|
-
# SupportedStyles: leading, trailing
|
35
|
-
Layout/DotPosition:
|
36
|
-
Exclude:
|
37
|
-
- 'spec/aruba/matchers/collection_spec.rb'
|
38
|
-
|
39
|
-
# Offense count: 5
|
40
|
-
# Cop supports --auto-correct.
|
41
|
-
# Configuration parameters: EnforcedStyle.
|
42
|
-
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
|
43
|
-
Layout/IndentHeredoc:
|
44
|
-
Exclude:
|
45
|
-
- 'lib/aruba/initializer.rb'
|
46
|
-
|
47
9
|
# Offense count: 7
|
48
10
|
Lint/AmbiguousBlockAssociation:
|
49
11
|
Exclude:
|
@@ -61,11 +23,6 @@ Lint/MissingCopEnableDirective:
|
|
61
23
|
- 'lib/aruba/configuration.rb'
|
62
24
|
- 'lib/aruba/processes/spawn_process.rb'
|
63
25
|
|
64
|
-
# Offense count: 1
|
65
|
-
Lint/UselessAssignment:
|
66
|
-
Exclude:
|
67
|
-
- 'lib/aruba/platforms/unix_environment_variables.rb'
|
68
|
-
|
69
26
|
# Offense count: 2
|
70
27
|
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
71
28
|
Lint/Void:
|
@@ -77,7 +34,7 @@ Lint/Void:
|
|
77
34
|
Metrics/AbcSize:
|
78
35
|
Max: 116
|
79
36
|
|
80
|
-
# Offense count:
|
37
|
+
# Offense count: 72
|
81
38
|
# Configuration parameters: CountComments, ExcludedMethods.
|
82
39
|
# ExcludedMethods: refine
|
83
40
|
Metrics/BlockLength:
|
@@ -86,9 +43,9 @@ Metrics/BlockLength:
|
|
86
43
|
# Offense count: 2
|
87
44
|
# Configuration parameters: CountComments.
|
88
45
|
Metrics/ClassLength:
|
89
|
-
Max:
|
46
|
+
Max: 135
|
90
47
|
|
91
|
-
# Offense count:
|
48
|
+
# Offense count: 18
|
92
49
|
# Configuration parameters: CountComments, ExcludedMethods.
|
93
50
|
Metrics/MethodLength:
|
94
51
|
Max: 18
|
@@ -107,34 +64,20 @@ Metrics/ParameterLists:
|
|
107
64
|
Metrics/PerceivedComplexity:
|
108
65
|
Max: 10
|
109
66
|
|
110
|
-
# Offense count:
|
111
|
-
Naming/ConstantName:
|
112
|
-
Exclude:
|
113
|
-
- 'lib/aruba/platform.rb'
|
114
|
-
|
115
|
-
# Offense count: 8
|
67
|
+
# Offense count: 5
|
116
68
|
# Configuration parameters: Blacklist.
|
117
69
|
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
118
70
|
Naming/HeredocDelimiterNaming:
|
119
71
|
Exclude:
|
120
72
|
- 'lib/aruba/initializer.rb'
|
121
|
-
- 'spec/aruba/matchers/command_spec.rb'
|
122
|
-
|
123
|
-
# Offense count: 1
|
124
|
-
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
125
|
-
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
126
|
-
Naming/MemoizedInstanceVariableName:
|
127
|
-
Exclude:
|
128
|
-
- 'lib/aruba/api/core.rb'
|
129
73
|
|
130
|
-
# Offense count:
|
74
|
+
# Offense count: 16
|
131
75
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
132
76
|
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
133
77
|
Naming/UncommunicativeMethodParamName:
|
134
78
|
Exclude:
|
135
79
|
- 'lib/aruba/aruba_path.rb'
|
136
80
|
- 'lib/aruba/config_wrapper.rb'
|
137
|
-
- 'lib/aruba/event_bus/name_resolver.rb'
|
138
81
|
- 'lib/aruba/matchers/base/object_formatter.rb'
|
139
82
|
- 'lib/aruba/platforms/announcer.rb'
|
140
83
|
- 'lib/aruba/platforms/aruba_logger.rb'
|
@@ -184,7 +127,7 @@ Style/CommentedKeyword:
|
|
184
127
|
Exclude:
|
185
128
|
- 'spec/aruba/api_spec.rb'
|
186
129
|
|
187
|
-
# Offense count:
|
130
|
+
# Offense count: 12
|
188
131
|
Style/Documentation:
|
189
132
|
Exclude:
|
190
133
|
- 'spec/**/*'
|
@@ -193,45 +136,17 @@ Style/Documentation:
|
|
193
136
|
- 'fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb'
|
194
137
|
- 'fixtures/empty-app/lib/cli/app.rb'
|
195
138
|
- 'lib/aruba/api/bundler.rb'
|
196
|
-
- 'lib/aruba/colorizer.rb'
|
197
139
|
- 'lib/aruba/matchers/collection/include_an_object.rb'
|
198
140
|
- 'lib/aruba/platforms/command_monitor.rb'
|
199
141
|
- 'lib/aruba/setup.rb'
|
200
142
|
- 'lib/aruba/tasks/docker_helpers.rb'
|
201
143
|
|
202
|
-
# Offense count: 4
|
203
|
-
# Cop supports --auto-correct.
|
204
|
-
Style/Encoding:
|
205
|
-
Exclude:
|
206
|
-
- 'aruba.gemspec'
|
207
|
-
- 'fixtures/cli-app/cli-app.gemspec'
|
208
|
-
- 'fixtures/empty-app/cli-app.gemspec'
|
209
|
-
- 'spec/spec_helper.rb'
|
210
|
-
|
211
144
|
# Offense count: 1
|
212
145
|
Style/EvalWithLocation:
|
213
146
|
Exclude:
|
214
147
|
- 'spec/support/helpers/reporting.rb'
|
215
148
|
|
216
|
-
# Offense count:
|
217
|
-
# Cop supports --auto-correct.
|
218
|
-
Style/ExpandPathArguments:
|
219
|
-
Exclude:
|
220
|
-
- 'Gemfile'
|
221
|
-
- 'Rakefile'
|
222
|
-
- 'bin/console'
|
223
|
-
- 'exe/aruba'
|
224
|
-
- 'features/support/env.rb'
|
225
|
-
- 'features/support/simplecov_setup.rb'
|
226
|
-
- 'fixtures/cli-app/bin/aruba-test-cli'
|
227
|
-
- 'fixtures/cli-app/cli-app.gemspec'
|
228
|
-
- 'fixtures/cli-app/lib/cli/app.rb'
|
229
|
-
- 'fixtures/cli-app/spec/spec_helper.rb'
|
230
|
-
- 'fixtures/empty-app/cli-app.gemspec'
|
231
|
-
- 'fixtures/empty-app/lib/cli/app.rb'
|
232
|
-
- 'fixtures/getting-started-app/Gemfile'
|
233
|
-
|
234
|
-
# Offense count: 85
|
149
|
+
# Offense count: 84
|
235
150
|
# Configuration parameters: EnforcedStyle.
|
236
151
|
# SupportedStyles: annotated, template, unannotated
|
237
152
|
Style/FormatStringToken:
|
@@ -242,11 +157,10 @@ Style/IdenticalConditionalBranches:
|
|
242
157
|
Exclude:
|
243
158
|
- 'lib/aruba/hooks.rb'
|
244
159
|
|
245
|
-
# Offense count:
|
160
|
+
# Offense count: 8
|
246
161
|
# Cop supports --auto-correct.
|
247
162
|
Style/IfUnlessModifier:
|
248
163
|
Exclude:
|
249
|
-
- 'Gemfile'
|
250
164
|
- 'features/support/env.rb'
|
251
165
|
- 'lib/aruba/cucumber/command.rb'
|
252
166
|
- 'lib/aruba/matchers/collection/include_an_object.rb'
|
@@ -270,20 +184,6 @@ Style/MethodMissingSuper:
|
|
270
184
|
- 'lib/aruba/platforms/command_monitor.rb'
|
271
185
|
- 'lib/aruba/tasks/docker_helpers.rb'
|
272
186
|
|
273
|
-
# Offense count: 3
|
274
|
-
Style/MissingRespondToMissing:
|
275
|
-
Exclude:
|
276
|
-
- 'lib/aruba/in_config_wrapper.rb'
|
277
|
-
- 'lib/aruba/platforms/command_monitor.rb'
|
278
|
-
|
279
|
-
# Offense count: 1
|
280
|
-
# Cop supports --auto-correct.
|
281
|
-
# Configuration parameters: EnforcedStyle.
|
282
|
-
# SupportedStyles: literals, strict
|
283
|
-
Style/MutableConstant:
|
284
|
-
Exclude:
|
285
|
-
- 'lib/aruba/colorizer.rb'
|
286
|
-
|
287
187
|
# Offense count: 4
|
288
188
|
# Cop supports --auto-correct.
|
289
189
|
# Configuration parameters: Whitelist.
|
@@ -336,7 +236,7 @@ Style/Semicolon:
|
|
336
236
|
Exclude:
|
337
237
|
- 'lib/aruba/platforms/aruba_fixed_size_file_creator.rb'
|
338
238
|
|
339
|
-
# Offense count:
|
239
|
+
# Offense count: 43
|
340
240
|
# Cop supports --auto-correct.
|
341
241
|
# Configuration parameters: EnforcedStyle.
|
342
242
|
# SupportedStyles: only_raise, only_fail, semantic
|
@@ -356,9 +256,3 @@ Style/StderrPuts:
|
|
356
256
|
# SupportedStyles: percent, brackets
|
357
257
|
Style/SymbolArray:
|
358
258
|
EnforcedStyle: brackets
|
359
|
-
|
360
|
-
# Offense count: 411
|
361
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
362
|
-
# URISchemes: http, https
|
363
|
-
Metrics/LineLength:
|
364
|
-
Max: 174
|
data/.travis.yml
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
# Use old Ubuntu distribution to avoid JRuby issues
|
2
|
+
dist: trusty
|
1
3
|
language: ruby
|
2
4
|
script: bundle exec rake test
|
3
5
|
before_install:
|
4
6
|
- gem install bundler -v '< 2'
|
5
|
-
bundler_args: --without
|
7
|
+
bundler_args: --without debug
|
6
8
|
|
7
9
|
jobs:
|
8
10
|
include:
|
@@ -27,24 +29,32 @@ jobs:
|
|
27
29
|
os: linux
|
28
30
|
- rvm: 2.3.8
|
29
31
|
os: osx
|
30
|
-
- rvm: 2.
|
32
|
+
- rvm: 2.3.0
|
31
33
|
os: linux
|
32
|
-
- rvm:
|
33
|
-
os: osx
|
34
|
-
- rvm: jruby
|
34
|
+
- rvm: jruby-9.1
|
35
35
|
os: linux
|
36
|
-
- rvm: jruby-9.2.
|
36
|
+
- rvm: jruby-9.2.8.0
|
37
37
|
os: linux
|
38
|
-
- rvm: jruby-9.2.
|
38
|
+
- rvm: jruby-9.2.8.0
|
39
39
|
os: osx
|
40
|
+
env: JAVA_OPTS="
|
41
|
+
--add-opens java.base/java.io=ALL-UNNAMED
|
42
|
+
--add-opens java.base/java.lang=ALL-UNNAMED
|
43
|
+
--add-opens java.base/java.util=ALL-UNNAMED
|
44
|
+
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
45
|
+
--add-opens java.base/java.security.cert=ALL-UNNAMED
|
46
|
+
--add-opens java.base/java.security=ALL-UNNAMED
|
47
|
+
--add-opens java.base/javax.crypto=ALL-UNNAMED
|
48
|
+
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
|
49
|
+
--add-opens java.base/java.nio.channels.spi=ALL-UNNAMED
|
50
|
+
--illegal-access=warn"
|
51
|
+
script: bundle exec rake spec
|
40
52
|
- stage: lint
|
41
53
|
script: bundle exec rake lint
|
42
54
|
rvm: 2.6.3
|
43
55
|
os: linux
|
44
56
|
allow_failures:
|
45
57
|
- rvm: ruby-head
|
46
|
-
- rvm: jruby
|
47
|
-
- rvm: jruby-9.2.7.0
|
48
58
|
fast_finish: true
|
49
59
|
|
50
60
|
branches:
|
@@ -56,20 +66,8 @@ branches:
|
|
56
66
|
# slack: cucumberbdd:oQFVhzsx4R94KWmjlejAJYnM
|
57
67
|
env:
|
58
68
|
global:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
# Somehow a "ASCII-8BIT to UTF-8 conversion error" appears for
|
65
|
-
# JRuby 9
|
66
|
-
- LC_ALL=en_US.UTF-8
|
67
|
-
- LANG=en_US.UTF-8
|
68
|
-
- LANGUAGE=en_US.UTF-8
|
69
|
-
|
70
|
-
cache: apt
|
71
|
-
|
72
|
-
addons:
|
73
|
-
apt:
|
74
|
-
packages:
|
75
|
-
- zsh
|
69
|
+
- secure: l8uznA5K4K9mZ1krmP3lTMD8WcJ32qGxFOR3jubKHcOBSLB4xSzU2aIqjyJdO+rLzebkwamhJc8pGSIWOUDQYvFiX7splK+uEkbBJ5huAhXtLF4Qgl86bCWbEXYzN7rvn0DQfpJAovyFMNRMnfo70XhwqWzFsaYa7Z0YbqYsJE4=
|
70
|
+
# Travis by default also have "-Dcext.enabled=false" set in
|
71
|
+
# JRUBY_OPTS, but JRuby 9 does not support C extensions at all
|
72
|
+
# so it issues warning that will mess up the stderr checks.
|
73
|
+
- JRUBY_OPTS="--dev --debug"
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,28 @@ This project will adhere to [Semantic Versioning][1] once version 1.0.0 is relea
|
|
6
6
|
|
7
7
|
This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
8
8
|
|
9
|
+
## [1.0.0.pre.alpha.5]
|
10
|
+
|
11
|
+
* Refactor: Uncouple some of aruba's step definition code ([#666] by [luke-hill])
|
12
|
+
* Fix several JRuby build issues
|
13
|
+
([bb770e2e](https://github.com/cucumber/aruba/commit/bb770e2e82ec09807b07eed1f4a124612eeee3f4),
|
14
|
+
[#669] and [#671] by [mvz])
|
15
|
+
* Clean up build ([#663] by [mvz])
|
16
|
+
* Handle announcing combined with DebugProcess ([#665] by [mvz])
|
17
|
+
* Allow both 'a' and 'the' in step, as documented ([#660] by [mvz])
|
18
|
+
* Fix rubocop issues ([#654] and [#659] by [luke-hill])
|
19
|
+
* Fix up JRuby build ([#657] by [mvz])
|
20
|
+
* Improve documentation for the `@debug` annotation ([#656] by [mvz])
|
21
|
+
* Support windows internal commands ([#655] by [xtrasimplicity])
|
22
|
+
* Do not set binmode on output temp files ([#652] by [mvz])
|
23
|
+
* Fix JRuby builds ([#637] by [mvz])
|
24
|
+
* Restore previously removed behaviors ([#644] by [mvz])
|
25
|
+
* Improve cucumber features ([#643] by [mvz])
|
26
|
+
* Move development dependency information to gemspec ([#631] by [luke-hill])
|
27
|
+
* Fix JRuby before :command helper hook ([#635] by [mvz])
|
28
|
+
* Replace problematic AnsiColor module with simple implementation ([#636] by [mvz])
|
29
|
+
* Drop Ruby 2.2 support ([#616] by [mvz] and [luke-hill])
|
30
|
+
|
9
31
|
## [1.0.0.pre.alpha.4]
|
10
32
|
|
11
33
|
* Improve documentation: GitHub is not Github ([#629] by [amatsuda])
|
@@ -116,7 +138,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
116
138
|
* Fixed the logic to determine disk usage ([#359], [e2])
|
117
139
|
* Prefixed exception in `rescue`-call to make it fail with a proper error
|
118
140
|
message ([#376])
|
119
|
-
* Run and build aruba in isolated environment via docker ([#353] [e2], [#382])
|
141
|
+
* Run and build aruba in isolated environment via docker ([#353] by [e2], [#382])
|
120
142
|
* Run container with docker-compose without making docker-compose a required
|
121
143
|
dependency. Rake tasks read in the docker-compose.yml instead ([#382])
|
122
144
|
* Document developer rake tasks via cucumber features ([#382])
|
@@ -174,6 +196,37 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
174
196
|
"""
|
175
197
|
And the stderr should not contain anything
|
176
198
|
|
199
|
+
## [0.14.12]
|
200
|
+
|
201
|
+
* Loosen dependency on childprocess ([#673])
|
202
|
+
* Fix Travis build ([#668])
|
203
|
+
* Handle announcing with DebugProcess ([#664])
|
204
|
+
|
205
|
+
## [0.14.11]
|
206
|
+
|
207
|
+
* Loosen childprocess dependency ([#658])
|
208
|
+
* Do not set binmode on output temp files, so automatic line ending conversion works ([#650])
|
209
|
+
* Improve deprecation suggestions ([#647])
|
210
|
+
* Backport fixes to code organization, layout and spelling ([#645])
|
211
|
+
|
212
|
+
## [0.14.10]
|
213
|
+
|
214
|
+
* Backport replacement of problematic AnsiColor module with simple
|
215
|
+
implementation ([#642])
|
216
|
+
* Undo preprecation of `#all_output`, `#all_stdout`, `#all_stderr` and
|
217
|
+
`#in_current_directory` API methods, as well as of checking the combined
|
218
|
+
output from all commands in cucumber steps ([#638])
|
219
|
+
* Warn when deprecated files `aruba/in_process` and `aruba/spawn_process` are
|
220
|
+
required ([#639])
|
221
|
+
* Backport allowing decimal timeout values ([#621])
|
222
|
+
* Move deprecated cucumber steps into a separate file ([#622])
|
223
|
+
* Backport renaming of bin/cli in features ([#620])
|
224
|
+
* Improve build set for CI ([#611])
|
225
|
+
* Make JRuby before :command helper hook work on the environment the command
|
226
|
+
will actually be run in ([#610], [#612])
|
227
|
+
* Reorganize spec files to match master branch ([#603])
|
228
|
+
* Reorganize feature files to match master branch ([#602])
|
229
|
+
|
177
230
|
## [0.14.9]
|
178
231
|
|
179
232
|
* Formally deprecate `#use_clean_gemset` ([#597])
|
@@ -219,7 +272,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
219
272
|
|
220
273
|
## [0.14.2]
|
221
274
|
|
222
|
-
* Handle empty JRUBY_OPTS on JRuby
|
275
|
+
* Handle empty `JRUBY_OPTS` on JRuby
|
223
276
|
|
224
277
|
## [0.14.1]
|
225
278
|
|
@@ -235,8 +288,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
235
288
|
|
236
289
|
* Add two new hooks for rspec and cucumber to make troubleshooting feature
|
237
290
|
files easier ([#338]):
|
238
|
-
* command_content
|
239
|
-
* command_filesystem_status
|
291
|
+
* `command_content`: Outputs command content - helpful for scripts
|
292
|
+
* `command_filesystem_status`: Outputs information like group, owner, mode,
|
240
293
|
atime, mtime
|
241
294
|
* Add generator to create ad hoc script file ([#323], [AdrieanKhisbe])
|
242
295
|
* Colored announcer output similar to the color of `cucumber` tags: cyan
|
@@ -245,8 +298,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
245
298
|
* Refactorings to internal `#simple_table`-method (internal)
|
246
299
|
* Refactored Announcer, now it supports blocks for announce as well (internal)
|
247
300
|
* Fix circular require warnings ([#339])
|
248
|
-
* Fix use of old instances variable
|
249
|
-
default value for io_wait_timeout can be set correctly.
|
301
|
+
* Fix use of old instances variable `@io_wait` ([#341]). Now the
|
302
|
+
default value for `io_wait_timeout` can be set correctly.
|
250
303
|
* Make it possible to announce information on command error, using a new option
|
251
304
|
called `activate_announcer_on_command_failure` ([#335], [njam])
|
252
305
|
* Re-integrate `event-bus`-library into `aruba`-core ([#342])
|
@@ -304,7 +357,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
304
357
|
docker + "systemd". If you send a systemd-enable container SIGINT it will be
|
305
358
|
stopped.
|
306
359
|
* Added a configurable amount of time after a command was started -
|
307
|
-
startup_wait_time
|
360
|
+
`startup_wait_time`. Otherwise you get problems when a process takes to long to
|
308
361
|
startup when you run in background and want to sent it a signal.
|
309
362
|
* Replace `<variable>` in commandline, e.g. `<pid-last-command-started>`
|
310
363
|
[experimental]
|
@@ -358,7 +411,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
358
411
|
|
359
412
|
## [0.9.0.pre2]
|
360
413
|
|
361
|
-
* Redefine
|
414
|
+
* Redefine `#to_s` and `#inspect` for BasicProcess to reduce the sheer amount of
|
362
415
|
information, if a command produces a lot of output
|
363
416
|
* Added new matcher `#all_objects` to check if an object is included + an error
|
364
417
|
message for failures which is similar to the `#all`-matcher of `RSpec`
|
@@ -448,11 +501,12 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
448
501
|
* Move Aruba constants to configuration class ([#271])
|
449
502
|
* Added runtime configuration via `aruba.config` which is reset for each test run
|
450
503
|
* Refactored hooks: now there are `after()` and `before()`-hooks, old
|
451
|
-
before_cmd
|
504
|
+
`before_cmd`-hook is still working, but is deprecated, added new
|
452
505
|
`after(:command)`-hook.
|
453
506
|
* Refactored jruby-startup helper
|
454
507
|
* Cleanup API by moving deprecated methods to separate class
|
455
|
-
* Cleanup Core API - reduced to `cd`, `expand_path`, `setup_aruba` and use
|
508
|
+
* Cleanup Core API - reduced to `cd`, `expand_path`, `setup_aruba` and use
|
509
|
+
`expand_path` wherever possible ([#253])
|
456
510
|
* Better isolation for environment variable manipulation - really helpful from 1.0.0 on
|
457
511
|
* Move configuration files like `jruby.rb` to `aruba/config/`-directory
|
458
512
|
* Change default exit timeout to 15 seconds to work around long running processes on travis
|
@@ -476,10 +530,10 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
476
530
|
|
477
531
|
## [0.7.0]
|
478
532
|
|
479
|
-
* Introducing root_directory ([#232])
|
533
|
+
* Introducing `root_directory` ([#232])
|
480
534
|
* Introducing fixtures directory ([#224])
|
481
535
|
* Make sure a file/directory does not exist + Cleanup named file/directory steps ([#234])
|
482
|
-
* Make matcher have_permisions public and add documentation ([#239])
|
536
|
+
* Make matcher `have_permisions` public and add documentation ([#239])
|
483
537
|
* Added matcher for file content ([#238])
|
484
538
|
* Add rspec integrator ([#244])
|
485
539
|
* Deprecate `_file` and `_directory` in method names ([#243])
|
@@ -498,8 +552,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
498
552
|
## [0.6.1]
|
499
553
|
|
500
554
|
* Added support for ruby 2.1.2
|
501
|
-
* Added support for
|
502
|
-
* Added support for with_env
|
555
|
+
* Added support for `~` expansion
|
556
|
+
* Added support for `with_env`
|
503
557
|
|
504
558
|
## [0.6.0]
|
505
559
|
|
@@ -530,11 +584,11 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
530
584
|
|
531
585
|
## [0.5.0]
|
532
586
|
|
533
|
-
* Add
|
587
|
+
* Add `#with_file_content` to the DSL ([#110], [argent-smith])
|
534
588
|
* Make JRuby performance tweaks optional ([#102], [taylor], [#125], [alindeman])
|
535
|
-
* Add assert_partial_output_interactive so you can peek at the output from a running process ([#104], [taylor])
|
536
|
-
* Add assert_not_matching_output ([#111], [argent-smith])
|
537
|
-
* Add remove_dir ([#121], [LTe])
|
589
|
+
* Add `assert_partial_output_interactive` so you can peek at the output from a running process ([#104], [taylor])
|
590
|
+
* Add `assert_not_matching_output` ([#111], [argent-smith])
|
591
|
+
* Add `remove_dir` ([#121], [LTe])
|
538
592
|
|
539
593
|
## [0.4.11]
|
540
594
|
|
@@ -782,6 +836,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
782
836
|
<!-- Contributors -->
|
783
837
|
|
784
838
|
[AdrieanKhisbe]: https://github.com/AdrieanKhisbe
|
839
|
+
[LTe]: https://github.com/LTe
|
785
840
|
[aeden]: https://github.com/aeden
|
786
841
|
[aknuds1]: https://github.com/aknuds1
|
787
842
|
[alindeman]: https://github.com/alindeman
|
@@ -828,16 +883,53 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
828
883
|
|
829
884
|
<!-- issues & pull requests -->
|
830
885
|
|
886
|
+
[#673]: https://github.com/cucumber/aruba/pull/673
|
887
|
+
[#671]: https://github.com/cucumber/aruba/pull/671
|
888
|
+
[#669]: https://github.com/cucumber/aruba/pull/669
|
889
|
+
[#668]: https://github.com/cucumber/aruba/pull/668
|
890
|
+
[#666]: https://github.com/cucumber/aruba/pull/666
|
891
|
+
[#665]: https://github.com/cucumber/aruba/pull/665
|
892
|
+
[#664]: https://github.com/cucumber/aruba/pull/664
|
893
|
+
[#663]: https://github.com/cucumber/aruba/pull/663
|
894
|
+
[#660]: https://github.com/cucumber/aruba/pull/660
|
895
|
+
[#659]: https://github.com/cucumber/aruba/pull/659
|
896
|
+
[#658]: https://github.com/cucumber/aruba/pull/658
|
897
|
+
[#657]: https://github.com/cucumber/aruba/pull/657
|
898
|
+
[#656]: https://github.com/cucumber/aruba/pull/656
|
899
|
+
[#655]: https://github.com/cucumber/aruba/pull/655
|
900
|
+
[#654]: https://github.com/cucumber/aruba/pull/654
|
901
|
+
[#652]: https://github.com/cucumber/aruba/pull/652
|
902
|
+
[#650]: https://github.com/cucumber/aruba/pull/650
|
903
|
+
[#647]: https://github.com/cucumber/aruba/pull/647
|
904
|
+
[#645]: https://github.com/cucumber/aruba/pull/645
|
905
|
+
[#644]: https://github.com/cucumber/aruba/pull/644
|
906
|
+
[#643]: https://github.com/cucumber/aruba/pull/643
|
907
|
+
[#642]: https://github.com/cucumber/aruba/pull/642
|
908
|
+
[#639]: https://github.com/cucumber/aruba/pull/639
|
909
|
+
[#638]: https://github.com/cucumber/aruba/pull/638
|
910
|
+
[#637]: https://github.com/cucumber/aruba/pull/637
|
911
|
+
[#636]: https://github.com/cucumber/aruba/pull/636
|
912
|
+
[#635]: https://github.com/cucumber/aruba/pull/635
|
913
|
+
[#631]: https://github.com/cucumber/aruba/pull/631
|
831
914
|
[#629]: https://github.com/cucumber/aruba/pull/629
|
832
915
|
[#628]: https://github.com/cucumber/aruba/pull/628
|
833
916
|
[#626]: https://github.com/cucumber/aruba/pull/626
|
834
917
|
[#623]: https://github.com/cucumber/aruba/pull/623
|
918
|
+
[#622]: https://github.com/cucumber/aruba/pull/622
|
919
|
+
[#621]: https://github.com/cucumber/aruba/pull/621
|
920
|
+
[#620]: https://github.com/cucumber/aruba/pull/620
|
835
921
|
[#618]: https://github.com/cucumber/aruba/pull/618
|
922
|
+
[#616]: https://github.com/cucumber/aruba/pull/616
|
836
923
|
[#615]: https://github.com/cucumber/aruba/pull/615
|
837
924
|
[#613]: https://github.com/cucumber/aruba/pull/613
|
925
|
+
[#612]: https://github.com/cucumber/aruba/pull/612
|
926
|
+
[#611]: https://github.com/cucumber/aruba/pull/611
|
927
|
+
[#610]: https://github.com/cucumber/aruba/pull/610
|
838
928
|
[#607]: https://github.com/cucumber/aruba/pull/607
|
839
929
|
[#606]: https://github.com/cucumber/aruba/pull/606
|
840
930
|
[#604]: https://github.com/cucumber/aruba/pull/604
|
931
|
+
[#603]: https://github.com/cucumber/aruba/pull/603
|
932
|
+
[#602]: https://github.com/cucumber/aruba/pull/602
|
841
933
|
[#601]: https://github.com/cucumber/aruba/pull/601
|
842
934
|
[#597]: https://github.com/cucumber/aruba/pull/597
|
843
935
|
[#596]: https://github.com/cucumber/aruba/pull/596
|
@@ -1034,7 +1126,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
1034
1126
|
|
1035
1127
|
<!-- Releases -->
|
1036
1128
|
|
1037
|
-
[Unreleased]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.
|
1129
|
+
[Unreleased]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.5...master
|
1130
|
+
[1.0.0.pre.alpha.5]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.4...v1.0.0.pre.alpha.5
|
1038
1131
|
[1.0.0.pre.alpha.4]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.3...v1.0.0.pre.alpha.4
|
1039
1132
|
[1.0.0.pre.alpha.3]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.2...v1.0.0.pre.alpha.3
|
1040
1133
|
[1.0.0.pre.alpha.2]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.1...v1.0.0.pre.alpha.2
|