aruba 1.0.0.pre.alpha.4 → 1.0.3
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/CHANGELOG.md +249 -46
- data/CONTRIBUTING.md +7 -16
- data/LICENSE +1 -1
- data/README.md +37 -30
- data/exe/aruba +1 -1
- data/lib/aruba/api.rb +6 -6
- data/lib/aruba/api/bundler.rb +1 -1
- data/lib/aruba/api/commands.rb +36 -13
- data/lib/aruba/api/core.rb +74 -47
- data/lib/aruba/api/environment.rb +16 -4
- data/lib/aruba/api/filesystem.rb +48 -48
- data/lib/aruba/api/text.rb +15 -3
- data/lib/aruba/aruba_path.rb +24 -95
- data/lib/aruba/basic_configuration.rb +5 -6
- data/lib/aruba/basic_configuration/option.rb +2 -2
- data/lib/aruba/cli.rb +4 -1
- data/lib/aruba/colorizer.rb +10 -99
- data/lib/aruba/config/jruby.rb +15 -5
- data/lib/aruba/config_wrapper.rb +17 -2
- data/lib/aruba/configuration.rb +43 -14
- data/lib/aruba/console.rb +0 -2
- data/lib/aruba/console/help.rb +8 -5
- data/lib/aruba/contracts/absolute_path.rb +3 -3
- data/lib/aruba/contracts/is_power_of_two.rb +2 -2
- data/lib/aruba/contracts/relative_path.rb +3 -3
- data/lib/aruba/cucumber.rb +0 -2
- data/lib/aruba/cucumber/command.rb +199 -110
- data/lib/aruba/cucumber/file.rb +53 -35
- data/lib/aruba/cucumber/hooks.rb +4 -1
- data/lib/aruba/cucumber/testing_frameworks.rb +76 -50
- data/lib/aruba/event_bus.rb +4 -2
- data/lib/aruba/event_bus/name_resolver.rb +9 -8
- data/lib/aruba/events.rb +2 -1
- data/lib/aruba/hooks.rb +2 -4
- data/lib/aruba/in_config_wrapper.rb +10 -3
- data/lib/aruba/initializer.rb +37 -31
- data/lib/aruba/matchers/base/base_matcher.rb +2 -11
- data/lib/aruba/matchers/base/message_indenter.rb +1 -1
- data/lib/aruba/matchers/base/object_formatter.rb +0 -5
- data/lib/aruba/matchers/collection/include_an_object.rb +4 -4
- data/lib/aruba/matchers/command/be_successfully_executed.rb +6 -0
- data/lib/aruba/matchers/command/have_exit_status.rb +15 -3
- data/lib/aruba/matchers/command/have_finished_in_time.rb +3 -1
- data/lib/aruba/matchers/command/have_output.rb +3 -1
- data/lib/aruba/matchers/command/have_output_on_stderr.rb +3 -1
- data/lib/aruba/matchers/command/have_output_on_stdout.rb +3 -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/directory/have_sub_directory.rb +8 -3
- data/lib/aruba/matchers/file/be_an_existing_file.rb +1 -1
- data/lib/aruba/matchers/file/have_file_size.rb +4 -2
- data/lib/aruba/matchers/path/have_permissions.rb +7 -4
- data/lib/aruba/platform.rb +0 -7
- data/lib/aruba/platforms/announcer.rb +36 -17
- data/lib/aruba/platforms/aruba_file_creator.rb +3 -1
- data/lib/aruba/platforms/aruba_fixed_size_file_creator.rb +7 -2
- data/lib/aruba/platforms/command_monitor.rb +40 -6
- data/lib/aruba/platforms/determine_disk_usage.rb +56 -19
- data/lib/aruba/platforms/simple_table.rb +2 -10
- data/lib/aruba/platforms/unix_environment_variables.rb +10 -13
- data/lib/aruba/platforms/unix_platform.rb +16 -12
- data/lib/aruba/platforms/unix_which.rb +1 -1
- data/lib/aruba/platforms/windows_command_string.rb +2 -2
- data/lib/aruba/platforms/windows_environment_variables.rb +9 -2
- data/lib/aruba/platforms/windows_platform.rb +4 -0
- data/lib/aruba/platforms/windows_which.rb +6 -2
- data/lib/aruba/processes/basic_process.rb +14 -16
- data/lib/aruba/processes/debug_process.rb +11 -5
- data/lib/aruba/processes/in_process.rb +4 -2
- data/lib/aruba/processes/spawn_process.rb +32 -16
- data/lib/aruba/rspec.rb +24 -14
- data/lib/aruba/runtime.rb +11 -4
- data/lib/aruba/setup.rb +27 -14
- data/lib/aruba/tasks/docker_helpers.rb +3 -1
- data/lib/aruba/version.rb +1 -1
- metadata +214 -79
- data/.cucumberproignore +0 -3
- data/.document +0 -5
- data/.github/ISSUE_TEMPLATE.md +0 -48
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -41
- data/.gitignore +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -13
- data/.rubocop_todo.yml +0 -364
- data/.simplecov +0 -34
- data/.travis.yml +0 -75
- data/.yardopts +0 -11
- data/Dockerfile +0 -67
- data/Gemfile +0 -63
- data/Rakefile +0 -109
- data/TODO.md +0 -13
- data/appveyor.yml +0 -32
- data/aruba.gemspec +0 -36
- data/bin/build +0 -3
- data/bin/console +0 -7
- data/bin/release +0 -3
- data/bin/test +0 -9
- data/config/.gitignore +0 -1
- data/cucumber.yml +0 -17
- data/docker-compose.yml +0 -26
- data/fixtures/cli-app/.gitignore +0 -9
- data/fixtures/cli-app/.rspec +0 -2
- data/fixtures/cli-app/README.md +0 -39
- data/fixtures/cli-app/Rakefile +0 -1
- data/fixtures/cli-app/bin/aruba-test-cli +0 -6
- data/fixtures/cli-app/cli-app.gemspec +0 -27
- data/fixtures/cli-app/features/support/aruba.rb +0 -1
- data/fixtures/cli-app/features/support/env.rb +0 -1
- data/fixtures/cli-app/lib/cli/app.rb +0 -9
- data/fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb +0 -15
- data/fixtures/cli-app/lib/cli/app/version.rb +0 -5
- data/fixtures/cli-app/script/console +0 -14
- data/fixtures/cli-app/spec/spec_helper.rb +0 -7
- data/fixtures/cli-app/spec/support/aruba.rb +0 -1
- data/fixtures/copy/file.txt +0 -1
- data/fixtures/empty-app/.gitignore +0 -9
- data/fixtures/empty-app/.rspec +0 -2
- data/fixtures/empty-app/README.md +0 -24
- data/fixtures/empty-app/Rakefile +0 -1
- data/fixtures/empty-app/cli-app.gemspec +0 -27
- data/fixtures/empty-app/lib/cli/app.rb +0 -9
- data/fixtures/empty-app/lib/cli/app/version.rb +0 -5
- data/fixtures/getting-started-app/.gitignore +0 -4
- data/fixtures/getting-started-app/Gemfile +0 -4
- data/fixtures/getting-started-app/README.md +0 -3
- data/fixtures/getting-started-app/features/support/env.rb +0 -1
- data/lib/aruba/platforms/disk_usage_calculator.rb +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db176cee47e40abfb28af95106c134aabf16cb8a1b85aa339dcc31d49745a37a
|
|
4
|
+
data.tar.gz: 790ac5c8937b48a939950d6d2803a80cc0e1c54d4407c78d8cf82ddb0b839e45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08b9f4362310465c9354905da9667222fc4b8db7ef1ad0e5e7404ba3b985d95d1713eecf1dd4724853613dadf2c8b5c0524ee54bc2418d037034262f925d7edb'
|
|
7
|
+
data.tar.gz: f65e533940bf35620d222cdb9c23b7667f786459f24b7cf0e2df97938a062ba5d3f8d31250fd0d46595159079718df3ef708170e585c33d86c75f7c0ca3e8699
|
data/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,87 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
This project
|
|
5
|
+
This project adheres to [Semantic Versioning][1].
|
|
6
6
|
|
|
7
7
|
This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
8
8
|
|
|
9
|
+
## [1.0.3]
|
|
10
|
+
|
|
11
|
+
* Loosen Cucumber dependency to allow Cucumber 5.0 ([#727] by [mvz])
|
|
12
|
+
* Update rubocop and fix new offenses ([#719] and [#724] by [mvz])
|
|
13
|
+
* Rework gemspec to avoid dependency on git ([#721] by [utkarsh2102], [#725] by [mvz])
|
|
14
|
+
|
|
15
|
+
## [1.0.2]
|
|
16
|
+
|
|
17
|
+
* Loosen childprocess dependency
|
|
18
|
+
([00cb0789](https://github.com/cucumber/aruba/commit/00cb07897c9f99e59bea630ae164cf5aa78fa76c)
|
|
19
|
+
by [mvz]).
|
|
20
|
+
* Various small code cleanups ([#717] by [mvz])
|
|
21
|
+
|
|
22
|
+
## [1.0.1]
|
|
23
|
+
|
|
24
|
+
### Bug fixes
|
|
25
|
+
|
|
26
|
+
* Allow use of Aruba with Cucumber 4 ([#715] by [mvz])
|
|
27
|
+
|
|
28
|
+
### Code quality and documentation improvements
|
|
29
|
+
|
|
30
|
+
* Fix RuboCop offenses ([#693] and [#708] by [luke-hill], [#710], [#711] and
|
|
31
|
+
[#712] by [mvz])
|
|
32
|
+
* Use recent Rake version in fixtures ([#709] by [mvz])
|
|
33
|
+
* Repair YARD annotations ([#707] by [olleolleolle])
|
|
34
|
+
|
|
35
|
+
## [1.0.0]
|
|
36
|
+
|
|
37
|
+
### Breaking changes compared to Aruba 0.14.x
|
|
38
|
+
|
|
39
|
+
* Support for Ruby 2.3 and lower has been dropped
|
|
40
|
+
* Deprecated functionality has been removed
|
|
41
|
+
* The home directory is set to aruba's working directory by default
|
|
42
|
+
|
|
43
|
+
### Detailed changes compared to 1.0.0.pre.alpha.5
|
|
44
|
+
|
|
45
|
+
* Update simplecov ([#704] by [mvz])
|
|
46
|
+
* Several cuke improvements ([#703] by [mvz])
|
|
47
|
+
* Find relative commands from the current Aruba directory ([#702] by [mvz])
|
|
48
|
+
* Update development dependencies ([#701] by [mvz])
|
|
49
|
+
* Clean up linting and fix environment nesting ([#698] by [mvz])
|
|
50
|
+
* Update build configuration ([#696] by [mvz])
|
|
51
|
+
* Fix cd behavior with absolute paths and home directory ([#692] by [mvz])
|
|
52
|
+
* Improve `expand_path` warnings ([#687] by [deivid-rodriguez])
|
|
53
|
+
* Remove unneeded appveyor step ([#690] by [deivid-rodriguez])
|
|
54
|
+
* Fix travis.yml lint task ([#689] by [deivid-rodriguez])
|
|
55
|
+
* Fix cucumber deprecations ([#688] by [deivid-rodriguez])
|
|
56
|
+
* Update gemspec: Metadata and RDoc options ([#686] by [mvz])
|
|
57
|
+
* Update dependencies and fix RuboCop offenses ([#683] by [mvz])
|
|
58
|
+
* Init: Conditionally prefix the `gem aruba` line with a carriage return ([#570] by [xtrasimplicity])
|
|
59
|
+
* Update supported set of rubies([#679] by [mvz])
|
|
60
|
+
|
|
61
|
+
## [1.0.0.pre.alpha.5]
|
|
62
|
+
|
|
63
|
+
* Improve command failure message ([#675] by [deivid-rodriguez])
|
|
64
|
+
* Bump childprocess dependency ([#674] by [mvz])
|
|
65
|
+
* Suppress keyword argument warnings in Ruby 2.7 ([#672] by [koic])
|
|
66
|
+
* Refactor: Uncouple some of aruba's step definition code ([#666] by [luke-hill])
|
|
67
|
+
* Fix several JRuby build issues
|
|
68
|
+
([bb770e2e](https://github.com/cucumber/aruba/commit/bb770e2e82ec09807b07eed1f4a124612eeee3f4),
|
|
69
|
+
[#669] and [#671] by [mvz])
|
|
70
|
+
* Clean up build ([#663] by [mvz])
|
|
71
|
+
* Handle announcing combined with DebugProcess ([#665] by [mvz])
|
|
72
|
+
* Allow both 'a' and 'the' in step, as documented ([#660] by [mvz])
|
|
73
|
+
* Fix rubocop issues ([#654] and [#659] by [luke-hill])
|
|
74
|
+
* Fix up JRuby build ([#657] by [mvz])
|
|
75
|
+
* Improve documentation for the `@debug` annotation ([#656] by [mvz])
|
|
76
|
+
* Support windows internal commands ([#655] by [xtrasimplicity])
|
|
77
|
+
* Do not set binmode on output temp files ([#652] by [mvz])
|
|
78
|
+
* Fix JRuby builds ([#637] by [mvz])
|
|
79
|
+
* Restore previously removed behaviors ([#644] by [mvz])
|
|
80
|
+
* Improve cucumber features ([#643] by [mvz])
|
|
81
|
+
* Move development dependency information to gemspec ([#631] by [luke-hill])
|
|
82
|
+
* Fix JRuby before :command helper hook ([#635] by [mvz])
|
|
83
|
+
* Replace problematic AnsiColor module with simple implementation ([#636] by [mvz])
|
|
84
|
+
* Drop Ruby 2.2 support ([#616] by [mvz] and [luke-hill])
|
|
85
|
+
|
|
9
86
|
## [1.0.0.pre.alpha.4]
|
|
10
87
|
|
|
11
88
|
* Improve documentation: GitHub is not Github ([#629] by [amatsuda])
|
|
@@ -116,7 +193,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
116
193
|
* Fixed the logic to determine disk usage ([#359], [e2])
|
|
117
194
|
* Prefixed exception in `rescue`-call to make it fail with a proper error
|
|
118
195
|
message ([#376])
|
|
119
|
-
* Run and build aruba in isolated environment via docker ([#353] [e2], [#382])
|
|
196
|
+
* Run and build aruba in isolated environment via docker ([#353] by [e2], [#382])
|
|
120
197
|
* Run container with docker-compose without making docker-compose a required
|
|
121
198
|
dependency. Rake tasks read in the docker-compose.yml instead ([#382])
|
|
122
199
|
* Document developer rake tasks via cucumber features ([#382])
|
|
@@ -174,6 +251,46 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
174
251
|
"""
|
|
175
252
|
And the stderr should not contain anything
|
|
176
253
|
|
|
254
|
+
## [0.14.14]
|
|
255
|
+
|
|
256
|
+
* Support Ruby 2.7 ([#677])
|
|
257
|
+
|
|
258
|
+
## [0.14.13]
|
|
259
|
+
|
|
260
|
+
* Loosen dependency on thor ([#676])
|
|
261
|
+
* Mark setting of `root_directory` as deprecated in documentation ([#571])
|
|
262
|
+
|
|
263
|
+
## [0.14.12]
|
|
264
|
+
|
|
265
|
+
* Loosen dependency on childprocess ([#673])
|
|
266
|
+
* Fix Travis build ([#668])
|
|
267
|
+
* Handle announcing with DebugProcess ([#664])
|
|
268
|
+
|
|
269
|
+
## [0.14.11]
|
|
270
|
+
|
|
271
|
+
* Loosen childprocess dependency ([#658])
|
|
272
|
+
* Do not set binmode on output temp files, so automatic line ending conversion works ([#650])
|
|
273
|
+
* Improve deprecation suggestions ([#647])
|
|
274
|
+
* Backport fixes to code organization, layout and spelling ([#645])
|
|
275
|
+
|
|
276
|
+
## [0.14.10]
|
|
277
|
+
|
|
278
|
+
* Backport replacement of problematic AnsiColor module with simple
|
|
279
|
+
implementation ([#642])
|
|
280
|
+
* Undo preprecation of `#all_output`, `#all_stdout`, `#all_stderr` and
|
|
281
|
+
`#in_current_directory` API methods, as well as of checking the combined
|
|
282
|
+
output from all commands in cucumber steps ([#638])
|
|
283
|
+
* Warn when deprecated files `aruba/in_process` and `aruba/spawn_process` are
|
|
284
|
+
required ([#639])
|
|
285
|
+
* Backport allowing decimal timeout values ([#621])
|
|
286
|
+
* Move deprecated cucumber steps into a separate file ([#622])
|
|
287
|
+
* Backport renaming of bin/cli in features ([#620])
|
|
288
|
+
* Improve build set for CI ([#611])
|
|
289
|
+
* Make JRuby before :command helper hook work on the environment the command
|
|
290
|
+
will actually be run in ([#610], [#612])
|
|
291
|
+
* Reorganize spec files to match master branch ([#603])
|
|
292
|
+
* Reorganize feature files to match master branch ([#602])
|
|
293
|
+
|
|
177
294
|
## [0.14.9]
|
|
178
295
|
|
|
179
296
|
* Formally deprecate `#use_clean_gemset` ([#597])
|
|
@@ -219,7 +336,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
219
336
|
|
|
220
337
|
## [0.14.2]
|
|
221
338
|
|
|
222
|
-
* Handle empty JRUBY_OPTS on JRuby
|
|
339
|
+
* Handle empty `JRUBY_OPTS` on JRuby
|
|
223
340
|
|
|
224
341
|
## [0.14.1]
|
|
225
342
|
|
|
@@ -235,8 +352,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
235
352
|
|
|
236
353
|
* Add two new hooks for rspec and cucumber to make troubleshooting feature
|
|
237
354
|
files easier ([#338]):
|
|
238
|
-
* command_content
|
|
239
|
-
* command_filesystem_status
|
|
355
|
+
* `command_content`: Outputs command content - helpful for scripts
|
|
356
|
+
* `command_filesystem_status`: Outputs information like group, owner, mode,
|
|
240
357
|
atime, mtime
|
|
241
358
|
* Add generator to create ad hoc script file ([#323], [AdrieanKhisbe])
|
|
242
359
|
* Colored announcer output similar to the color of `cucumber` tags: cyan
|
|
@@ -245,8 +362,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
245
362
|
* Refactorings to internal `#simple_table`-method (internal)
|
|
246
363
|
* Refactored Announcer, now it supports blocks for announce as well (internal)
|
|
247
364
|
* Fix circular require warnings ([#339])
|
|
248
|
-
* Fix use of old instances variable
|
|
249
|
-
default value for io_wait_timeout can be set correctly.
|
|
365
|
+
* Fix use of old instances variable `@io_wait` ([#341]). Now the
|
|
366
|
+
default value for `io_wait_timeout` can be set correctly.
|
|
250
367
|
* Make it possible to announce information on command error, using a new option
|
|
251
368
|
called `activate_announcer_on_command_failure` ([#335], [njam])
|
|
252
369
|
* Re-integrate `event-bus`-library into `aruba`-core ([#342])
|
|
@@ -304,7 +421,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
304
421
|
docker + "systemd". If you send a systemd-enable container SIGINT it will be
|
|
305
422
|
stopped.
|
|
306
423
|
* Added a configurable amount of time after a command was started -
|
|
307
|
-
startup_wait_time
|
|
424
|
+
`startup_wait_time`. Otherwise you get problems when a process takes to long to
|
|
308
425
|
startup when you run in background and want to sent it a signal.
|
|
309
426
|
* Replace `<variable>` in commandline, e.g. `<pid-last-command-started>`
|
|
310
427
|
[experimental]
|
|
@@ -326,7 +443,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
326
443
|
|
|
327
444
|
## [0.10.0]
|
|
328
445
|
|
|
329
|
-
* Fix
|
|
446
|
+
* Fix `"#exit_timeout" is deprecated` error ([#314])
|
|
330
447
|
|
|
331
448
|
## [0.10.0.pre2]
|
|
332
449
|
|
|
@@ -358,7 +475,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
358
475
|
|
|
359
476
|
## [0.9.0.pre2]
|
|
360
477
|
|
|
361
|
-
* Redefine
|
|
478
|
+
* Redefine `#to_s` and `#inspect` for BasicProcess to reduce the sheer amount of
|
|
362
479
|
information, if a command produces a lot of output
|
|
363
480
|
* Added new matcher `#all_objects` to check if an object is included + an error
|
|
364
481
|
message for failures which is similar to the `#all`-matcher of `RSpec`
|
|
@@ -381,32 +498,32 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
381
498
|
|
|
382
499
|
* Improve documentation for filesystem api and move it to feature tests
|
|
383
500
|
* Add logger to aruba. Its output can be captured by rspec.
|
|
384
|
-
* Fix incorrect deprecation message for check_file_presence ([#292])
|
|
501
|
+
* Fix incorrect deprecation message for `check_file_presence` ([#292])
|
|
385
502
|
* Fix for Gemfile excludes windows for many gems ([#282])
|
|
386
503
|
* Make feature tests compatible with ruby 1.9.2
|
|
387
504
|
* Gather disk usage for file(s) ([#294])
|
|
388
|
-
* Replace keep_ansi
|
|
505
|
+
* Replace `keep_ansi` config option by `remove_ansi_escape_sequences` option
|
|
389
506
|
* Split up `#unescape` into `#extract_text` and `#unescape_text`
|
|
390
507
|
* Use `UnixPlatform` and `WindowsPlatform` to make code for different platforms
|
|
391
508
|
maintainable
|
|
392
|
-
* Work around `ENV`-bug in
|
|
393
|
-
* Speed up test on
|
|
509
|
+
* Work around `ENV`-bug in JRuby by using `#dup` on `ENV.to_h` ([jruby/jruby#316])
|
|
510
|
+
* Speed up test on JRuby by using `--dev`-flag
|
|
394
511
|
* Work around problems when copying files with `cp` on MRI-ruby 1.9.2
|
|
395
|
-
* Add cmd.exe /c for SpawnProcess on Windows ([#302])
|
|
512
|
+
* Add `cmd.exe /c` for SpawnProcess on Windows ([#302])
|
|
396
513
|
* Split up `#which` for Windows and Unix/Linux ([#304])
|
|
397
|
-
* Add `aruba console
|
|
514
|
+
* Add `aruba console` command to play around with aruba ([#305])
|
|
398
515
|
|
|
399
516
|
|
|
400
517
|
## [0.8.1]
|
|
401
518
|
|
|
402
519
|
* Fix problem if working directory of aruba does not exist ([#286])
|
|
403
|
-
* Re-
|
|
520
|
+
* Re-add removed method `only_processes`
|
|
404
521
|
* Fixed problem with last exit status
|
|
405
522
|
* Added appveyor to run tests of aruba on Windows ([#287])
|
|
406
523
|
* Make the home directory configurable and use Around/around-hook to apply it
|
|
407
524
|
* Add announcer to output the full environment before a command is run
|
|
408
|
-
* Use prepend_environment_variable to modify PATH for rspec integration
|
|
409
|
-
* Add VERSION
|
|
525
|
+
* Use `prepend_environment_variable` to modify PATH for rspec integration
|
|
526
|
+
* Add `VERSION` constant to aruba and use it for code which should be activated on >= 1.0.0
|
|
410
527
|
|
|
411
528
|
## [0.8.0]
|
|
412
529
|
|
|
@@ -448,17 +565,18 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
448
565
|
* Move Aruba constants to configuration class ([#271])
|
|
449
566
|
* Added runtime configuration via `aruba.config` which is reset for each test run
|
|
450
567
|
* Refactored hooks: now there are `after()` and `before()`-hooks, old
|
|
451
|
-
before_cmd
|
|
568
|
+
`before_cmd`-hook is still working, but is deprecated, added new
|
|
452
569
|
`after(:command)`-hook.
|
|
453
570
|
* Refactored jruby-startup helper
|
|
454
571
|
* Cleanup API by moving deprecated methods to separate class
|
|
455
|
-
* Cleanup Core API - reduced to `cd`, `expand_path`, `setup_aruba` and use
|
|
572
|
+
* Cleanup Core API - reduced to `cd`, `expand_path`, `setup_aruba` and use
|
|
573
|
+
`expand_path` wherever possible ([#253])
|
|
456
574
|
* Better isolation for environment variable manipulation - really helpful from 1.0.0 on
|
|
457
575
|
* Move configuration files like `jruby.rb` to `aruba/config/`-directory
|
|
458
576
|
* Change default exit timeout to 15 seconds to work around long running processes on travis
|
|
459
|
-
* Use of instance variables like
|
|
460
|
-
|
|
461
|
-
config.exit_timeout = 10` etc. for this.
|
|
577
|
+
* Use of instance variables like `@aruba_timeout_seconds` or
|
|
578
|
+
`@aruba_io_wait_seconds` are deprecated.
|
|
579
|
+
Use `Aruba.configure do |config| config.exit_timeout = 10` etc. for this.
|
|
462
580
|
|
|
463
581
|
## [0.7.4]
|
|
464
582
|
* Really Fixed post install message
|
|
@@ -472,14 +590,14 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
472
590
|
|
|
473
591
|
## [0.7.1]
|
|
474
592
|
|
|
475
|
-
* Do not break if
|
|
593
|
+
* Do not break if `@interactive` is used
|
|
476
594
|
|
|
477
595
|
## [0.7.0]
|
|
478
596
|
|
|
479
|
-
* Introducing root_directory ([#232])
|
|
597
|
+
* Introducing `root_directory` ([#232])
|
|
480
598
|
* Introducing fixtures directory ([#224])
|
|
481
599
|
* Make sure a file/directory does not exist + Cleanup named file/directory steps ([#234])
|
|
482
|
-
* Make matcher have_permisions public and add documentation ([#239])
|
|
600
|
+
* Make matcher `have_permisions` public and add documentation ([#239])
|
|
483
601
|
* Added matcher for file content ([#238])
|
|
484
602
|
* Add rspec integrator ([#244])
|
|
485
603
|
* Deprecate `_file` and `_directory` in method names ([#243])
|
|
@@ -498,8 +616,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
498
616
|
## [0.6.1]
|
|
499
617
|
|
|
500
618
|
* Added support for ruby 2.1.2
|
|
501
|
-
* Added support for
|
|
502
|
-
* Added support for with_env
|
|
619
|
+
* Added support for `~` expansion
|
|
620
|
+
* Added support for `with_env`
|
|
503
621
|
|
|
504
622
|
## [0.6.0]
|
|
505
623
|
|
|
@@ -530,11 +648,11 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
530
648
|
|
|
531
649
|
## [0.5.0]
|
|
532
650
|
|
|
533
|
-
* Add
|
|
651
|
+
* Add `#with_file_content` to the DSL ([#110], [argent-smith])
|
|
534
652
|
* 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])
|
|
653
|
+
* Add `assert_partial_output_interactive` so you can peek at the output from a running process ([#104], [taylor])
|
|
654
|
+
* Add `assert_not_matching_output` ([#111], [argent-smith])
|
|
655
|
+
* Add `remove_dir` ([#121], [LTe])
|
|
538
656
|
|
|
539
657
|
## [0.4.11]
|
|
540
658
|
|
|
@@ -548,12 +666,12 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
548
666
|
|
|
549
667
|
## [0.4.9]
|
|
550
668
|
|
|
551
|
-
* Rename before_run hook to before_cmd ([mattwynne])
|
|
669
|
+
* Rename `before_run` hook to `before_cmd` ([mattwynne])
|
|
552
670
|
* Fix 1.8.7 compatibility ([#95], [davetron5000])
|
|
553
671
|
|
|
554
672
|
## [0.4.8]
|
|
555
673
|
|
|
556
|
-
* Add before_run hook ([mattwynne])
|
|
674
|
+
* Add `before_run` hook ([mattwynne])
|
|
557
675
|
* Add JRuby performance tweaks ([#93], [myronmarston], [mattwynne])
|
|
558
676
|
* Invalid/Corrupt spec file for 0.4.7 - undefined method call for nil:Nilclass ([#47], [aslakhellesoy])
|
|
559
677
|
|
|
@@ -566,7 +684,7 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
566
684
|
## [0.4.6]
|
|
567
685
|
|
|
568
686
|
* Upgraded deps to latest gems. ([aslakhellesoy])
|
|
569
|
-
* Added Regexp support to Aruba::Api#assert_no_partial_output
|
|
687
|
+
* Added Regexp support to `Aruba::Api#assert_no_partial_output`. ([aslakhellesoy])
|
|
570
688
|
|
|
571
689
|
## [0.4.5]
|
|
572
690
|
|
|
@@ -600,17 +718,17 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
600
718
|
|
|
601
719
|
## [0.3.7]
|
|
602
720
|
|
|
603
|
-
* Make Aruba::Api#get_process return the last executed process with passed cmd
|
|
721
|
+
* Make `Aruba::Api#get_process` return the last executed process with passed cmd
|
|
604
722
|
([greyblake])
|
|
605
723
|
* Replace announce with puts to comply with cucumber 0.10.6 ([aslakhellesoy])
|
|
606
724
|
* Fix childprocess STDIN to be synchronous ([#40], [#71], [lithium3141])
|
|
607
725
|
|
|
608
726
|
## [0.3.6]
|
|
609
727
|
|
|
610
|
-
* Changed default value of
|
|
728
|
+
* Changed default value of `@aruba_timeout_seconds` from 1 to 3. ([aslakhellesoy])
|
|
611
729
|
* Separate hooks and steps to make it easier to build your own steps on top of
|
|
612
730
|
Aruba's API ([msassak])
|
|
613
|
-
*
|
|
731
|
+
* `@no-clobber` to prevent cleanup before each scenario ([msassak])
|
|
614
732
|
|
|
615
733
|
## [0.3.5]
|
|
616
734
|
|
|
@@ -640,19 +758,19 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
640
758
|
## [0.3.0]
|
|
641
759
|
|
|
642
760
|
* Remove latency introduced in the 0.2.8 release ([#42], [msassak])
|
|
643
|
-
* New stepdef Then /^the stdout should contain:$/ do |partial_output
|
|
761
|
+
* New stepdef `Then /^the stdout should contain:$/ do |partial_output|` ([aslakhellesoy])
|
|
644
762
|
* Quotes (") and newline (\n) in step arguments no longer need to be backslash-escaped. ([aslakhellesoy])
|
|
645
763
|
|
|
646
764
|
## [0.2.8]
|
|
647
765
|
|
|
648
|
-
* Replaced background_process with childprocess
|
|
766
|
+
* Replaced `background_process` with `childprocess`, a cross-platform process control
|
|
649
767
|
library. This will allow Aruba to run on Windows and JRuby in addition to \*nix
|
|
650
768
|
MRI. ([#16], [#27], [#31], [msassak], [jarib], [mattwynne], [aknuds1])
|
|
651
769
|
|
|
652
770
|
## [0.2.7]
|
|
653
771
|
|
|
654
772
|
* Upgrade to Cucumber 0.10.0. ([aslakhellesoy])
|
|
655
|
-
* require 'aruba' does nothing - you have to require 'aruba/cucumber' now. This
|
|
773
|
+
* `require 'aruba'` does nothing - you have to `require 'aruba/cucumber'` now. This
|
|
656
774
|
is to prevent bundler from loading it when we don't want to. ([aslakhellesoy])
|
|
657
775
|
* Outputting a lot of data causes process to time out ([#30], [msassak])
|
|
658
776
|
|
|
@@ -782,6 +900,9 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
782
900
|
<!-- Contributors -->
|
|
783
901
|
|
|
784
902
|
[AdrieanKhisbe]: https://github.com/AdrieanKhisbe
|
|
903
|
+
[Heinrich]: https://github.com/Heinrich
|
|
904
|
+
[JonRowe]: https://github.com/JonRowe
|
|
905
|
+
[LTe]: https://github.com/LTe
|
|
785
906
|
[aeden]: https://github.com/aeden
|
|
786
907
|
[aknuds1]: https://github.com/aknuds1
|
|
787
908
|
[alindeman]: https://github.com/alindeman
|
|
@@ -791,19 +912,18 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
791
912
|
[cllns]: https://github.com/cllns
|
|
792
913
|
[davetron5000]: https://github.com/davetron5000
|
|
793
914
|
[dchelimsky]: https://github.com/dchelimsky
|
|
915
|
+
[deivid-rodriguez]: https://github.com/deivid-rodriguez
|
|
794
916
|
[doudou]: https://github.com/doudou
|
|
795
917
|
[e2]: https://github.com/e2
|
|
796
918
|
[greyblake]: https://github.com/greyblake
|
|
797
919
|
[grosser]: https://github.com/grosser
|
|
798
920
|
[hectcastro]: https://github.com/hectcastro
|
|
799
|
-
[Heinrich]: https://github.com/Heinrich
|
|
800
921
|
[jarib]: https://github.com/jarib
|
|
801
922
|
[jarl-dk]: https://github.com/jarl-dk
|
|
802
923
|
[jaysonesmith]: https://github.com/jaysonesmith
|
|
803
|
-
[JonRowe]: https://github.com/JonRowe
|
|
804
924
|
[junaruga]: https://github.com/junaruga
|
|
925
|
+
[koic]: https://github.com/koic
|
|
805
926
|
[lithium3141]: https://github.com/lithium3141
|
|
806
|
-
[LTe]: https://github.com/LTe
|
|
807
927
|
[luke-hill]: https://github.com/luke-hill
|
|
808
928
|
[mattwynne]: https://github.com/mattwynne
|
|
809
929
|
[maxmeyer]: https://github.com/maxmeyer
|
|
@@ -822,22 +942,93 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
822
942
|
[scottj97]: https://github.com/scottj97
|
|
823
943
|
[stamhankar999]: https://github.com/stamhankar999
|
|
824
944
|
[taylor]: https://github.com/taylor
|
|
945
|
+
[utkarsh2102]: https://github.com/utkarsh2102
|
|
825
946
|
[tdreyno]: https://github.com/tdreyno
|
|
826
947
|
[xtrasimplicity]: https://github.com/xtrasimplicity
|
|
827
948
|
[y-higuchi]: https://github.com/y-higuchi
|
|
828
949
|
|
|
829
950
|
<!-- issues & pull requests -->
|
|
830
951
|
|
|
952
|
+
[#727]: https://github.com/cucumber/aruba/pull/727
|
|
953
|
+
[#725]: https://github.com/cucumber/aruba/pull/725
|
|
954
|
+
[#724]: https://github.com/cucumber/aruba/pull/724
|
|
955
|
+
[#721]: https://github.com/cucumber/aruba/pull/721
|
|
956
|
+
[#719]: https://github.com/cucumber/aruba/pull/719
|
|
957
|
+
[#717]: https://github.com/cucumber/aruba/pull/717
|
|
958
|
+
[#715]: https://github.com/cucumber/aruba/pull/715
|
|
959
|
+
[#712]: https://github.com/cucumber/aruba/pull/712
|
|
960
|
+
[#711]: https://github.com/cucumber/aruba/pull/711
|
|
961
|
+
[#710]: https://github.com/cucumber/aruba/pull/710
|
|
962
|
+
[#709]: https://github.com/cucumber/aruba/pull/709
|
|
963
|
+
[#708]: https://github.com/cucumber/aruba/pull/708
|
|
964
|
+
[#707]: https://github.com/cucumber/aruba/pull/707
|
|
965
|
+
[#704]: https://github.com/cucumber/aruba/pull/704
|
|
966
|
+
[#703]: https://github.com/cucumber/aruba/pull/703
|
|
967
|
+
[#702]: https://github.com/cucumber/aruba/pull/702
|
|
968
|
+
[#701]: https://github.com/cucumber/aruba/pull/701
|
|
969
|
+
[#698]: https://github.com/cucumber/aruba/pull/698
|
|
970
|
+
[#696]: https://github.com/cucumber/aruba/pull/696
|
|
971
|
+
[#693]: https://github.com/cucumber/aruba/pull/693
|
|
972
|
+
[#692]: https://github.com/cucumber/aruba/pull/692
|
|
973
|
+
[#690]: https://github.com/cucumber/aruba/pull/690
|
|
974
|
+
[#689]: https://github.com/cucumber/aruba/pull/689
|
|
975
|
+
[#688]: https://github.com/cucumber/aruba/pull/688
|
|
976
|
+
[#687]: https://github.com/cucumber/aruba/pull/687
|
|
977
|
+
[#686]: https://github.com/cucumber/aruba/pull/686
|
|
978
|
+
[#683]: https://github.com/cucumber/aruba/pull/683
|
|
979
|
+
[#679]: https://github.com/cucumber/aruba/pull/679
|
|
980
|
+
[#677]: https://github.com/cucumber/aruba/pull/677
|
|
981
|
+
[#676]: https://github.com/cucumber/aruba/pull/676
|
|
982
|
+
[#675]: https://github.com/cucumber/aruba/pull/675
|
|
983
|
+
[#674]: https://github.com/cucumber/aruba/pull/674
|
|
984
|
+
[#673]: https://github.com/cucumber/aruba/pull/673
|
|
985
|
+
[#672]: https://github.com/cucumber/aruba/pull/672
|
|
986
|
+
[#671]: https://github.com/cucumber/aruba/pull/671
|
|
987
|
+
[#669]: https://github.com/cucumber/aruba/pull/669
|
|
988
|
+
[#668]: https://github.com/cucumber/aruba/pull/668
|
|
989
|
+
[#666]: https://github.com/cucumber/aruba/pull/666
|
|
990
|
+
[#665]: https://github.com/cucumber/aruba/pull/665
|
|
991
|
+
[#664]: https://github.com/cucumber/aruba/pull/664
|
|
992
|
+
[#663]: https://github.com/cucumber/aruba/pull/663
|
|
993
|
+
[#660]: https://github.com/cucumber/aruba/pull/660
|
|
994
|
+
[#659]: https://github.com/cucumber/aruba/pull/659
|
|
995
|
+
[#658]: https://github.com/cucumber/aruba/pull/658
|
|
996
|
+
[#657]: https://github.com/cucumber/aruba/pull/657
|
|
997
|
+
[#656]: https://github.com/cucumber/aruba/pull/656
|
|
998
|
+
[#655]: https://github.com/cucumber/aruba/pull/655
|
|
999
|
+
[#654]: https://github.com/cucumber/aruba/pull/654
|
|
1000
|
+
[#652]: https://github.com/cucumber/aruba/pull/652
|
|
1001
|
+
[#650]: https://github.com/cucumber/aruba/pull/650
|
|
1002
|
+
[#647]: https://github.com/cucumber/aruba/pull/647
|
|
1003
|
+
[#645]: https://github.com/cucumber/aruba/pull/645
|
|
1004
|
+
[#644]: https://github.com/cucumber/aruba/pull/644
|
|
1005
|
+
[#643]: https://github.com/cucumber/aruba/pull/643
|
|
1006
|
+
[#642]: https://github.com/cucumber/aruba/pull/642
|
|
1007
|
+
[#639]: https://github.com/cucumber/aruba/pull/639
|
|
1008
|
+
[#638]: https://github.com/cucumber/aruba/pull/638
|
|
1009
|
+
[#637]: https://github.com/cucumber/aruba/pull/637
|
|
1010
|
+
[#636]: https://github.com/cucumber/aruba/pull/636
|
|
1011
|
+
[#635]: https://github.com/cucumber/aruba/pull/635
|
|
1012
|
+
[#631]: https://github.com/cucumber/aruba/pull/631
|
|
831
1013
|
[#629]: https://github.com/cucumber/aruba/pull/629
|
|
832
1014
|
[#628]: https://github.com/cucumber/aruba/pull/628
|
|
833
1015
|
[#626]: https://github.com/cucumber/aruba/pull/626
|
|
834
1016
|
[#623]: https://github.com/cucumber/aruba/pull/623
|
|
1017
|
+
[#622]: https://github.com/cucumber/aruba/pull/622
|
|
1018
|
+
[#621]: https://github.com/cucumber/aruba/pull/621
|
|
1019
|
+
[#620]: https://github.com/cucumber/aruba/pull/620
|
|
835
1020
|
[#618]: https://github.com/cucumber/aruba/pull/618
|
|
1021
|
+
[#616]: https://github.com/cucumber/aruba/pull/616
|
|
836
1022
|
[#615]: https://github.com/cucumber/aruba/pull/615
|
|
837
1023
|
[#613]: https://github.com/cucumber/aruba/pull/613
|
|
1024
|
+
[#612]: https://github.com/cucumber/aruba/pull/612
|
|
1025
|
+
[#611]: https://github.com/cucumber/aruba/pull/611
|
|
1026
|
+
[#610]: https://github.com/cucumber/aruba/pull/610
|
|
838
1027
|
[#607]: https://github.com/cucumber/aruba/pull/607
|
|
839
1028
|
[#606]: https://github.com/cucumber/aruba/pull/606
|
|
840
1029
|
[#604]: https://github.com/cucumber/aruba/pull/604
|
|
1030
|
+
[#603]: https://github.com/cucumber/aruba/pull/603
|
|
1031
|
+
[#602]: https://github.com/cucumber/aruba/pull/602
|
|
841
1032
|
[#601]: https://github.com/cucumber/aruba/pull/601
|
|
842
1033
|
[#597]: https://github.com/cucumber/aruba/pull/597
|
|
843
1034
|
[#596]: https://github.com/cucumber/aruba/pull/596
|
|
@@ -855,6 +1046,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
855
1046
|
[#578]: https://github.com/cucumber/aruba/pull/578
|
|
856
1047
|
[#575]: https://github.com/cucumber/aruba/pull/575
|
|
857
1048
|
[#572]: https://github.com/cucumber/aruba/pull/572
|
|
1049
|
+
[#571]: https://github.com/cucumber/aruba/pull/571
|
|
1050
|
+
[#570]: https://github.com/cucumber/aruba/pull/570
|
|
858
1051
|
[#562]: https://github.com/cucumber/aruba/pull/562
|
|
859
1052
|
[#561]: https://github.com/cucumber/aruba/pull/561
|
|
860
1053
|
[#560]: https://github.com/cucumber/aruba/pull/560
|
|
@@ -1034,11 +1227,21 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
|
1034
1227
|
|
|
1035
1228
|
<!-- Releases -->
|
|
1036
1229
|
|
|
1037
|
-
[Unreleased]: https://github.com/cucumber/aruba/compare/v1.0.
|
|
1230
|
+
[Unreleased]: https://github.com/cucumber/aruba/compare/v1.0.3...master
|
|
1231
|
+
[1.0.3]: https://github.com/cucumber/aruba/compare/v1.0.2...v1.0.3
|
|
1232
|
+
[1.0.2]: https://github.com/cucumber/aruba/compare/v1.0.1...v1.0.2
|
|
1233
|
+
[1.0.1]: https://github.com/cucumber/aruba/compare/v1.0.0...v1.0.1
|
|
1234
|
+
[1.0.0]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.5...v1.0.0
|
|
1235
|
+
[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
1236
|
[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
1237
|
[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
1238
|
[1.0.0.pre.alpha.2]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.1...v1.0.0.pre.alpha.2
|
|
1041
1239
|
[1.0.0.pre.alpha.1]: https://github.com/cucumber/aruba/compare/v0.14.1...v1.0.0.pre.alpha.1
|
|
1240
|
+
[0.14.14]: https://github.com/cucumber/aruba/compare/v0.14.13...v0.14.14
|
|
1241
|
+
[0.14.13]: https://github.com/cucumber/aruba/compare/v0.14.12...v0.14.13
|
|
1242
|
+
[0.14.12]: https://github.com/cucumber/aruba/compare/v0.14.11...v0.14.12
|
|
1243
|
+
[0.14.11]: https://github.com/cucumber/aruba/compare/v0.14.10...v0.14.11
|
|
1244
|
+
[0.14.10]: https://github.com/cucumber/aruba/compare/v0.14.9...v0.14.10
|
|
1042
1245
|
[0.14.9]: https://github.com/cucumber/aruba/compare/v0.14.8...v0.14.9
|
|
1043
1246
|
[0.14.8]: https://github.com/cucumber/aruba/compare/v0.14.7...v0.14.8
|
|
1044
1247
|
[0.14.7]: https://github.com/cucumber/aruba/compare/v0.14.6...v0.14.7
|