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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e93dadabb88f5dd615ae393d84932f5f1c2eb6b
4
- data.tar.gz: d08af1d7ff5dcc684d05fcd03a9795caa476d244
3
+ metadata.gz: 95308540e60078770a425680d2316ed05567040b
4
+ data.tar.gz: fbc9832a283fc11318e1f4e3fc23eae57ab210c5
5
5
  SHA512:
6
- metadata.gz: 800cedf76eaaadb53e801974ccf9df8d9d6ba8534aaa0591606d3aa28e8f6ba6c92d802e8549c43862b0f387795a655472475b34254646350980ec2159a369d4
7
- data.tar.gz: 0af17d2ae845c40a06b0be27433868d8f2637c22774566a67353a8c5e4a66e8079d53b6cad7ef9d80a3115a8486bbf4a600a71ea497ef8fb130709b10c133022
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 language](features/getting_started/supported_programming_languages.feature) - e.g. Bash, Python, Ruby, Java, ...
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
- ->(event) do
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
- ->(event) do
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
- ->(event) do
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
- ->(event) do
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
- ->(event) do
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
- ->(event) { runtime.announcer.announce :directory, event.entity[:new] }
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
- ->(event) { runtime.announcer.announce :configuration, event.entity[:changed][:name], event.entity[:changed][:value] }
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
@@ -1,3 +1,3 @@
1
1
  module Aruba
2
- VERSION = '0.11.0.pre2'
2
+ VERSION = '0.11.0.pre3'
3
3
  end
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.pre2
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.pre2
464
+ summary: aruba-0.11.0.pre3
465
465
  test_files:
466
466
  - features/announce.feature
467
467
  - features/api/command/find_command.feature