aruba 0.11.0.pre2 → 0.11.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +25 -19
- data/README.md +3 -1
- data/lib/aruba/setup.rb +7 -7
- data/lib/aruba/version.rb +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: 95308540e60078770a425680d2316ed05567040b
|
4
|
+
data.tar.gz: fbc9832a283fc11318e1f4e3fc23eae57ab210c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 789aaa558a156fb85dc89d42174ca3483ddbe74ed5fd359e7238aaacfcef56a671b43ea4594af1e39755e352680c754a0cf4210bfaca28a440279f7e9bef912d
|
7
|
+
data.tar.gz: 5a0ff870560526672d40e4b8523ed2c33f583b8eff3d6e5cf412377780b047747828b35f38b447348d57265fb9c716aa67bda2af94f965de8d04b3ecf5f5b4b7
|
data/History.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# Latest Release
|
2
2
|
|
3
|
+
## [v0.11.0.pre3](https://github.com/cucumber/aruba/compare/v0.11.pre2...v0.11.0.pre3)
|
4
|
+
|
5
|
+
* Fixed syntax for proc on ruby 1.8.7
|
6
|
+
|
7
|
+
# Old releases
|
8
|
+
|
9
|
+
## [v0.11.0.pre2](https://github.com/cucumber/aruba/compare/v0.11.pre...v0.11.0.pre2)
|
10
|
+
|
11
|
+
* Integrate `EventBus` to decouple announcers from starting, stopping commands
|
12
|
+
etc. This uses nearly the same implementation like `cucumber`. (PR #309)
|
13
|
+
* Starting/Stopping a command directly (`command.start`, `command.stop`) is now
|
14
|
+
reported to the command monitor and `last_command_stopped` is updated
|
15
|
+
correctly
|
16
|
+
* Added `#restart` to `Command` to make it possible to restart a command
|
17
|
+
* Added check to prevent a command which has already been started, to be
|
18
|
+
started again. Otherwise you've got hidden commands which are not stopped
|
19
|
+
after a cucumber/rspec/minitest run.
|
20
|
+
* Adding alot of documentation to `aruba`
|
21
|
+
* Refactored `#run`: Now it wants you to pass a `Hash` containing the options.
|
22
|
+
The old syntax is still supported, but is deprecated.
|
23
|
+
* Added `#find_command` as experimental feature. It searches the started
|
24
|
+
commands from last to first.
|
25
|
+
* Added `be_an_executable` matcher
|
26
|
+
|
27
|
+
|
3
28
|
## [v0.11.0.pre](https://github.com/cucumber/aruba/compare/v0.10.2...v0.11.0.pre)
|
4
29
|
|
5
30
|
* Set stop signal which should be used to stop a process after a timeout or
|
@@ -16,7 +41,6 @@
|
|
16
41
|
private. Users should use `#run('cmd')` and don't use the classes directly.
|
17
42
|
* `rvm`-methods are deprecated. They too ruby specific.
|
18
43
|
|
19
|
-
# Old releases
|
20
44
|
|
21
45
|
## [v0.10.2](https://github.com/cucumber/aruba/compare/v0.10.1...v0.10.2)
|
22
46
|
|
@@ -447,24 +471,6 @@
|
|
447
471
|
|
448
472
|
# Upcoming un-released versions
|
449
473
|
|
450
|
-
## [v0.11.0.pre2](https://github.com/cucumber/aruba/compare/v0.11.pre2...v0.11.0.pre2)
|
451
|
-
|
452
|
-
* Integrate `EventBus` to decouple announcers from starting, stopping commands
|
453
|
-
etc. This uses nearly the same implementation like `cucumber`. (PR #309)
|
454
|
-
* Starting/Stopping a command directly (`command.start`, `command.stop`) is now
|
455
|
-
reported to the command monitor and `last_command_stopped` is updated
|
456
|
-
correctly
|
457
|
-
* Added `#restart` to `Command` to make it possible to restart a command
|
458
|
-
* Added check to prevent a command which has already been started, to be
|
459
|
-
started again. Otherwise you've got hidden commands which are not stopped
|
460
|
-
after a cucumber/rspec/minitest run.
|
461
|
-
* Adding alot of documentation to `aruba`
|
462
|
-
* Refactored `#run`: Now it wants you to pass a `Hash` containing the options.
|
463
|
-
The old syntax is still supported, but is deprecated.
|
464
|
-
* Added `#find_command` as experimental feature. It searches the started
|
465
|
-
commands from last to first.
|
466
|
-
* Added `be_an_executable` matcher
|
467
|
-
|
468
474
|
## [v1.0.0](https://github.com/cucumber/aruba/compare/v0.11.0...v1.0.0)
|
469
475
|
|
470
476
|
* Support for rubies older than 1.9.3 is discontinued - e.g 1.8.7 and 1.9.2
|
data/README.md
CHANGED
@@ -13,7 +13,9 @@ Linux / OS X | Windows
|
|
13
13
|
|
14
14
|
Features at a glance:
|
15
15
|
|
16
|
-
* Test any command line application, implemented in any [programming
|
16
|
+
* Test any command line application, implemented in any [programming
|
17
|
+
language](features/getting_started/supported_programming_languages.feature) -
|
18
|
+
e.g. Bash, Python, Ruby, Java, ...
|
17
19
|
* Manipulate the file system and the process environment
|
18
20
|
* Automatically reset state of file system and process environment between tests
|
19
21
|
|
data/lib/aruba/setup.rb
CHANGED
@@ -33,7 +33,7 @@ module Aruba
|
|
33
33
|
def events
|
34
34
|
runtime.event_bus.register(
|
35
35
|
:command_started,
|
36
|
-
|
36
|
+
proc do |event|
|
37
37
|
runtime.announcer.announce :command, event.entity.commandline
|
38
38
|
runtime.announcer.announce :timeout, 'exit', event.entity.exit_timeout
|
39
39
|
runtime.announcer.announce :timeout, 'io wait', event.entity.io_wait_timeout
|
@@ -43,7 +43,7 @@ module Aruba
|
|
43
43
|
|
44
44
|
runtime.event_bus.register(
|
45
45
|
:command_started,
|
46
|
-
|
46
|
+
proc do |event|
|
47
47
|
runtime.command_monitor.register_command event.entity
|
48
48
|
runtime.command_monitor.last_command_started = event.entity
|
49
49
|
end
|
@@ -51,7 +51,7 @@ module Aruba
|
|
51
51
|
|
52
52
|
runtime.event_bus.register(
|
53
53
|
:command_stopped,
|
54
|
-
|
54
|
+
proc do |event|
|
55
55
|
runtime.announcer.announce :stdout, event.entity.stdout
|
56
56
|
runtime.announcer.announce :stderr, event.entity.stderr
|
57
57
|
end
|
@@ -59,14 +59,14 @@ module Aruba
|
|
59
59
|
|
60
60
|
runtime.event_bus.register(
|
61
61
|
:command_stopped,
|
62
|
-
|
62
|
+
proc do |event|
|
63
63
|
runtime.command_monitor.last_command_stopped = event.entity
|
64
64
|
end
|
65
65
|
)
|
66
66
|
|
67
67
|
runtime.event_bus.register(
|
68
68
|
[:changed_environment_variable, :added_environment_variable, :deleted_environment_variable],
|
69
|
-
|
69
|
+
proc do |event|
|
70
70
|
runtime.announcer.announce :changed_environment, event.entity[:changed][:name], event.entity[:changed][:value]
|
71
71
|
runtime.announcer.announce :environment, event.entity[:changed][:name], event.entity[:changed][:value]
|
72
72
|
end
|
@@ -74,12 +74,12 @@ module Aruba
|
|
74
74
|
|
75
75
|
runtime.event_bus.register(
|
76
76
|
:changed_working_directory,
|
77
|
-
|
77
|
+
proc { |event| runtime.announcer.announce :directory, event.entity[:new] }
|
78
78
|
)
|
79
79
|
|
80
80
|
runtime.event_bus.register(
|
81
81
|
:changed_configuration,
|
82
|
-
|
82
|
+
proc { |event| runtime.announcer.announce :configuration, event.entity[:changed][:name], event.entity[:changed][:value] }
|
83
83
|
)
|
84
84
|
end
|
85
85
|
# rubocop:enable Metrics/MethodLength
|
data/lib/aruba/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aruba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.0.
|
4
|
+
version: 0.11.0.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
@@ -461,7 +461,7 @@ rubyforge_project:
|
|
461
461
|
rubygems_version: 2.4.5.1
|
462
462
|
signing_key:
|
463
463
|
specification_version: 4
|
464
|
-
summary: aruba-0.11.0.
|
464
|
+
summary: aruba-0.11.0.pre3
|
465
465
|
test_files:
|
466
466
|
- features/announce.feature
|
467
467
|
- features/api/command/find_command.feature
|