aruba 0.14.8 → 0.14.9

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.
@@ -1,3 +1,3 @@
1
1
  module Aruba
2
- VERSION = '0.14.8'.freeze
2
+ VERSION = '0.14.9'.freeze
3
3
  end
@@ -101,6 +101,44 @@ describe Aruba::Api do
101
101
  expect(File.exist?(File.expand_path(@directory_path))).to be_truthy
102
102
  end
103
103
  end
104
+
105
+ describe '#cd' do
106
+ context 'with a block given' do
107
+ it 'runs the passed block in the given directory' do
108
+ @aruba.create_directory @directory_name
109
+ full_path = File.expand_path(@directory_path)
110
+ @aruba.cd @directory_name do
111
+ expect(Dir.pwd).to eq full_path
112
+ end
113
+ expect(Dir.pwd).not_to eq full_path
114
+ end
115
+
116
+ it 'sets directory environment in the passed block' do
117
+ @aruba.create_directory @directory_name
118
+ old_pwd = ENV['PWD']
119
+ full_path = File.expand_path(@directory_path)
120
+ @aruba.cd @directory_name do
121
+ expect(ENV['PWD']).to eq full_path
122
+ expect(ENV['OLDPWD']).to eq old_pwd
123
+ end
124
+ end
125
+
126
+ it 'sets aruba environment in the passed block' do
127
+ @aruba.create_directory @directory_name
128
+ @aruba.set_environment_variable('FOO', 'bar')
129
+ @aruba.cd @directory_name do
130
+ expect(ENV['FOO']).to eq 'bar'
131
+ end
132
+ end
133
+
134
+ it 'does not touch other environment variables in the passed block' do
135
+ @aruba.create_directory @directory_name
136
+ @aruba.cd @directory_name do
137
+ expect(ENV['HOME']).not_to be_nil
138
+ end
139
+ end
140
+ end
141
+ end
104
142
  end
105
143
 
106
144
  describe '#read' do
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.14.8
4
+ version: 0.14.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2019-02-02 00:00:00.000000000 Z
16
+ date: 2019-03-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: cucumber
@@ -140,9 +140,9 @@ files:
140
140
  - ".simplecov"
141
141
  - ".travis.yml"
142
142
  - ".yardopts"
143
+ - CHANGELOG.md
143
144
  - CONTRIBUTING.md
144
145
  - Gemfile
145
- - History.md
146
146
  - LICENSE
147
147
  - README.md
148
148
  - Rakefile
@@ -300,7 +300,6 @@ files:
300
300
  - lib/aruba/api/deprecated.rb
301
301
  - lib/aruba/api/environment.rb
302
302
  - lib/aruba/api/filesystem.rb
303
- - lib/aruba/api/rvm.rb
304
303
  - lib/aruba/api/text.rb
305
304
  - lib/aruba/aruba_path.rb
306
305
  - lib/aruba/basic_configuration.rb
@@ -490,8 +489,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
490
489
  - !ruby/object:Gem::Version
491
490
  version: '0'
492
491
  requirements: []
493
- rubygems_version: 3.0.1
492
+ rubygems_version: 3.0.3
494
493
  signing_key:
495
494
  specification_version: 4
496
- summary: aruba-0.14.8
495
+ summary: aruba-0.14.9
497
496
  test_files: []
data/History.md DELETED
@@ -1,568 +0,0 @@
1
- # UNRELEASED
2
-
3
- # RELEASED
4
-
5
- ## [v0.14.8](https://github.com/cucumber/aruba/compare/v0.14.7...v0.14.8)
6
-
7
- * Deprecate `#run` and `#run_simple` in favor of `#run_command` and
8
- `#run_command_and_stop` (#585)
9
- * Update dependencies, most notably loosening the dependency on `childprocess`
10
- (#591)
11
- * Properly warn about deprecated use of the run methods with one positional
12
- option (#588)
13
-
14
- ## [v0.14.7](https://github.com/cucumber/aruba/compare/v0.14.6...v0.14.7)
15
-
16
- * Fix Cucumber steps to use `have_same_file_content_as` matcher (#572)
17
- * Update dependencies, most notably loosening the dependency on `ffi` (#581)
18
-
19
- ## [v0.14.6](https://github.com/cucumber/aruba/compare/v0.14.5...v0.14.6)
20
-
21
- * Document and fix `@disable-bundler` hook (#561)
22
- * Deprecate `have_same_file_content_like` and `a_file_with_same_content_like`
23
- in favor of `have_same_file_content_as` and `a_file_with_same_content_as` (#557)
24
-
25
- ## [v0.14.5](https://github.com/cucumber/aruba/compare/v0.14.4...v0.14.5)
26
-
27
- * Loosen dependency on child_process (#551)
28
-
29
- ## [v0.14.4](https://github.com/cucumber/aruba/compare/v0.14.3...v0.14.4)
30
-
31
- * Fix command spawning when run in directories with spaces (#490)
32
- * Ensure setup is still done when using `@no-clobber` (#529)
33
- * Make `#expand_path` handle absolute paths correctly (#486)
34
-
35
- ## [v0.14.3](https://github.com/cucumber/aruba/compare/v0.14.2...v0.14.3)
36
-
37
- * Fix path bug (#422)
38
- * Ensure non-deprecated methods do not use deprecated methods
39
- * Update dependency on childprocess
40
- * Fix encoding output on JRuby
41
-
42
- ## [v0.14.2](https://github.com/cucumber/aruba/compare/v0.14.1...v0.14.2)
43
-
44
- * Handle empty JRUBY_OPTS on JRuby
45
-
46
- ## [v0.14.1](https://github.com/cucumber/aruba/compare/v0.14.0...v0.14.1)
47
-
48
- * Fixed bug in framework step
49
-
50
- ## [v0.14.0](https://github.com/cucumber/aruba/compare/v0.13.0...v0.14.0)
51
-
52
- * Add `<project_root>/exe` to search path for commands: This is the new default if you setup a
53
- project with bundler.
54
- * Add some more steps to modify environment
55
-
56
- ## [v0.13.0](https://github.com/cucumber/aruba/compare/v0.12.0...v0.13.0)
57
-
58
- * Add two new hooks for rspec and cucumber to make troubleshooting feature
59
- files easier (PR #338):
60
- * command_content: Outputs command content - helpful for scripts
61
- * command_filesystem_status: Outputs information like group, owner, mode,
62
- atime, mtime
63
- * Add generator to create ad hoc script file (PR #323, @AdrieanKhisbe)
64
- * Colored announcer output similar to the color of `cucumber` tags: cyan
65
- * Fixed bug in announcer. It announces infomation several times due to
66
- duplicate announce-calls.
67
- * Refactorings to internal `#simple_table`-method (internal)
68
- * Refactored Announcer, now it supports blocks for announce as well (internal)
69
- * Fix circular require warnings (issue #339)
70
- * Fix use of old instances variable "@io_wait" (issue #341). Now the
71
- default value for io_wait_timeout can be set correctly.
72
- * Make it possible to announce information on command error, using a new option
73
- called `activate_announcer_on_command_failure` (PR #335, @njam)
74
- * Re-integrate `event-bus`-library into `aruba`-core (PR #342)
75
-
76
- ## [v0.12.0](https://github.com/cucumber/aruba/compare/v0.11.2...v0.12.0)
77
-
78
- * Add matcher to check if a command can be found in PATH (PR #336)
79
- * Fixed issue with environment variables set by external libraries (fix #321,
80
- issue #320)
81
-
82
- # Old releases
83
-
84
- ## [v0.11.2](https://github.com/cucumber/aruba/compare/v0.11.1...v0.11.2)
85
-
86
- * Fixed problem with positional arguments in `#run_simple()` (issue #322)
87
-
88
-
89
- ## [v0.11.1](https://github.com/cucumber/aruba/compare/v0.11.0...v0.11.1)
90
-
91
- * Use fixed version of event-bus
92
- * Refactored and improved documentation (feature tests) in PR #309
93
-
94
- ## [v0.11.0](https://github.com/cucumber/aruba/compare/v0.11.0.pre4...v0.11.0)
95
-
96
- * Accidently pushed to rubygems.org - yanked it afterwards
97
-
98
- ## [v0.11.0.pre4](https://github.com/cucumber/aruba/compare/v0.11.0.pre3...v0.11.0.pre4)
99
-
100
- * Fixed syntax for Hash on ruby 1.8.7
101
- * Reorder rubies in .travis.yml
102
-
103
- ## [v0.11.0.pre3](https://github.com/cucumber/aruba/compare/v0.11.0.pre2...v0.11.0.pre3)
104
-
105
- * Fixed syntax for proc on ruby 1.8.7
106
-
107
- ## [v0.11.0.pre2](https://github.com/cucumber/aruba/compare/v0.11.0.pre...v0.11.0.pre2)
108
-
109
- * Integrate `EventBus` to decouple announcers from starting, stopping commands
110
- etc. This uses nearly the same implementation like `cucumber`. (PR #309)
111
- * Starting/Stopping a command directly (`command.start`, `command.stop`) is now
112
- reported to the command monitor and `last_command_stopped` is updated
113
- correctly
114
- * Added `#restart` to `Command` to make it possible to restart a command
115
- * Added check to prevent a command which has already been started, to be
116
- started again. Otherwise you've got hidden commands which are not stopped
117
- after a cucumber/rspec/minitest run.
118
- * Adding alot of documentation to `aruba`
119
- * Refactored `#run`: Now it wants you to pass a `Hash` containing the options.
120
- The old syntax is still supported, but is deprecated.
121
- * Added `#find_command` as experimental feature. It searches the started
122
- commands from last to first.
123
- * Added `be_an_executable` matcher
124
-
125
-
126
- ## [v0.11.0.pre](https://github.com/cucumber/aruba/compare/v0.10.2...v0.11.0.pre)
127
-
128
- * Set stop signal which should be used to stop a process after a timeout or
129
- used to terminate a process. This can be used to stop processes running
130
- docker + "systemd". If you send a systemd-enable container SIGINT it will be
131
- stopped.
132
- * Added a configurable amount of time after a command was started -
133
- startup_wait_time. Otherwise you get problems when a process takes to long to
134
- startup when you run in background and want to sent it a signal.
135
- * Replace `<variable>` in commandline, e.g. `<pid-last-command-started>`
136
- [experimental]
137
- * Added announce formatter for time spans, e.g. `startup_wait_time`
138
- * All `*Process`-classes e.g. `BasicProcess`, `SpawnProcess` etc. are marked as
139
- private. Users should use `#run('cmd')` and don't use the classes directly.
140
- * `rvm`-methods are deprecated. They too ruby specific.
141
-
142
-
143
- ## [v0.10.2](https://github.com/cucumber/aruba/compare/v0.10.1...v0.10.2)
144
-
145
- * Fixed problem in regex after merge of step definitions
146
-
147
-
148
- ## [v0.10.1](https://github.com/cucumber/aruba/compare/v0.10.0...v0.10.1)
149
-
150
- * Merged remove steps for file and directory from 4 into 2 step definitions
151
-
152
-
153
- ## [v0.10.0](https://github.com/cucumber/aruba/compare/v0.10.0.pre2...v0.10.0)
154
-
155
- * Fix '"#exit_timeout" is deprecated' error (issue #314)
156
-
157
- ## [v0.10.0.pre2](https://github.com/cucumber/aruba/compare/v0.10.0.pre...v0.10.0.pre2)
158
-
159
- * Take over code from `RSpec::Support::ObjectFormatter` since `rspec-support`
160
- is not intended for public use.
161
-
162
- ## [v0.10.0.pre](https://github.com/cucumber/aruba/compare/v0.9.0...v0.10.0)
163
-
164
- * Add some new steps to make writing documentation easier using "cucumber",
165
- "rspec", "minitest" together with "aruba" - see [Feature](features/getting_started/supported_testing_frameworks.feature)
166
- for some examples
167
- * Write output of commands directly to disk if SpawnProcess is used (see https://github.com/cucumber/aruba/commit/85d74fcca4fff4e753776925d8b003cddaa8041d)
168
- * Refactored API of cucumber steps to reduce the need for more methods and make
169
- it easier for users to write their own steps (issue #306)
170
- * Added `aruba init` to the cli command to setup environment for aruba (issue
171
- #308)
172
- * Added new method `delete_environment_variable` to remove environment variable
173
- * Added work around because of method name conflict between Capybara and RSpec
174
- (https://github.com/cucumber/aruba/commit/1939c4049d5195ffdd967485f50119bdd86e98a0)
175
-
176
-
177
- ## [v0.9.0](https://github.com/cucumber/aruba/compare/v0.9.0.pre2...v0.9.0)
178
-
179
- * Fix feature test
180
- * Fix ordering in console
181
- * Fix bug in console handling SIGINT
182
- * Deprecated Aruba/Reporting before we remove it
183
-
184
- ## [v0.9.0.pre2](https://github.com/cucumber/aruba/compare/v0.9.0.pre...v0.9.0.pre2)
185
-
186
- * Redefine #to_s and #inspect for BasicProcess to reduce the sheer amount of
187
- information, if a command produces a lot of output
188
- * Added new matcher `#all_objects` to check if an object is included + a error message for
189
- failures which is similar to the `#all`-matcher of `RSpec`
190
- * Add `have_output`-, `have_output_on_stderr`, `have_output_on_stdout`-matchers
191
- * Replace all `assert_*` and `check_*`-methods through expectations
192
- * Add hook `@announce-output` to output both, stderr and stdout
193
- * Add a lot of documentation (issue #260)
194
- * Replace `#last_command` through `#last_command_started` and
195
- `#last_command_stopped` to make it more explicit
196
- * Improve syntax highlighting in cucumber feature tests by adding programming
197
- language to `"""`-blocks
198
- * Rename tags `@ignore-*` to `@unsupported-on-*`
199
- * Introduce our own `BaseMatcher`-class to remove the dependency to `RSpec`'s
200
- private matcher APIs
201
- * Now we make the process started via `SpawnProcess` the leader of the group to
202
- kill all sub-processes more reliably
203
-
204
-
205
- ## [v0.9.0.pre](https://github.com/cucumber/aruba/compare/v0.8.1...v0.9.0.pre)
206
-
207
- * Improve documentation for filesystem api and move it to feature tests
208
- * Add logger to aruba. Its output can be captured by rspec.
209
- * Fix incorrect deprecation message for check_file_presence (issue #292)
210
- * Fix for Gemfile excludes windows for many gems (issue #282)
211
- * Make feature tests compatible with ruby 1.9.2
212
- * Gather disk usage for file(s) (issue #294)
213
- * Replace keep_ansi-config option by remove_ansi_escape_sequences-option
214
- * Split up `#unescape` into `#extract_text` and `#unescape_text`
215
- * Use `UnixPlatform` and `WindowsPlatform` to make code for different platforms maintainable
216
- * Work around `ENV`-bug in `Jruby` buy using `#dup` on `ENV.to_h` (issue jruby/jruby#3162)
217
- * Speed up test on `JRuby` by using `--dev`-flag
218
- * Work around problems when copying files with `cp` on MRI-ruby 1.9.2
219
- * Add cmd.exe /c for SpawnProcess on Windows (issue #302)
220
- * Split up `#which` for Windows and Unix/Linux (issue #304)
221
- * Add `aruba console`-command to play around with aruba (issue 305)
222
-
223
-
224
- ## [v0.8.1](https://github.com/cucumber/aruba/compare/v0.8.0...v0.8.1)
225
-
226
- * Fix problem if working directory of aruba does not exist (issue #286)
227
- * Re-Add removed method only_processes
228
- * Fixed problem with last exit status
229
- * Added appveyor to run tests of aruba on Windows (issue #287)
230
- * Make the home directory configurable and use Around/around-hook to apply it
231
- * Add announcer to output the full environment before a command is run
232
- * Use prepend_environment_variable to modify PATH for rspec integration
233
- * Add VERSION-constant to aruba and use it for code which should be activated on >= 1.0.0
234
-
235
- ## [v0.8.0](https://github.com/cucumber/aruba/compare/v0.8.0.pre3...v0.8.0)
236
- * Build with cucumber 1.3.x on ruby 1.8.7, with cucumber 2.x on all other platforms
237
- * Fixed bugs in aruba's cucumber steps
238
- * Disable use of `win32/file`
239
- * Fixed but in `in_current_dir*` not returning the result of the block
240
- * Fixed checks for file content
241
- * Fixed selectors for DebugProcess and InProcess to support sub-classes as well
242
-
243
-
244
- ## [v0.8.0.pre3](https://github.com/cucumber/aruba/compare/v0.8.0.pre2...v0.8.0.pre3)
245
- * Depend on cucumber 1.3.x for compatibility on ruby 1.8.7
246
- * Change PWD and OLDPW when `cd('path') {}` is used within that block
247
- * Make nesting of `cd` possible
248
- * Make `run` inside `cd` possible
249
- * Fixed some bugs
250
- * Move `Aruba.proces = InProcess|SpawnProcess|DebugProcess` to `aruba.config`
251
- * Deprecate direct use of `InProcess|SpawnProcess|DebugProcess`. Now `Command`
252
- needs to be used
253
- * Add new configuration options `command_launcher` and `main_klass` for
254
- deprecation of old-style `Aruba.process = <class>`, `:spawn` is the default
255
- value for the `command_launcher`-option
256
- * Added checks for version of `rspec-expectations` to support older `rspec`
257
- versions like `2.11`
258
- * Now each `path/to/dir` pushed to `aruba.current_directory` is `pop`ed as whole
259
- * Make testing of `aruba.current_directory` easier by supporting `end_with?` and `start_with?`
260
-
261
- ## [v0.8.0.pre2](https://github.com/cucumber/aruba/compare/v0.8.0...v0.8.0.pre2)
262
- * Relax requirement on rspec-expectations (3.3 -> 2.11)
263
-
264
- ## [v0.8.0.pre](https://github.com/cucumber/aruba/compare/v0.7.4...v0.8.0.pre)
265
- * Make aruba compatible with "ruby 1.8.7" and "ruby 1.9.3" again (fixes #279)
266
- * Move more and more documentation to cucumber steps (partly fixes #268)
267
- * Refactoring of test suits, now rspec tests run randomly
268
- * Move Aruba constants to configuration class (fixes #271)
269
- * Added runtime configuration via `aruba.config` which is reset for each test run
270
- * Refactored hooks: now there are `after()` and `before()`-hooks, old
271
- before_cmd-hook is still working, but is deprecated, added new
272
- `after(:command)`-hook.
273
- * Refactored jruby-startup helper
274
- * Cleanup API by moving deprecated methods to separate class
275
- * Cleanup Core API - reduced to `cd`, `expand_path`, `setup_aruba` and use expand_path wherever possible (fixes #253)
276
- * Better isolation for environment variable manipulation - really helpful from 1.0.0 on
277
- * Move configuration files like `jruby.rb` to `aruba/config/`-directory
278
- * Change default exit timeout to 15 seconds to work around long running processes on travis
279
- * Use of instance variables like @aruba_timeout_seconds or
280
- @aruba_io_wait_seconds are deprecated. Use `Aruba.configure do |config|
281
- config.exit_timeout = 10` etc. for this.
282
-
283
- ## [v0.7.4](https://github.com/cucumber/aruba/compare/v0.7.2...v0.7.4)
284
- * Really Fixed post install message
285
-
286
- ## [v0.7.3](https://github.com/cucumber/aruba/compare/v0.7.2...v0.7.3)
287
- * Fixed post install message
288
-
289
- ## [v0.7.2](https://github.com/cucumber/aruba/compare/v0.7.1...v0.7.2)
290
- * Do not trigger Announcer API deprecation warning (issue #277)
291
-
292
- ## [v0.7.1](https://github.com/cucumber/aruba/compare/v0.7.0...v0.7.1)
293
- * Do not break if @interactive is used
294
-
295
- ## [v0.7.0](https://github.com/cucumber/aruba/compare/v0.6.2...v0.7.0)
296
- * Introducing root_directory (issue #232)
297
- * Introducing fixtures directory (issue #224)
298
- * Make sure a file/directory does not exist + Cleanup named file/directory steps (issue #234)
299
- * Make matcher have_permisions public and add documentation (issue #239)
300
- * Added matcher for file content (issue #238)
301
- * Add rspec integrator (issue #244)
302
- * Deprecate _file/_directory in method names (issue #243)
303
- * Improve development environment (issue #240)
304
- * Cleanup process management (issue #257)
305
- * Make path content available through matchers and api metchods (issue #250)
306
- * Refactor announcer to support user defined announce channels (fixes #267)
307
- * `InProcess` requires that the working directory is determined on runtime not no loadtime
308
-
309
- ## [v0.6.2](https://github.com/cucumber/aruba/compare/v0.6.1...v0.6.2)
310
- * Fixed minor issue #223)
311
- * Added support for ruby 2.1.3 -- 2.1.5
312
- * Added support for comparison to a fixture file
313
-
314
- ## [v0.6.1](https://github.com/cucumber/aruba/compare/v0.6.0...v0.6.1)
315
- * Added support for ruby 2.1.2
316
- * Added support for ~ expansion
317
- * Added support for with_env
318
-
319
- ## [v0.6.0](https://github.com/cucumber/aruba/compare/v0.5.4...v0.6.0)
320
- * Dropped support for ruby 1.8
321
- * Added support for ruby 2.1.0 and 2.1.1
322
- * Added rspec 3.0.0 support
323
-
324
- ## [v0.5.4](https://github.com/cucumber/aruba/compare/v0.5.3...v0.5.4)
325
- * Added support for piping in files (#154 maxmeyer, dg-vrnetze)
326
- * Added cucumber steps for environment variables (#156 dg-vrnetze)
327
- * Added support for file mode (#157 maxmeyer, dg-vrnetze)
328
-
329
- ## [v0.5.3](https://github.com/cucumber/aruba/compare/v0.5.2...v0.5.3)
330
- * Fix for UTF-8 support (#151 Matt Wynne, Jarl Friis)
331
- * Fix for open file leakage (#150 @JonRowe)
332
-
333
- ## [v0.5.2](https://github.com/cucumber/aruba/compare/v0.5.1...v0.5.2)
334
-
335
- * Plugin API for greater speed. Test Ruby CLI programs in a single Ruby process (#148 Aslak Hellesøy)
336
- * Fix memory leak when several commands are executed in a single run (#144 @y-higuchi)
337
-
338
- ## [v0.5.1](https://github.com/cucumber/aruba/compare/v0.5.0...v0.5.1)
339
- * Individual timeout settings when running commands (#124 Jarl Friis)
340
- * Varous fixes for JRuby tests, should now work on more versions of JRuby
341
-
342
- ## [v0.5.0](https://github.com/cucumber/aruba/compare/v0.4.10...v0.5.0)
343
- * Add #with_file_content to the DSL (#110 Pavel Argentov)
344
- * Make JRuby performance tweaks optional (#102 Taylor Carpenter, #125 Andy Lindeman)
345
- * Add assert_partial_output_interactive so you can peek at the output from a running process (#104 Taylor Carpenter)
346
- * Add assert_not_matching_output (#111 Pavel Argentov)
347
- * Add remove_dir (#121 Piotr Niełacny)
348
-
349
- ## [v0.4.11](https://github.com/cucumber/aruba/compare/v0.4.10...v0.4.11)
350
- * Fix duplicated output (#91 Robert Wahler, Matt Wynne)
351
- * Fix Gemspec format (#101 Matt Wynne)
352
-
353
- ## [v0.4.10](https://github.com/cucumber/aruba/compare/v0.4.9...v0.4.10)
354
- * Fix broken JRuby file following rename of hook (Thomas Reynolds)
355
- * Add terminate method to API (Taylor Carpenter)
356
-
357
- ## [v0.4.9](https://github.com/cucumber/aruba/compare/v0.4.8...v0.4.9)
358
- * Rename before_run hook to before_cmd (Matt Wynne)
359
- * Fix 1.8.7 compatibility (#95 Dave Copeland)
360
-
361
- ## [v0.4.8](https://github.com/cucumber/aruba/compare/v0.4.7...v0.4.8)
362
-
363
- * Add before_run hook (Matt Wynne)
364
- * Add JRuby performance tweaks (#93 Myron Marston / Matt Wynne)
365
- * Invalid/Corrupt spec file for 0.4.7 - undefined method call for nil:Nilclass (#47 Aslak Hellesøy)
366
-
367
- ## [v0.4.7](https://github.com/cucumber/aruba/compare/v0.4.6...v0.4.7)
368
-
369
- * Remove rdiscount dependency. (#85 Aslak Hellesøy)
370
- * Pin to ffi 1.0.9 since 1.0.10 is broken. (Aslak Hellesøy)
371
- * Added file size specific steps to the Aruba API. (#89 Hector Castro)
372
-
373
- ## [v0.4.6](https://github.com/cucumber/aruba/compare/v0.4.5...v0.4.6)
374
-
375
- * Upgraded deps to latest gems. (Aslak Hellesøy)
376
- * Added Regexp support to Aruba::Api#assert_no_partial_output (Aslak Hellesøy)
377
-
378
- ## [v0.4.5](https://github.com/cucumber/aruba/compare/v0.4.4...v0.4.5)
379
-
380
- * Better assertion failure message when an exit code is not as expected. (Matt Wynne)
381
-
382
- ## [v0.4.4](https://github.com/cucumber/aruba/compare/v0.4.3...v0.4.4)
383
-
384
- * Fix various bugs with interative processes. (Matt Wynne)
385
-
386
- ## [v0.4.3](https://github.com/cucumber/aruba/compare/v0.4.2...v0.4.3)
387
-
388
- * Aruba reporting now creates an index file for reports, linking them all together. (Aslak Hellesøy)
389
-
390
- ## [v0.4.2](https://github.com/cucumber/aruba/compare/v0.4.1...v0.4.2)
391
-
392
- * Appending to a file creates the parent directory if it doesn't exist. (Aslak Hellesøy)
393
-
394
- ## [v0.4.1](https://github.com/cucumber/aruba/compare/v0.4.0...v0.4.1)
395
-
396
- * Move more logic into Aruba::Api (Aslak Hellesøy)
397
-
398
- ## [v0.4.0](https://github.com/cucumber/aruba/compare/v0.3.7...v0.4.0)
399
-
400
- * New, awesome HTML reporting feature that captures everything that happens during a scenario. (Aslak Hellesøy)
401
- * ANSI escapes from output are stripped by default. Override this with the @ansi tag. (Aslak Hellesøy)
402
-
403
- ## [v0.3.7](https://github.com/cucumber/aruba/compare/v0.3.6...v0.3.7)
404
-
405
- * Make Aruba::Api#get_process return the last executed process with passed cmd (Potapov Sergey)
406
- * Replace announce with puts to comply with cucumber 0.10.6 (Aslak Hellesøy)
407
- * Fix childprocess STDIN to be synchronous (#40, #71 Tim Ekl)
408
-
409
- ## [v0.3.6](https://github.com/cucumber/aruba/compare/v0.3.5...v0.3.6)
410
-
411
- * Changed default value of @aruba_timeout_seconds from 1 to 3. (Aslak Hellesøy)
412
- * Separate hooks and steps to make it easier to build your own steps on top of Aruba's API (Mike Sassak)
413
- * @no-clobber to prevent cleanup before each scenario (Mike Sassak)
414
-
415
- ## [v0.3.5](https://github.com/cucumber/aruba/compare/v0.3.4...v0.3.5)
416
-
417
- * Store processes in an array to ensure order of operations on Ruby 1.8.x (#48 Mike Sassak)
418
-
419
- ## [v0.3.4](https://github.com/cucumber/aruba/compare/v0.3.3...v0.3.4)
420
-
421
- * Use backticks (\`) instead of quotes (") to specify command line. Quote still works, but is deprecated. (Anthony Eden, Aslak Hellesøy)
422
-
423
- ## [v0.3.3](https://github.com/cucumber/aruba/compare/v0.3.2...v0.3.3)
424
-
425
- * Updated RSpec development requirement to 2.5 (Robert Speicher, Mike Sassak, Aslak Hellesøy)
426
- * Updated RubyGems dependency to 1.6.1 (Robert Speicher)
427
-
428
- ## [v0.3.2](https://github.com/cucumber/aruba/compare/v0.3.1...v0.3.2)
429
-
430
- * Wrong number of args in the When I overwrite step (Aslak Hellesøy)
431
-
432
- ## [v0.3.1](https://github.com/cucumber/aruba/compare/v0.3.0...v0.3.1)
433
-
434
- * Broken 0.3.0 release (#43, #44 Mike Sassak)
435
- * Quotes (") and newline (\n) in step arguments are no longer unescaped. (Aslak Hellesøy)
436
-
437
- ## [v0.3.0](https://github.com/cucumber/aruba/compare/v0.2.8...v0.3.0)
438
-
439
- * Remove latency introduced in the 0.2.8 release (#42 Mike Sassak)
440
- * New stepdef Then /^the stdout should contain:$/ do |partial_output| (Aslak Hellesøy)
441
- * Quotes (") and newline (\n) in step arguments no longer need to be backslash-escaped. (Aslak Hellesøy)
442
-
443
- ## [v0.2.8](https://github.com/cucumber/aruba/compare/v0.2.7...v0.2.8)
444
-
445
- * Replaced background_process with childprocess, a cross-platform process control library. This will allow Aruba to run on Windows and JRuby in addition to *nix MRI. (#16, #27, #31 Mike Sassak, Jari Bakken, Matt Wynne, Arve Knudsen)
446
-
447
- ## [v0.2.7](https://github.com/cucumber/aruba/compare/v0.2.6...v0.2.7)
448
-
449
- * Upgrade to Cucumber 0.10.0. (Aslak Hellesøy)
450
- * require 'aruba' does nothing - you have to require 'aruba/cucumber' now. This is to prevent bundler from loading it when we don't want to. (Aslak Hellesøy)
451
- * Outputting a lot of data causes process to time out (#30 Mike Sassak)
452
-
453
- ## [v0.2.6](https://github.com/cucumber/aruba/compare/v0.2.5...v0.2.6)
454
-
455
- * You can set @aruba_timeout_seconds in a Before hook to tell Aruba to wait for a process to complete. Default: 1 second. (Aslak Hellesøy)
456
- * Fixed small bug in /^the stdout should contain exactly:$/ (Aslak Hellesøy)
457
-
458
- ## [v0.2.5](https://github.com/cucumber/aruba/compare/v0.2.4...v0.2.5)
459
-
460
- * Added 'a file named "whatever" should (not) exist' (Robert Speicher)
461
- * Added 'a directory named "whatever" should (not) exist' (Robert Speicher)
462
- * Added /^the stderr should contain exactly:"$/ (Aslak Hellesøy)
463
- * Added /^the stdout should contain exactly:"$/ (Aslak Hellesøy)
464
- * Added /it should pass with exactly:/ (Aslak Hellesøy)
465
- * @announce, @announce-dir and @announce-cmd for interactive processes (Mike Sassak)
466
- * Add step defs for detecting output, stdout and stderr by process name (Mike Sassak)
467
- * Stop all processes before verifying filesystem changes to ensure async operations are complete (#17 Mike Sassak)
468
- * Outputting large amounts of data causes run steps to hang (#18 Mike Sassak)
469
-
470
- ## [v0.2.4](https://github.com/cucumber/aruba/compare/v0.2.3...v0.2.4)
471
-
472
- * Added step definitions for removing files and checking presence of a single file. (Aslak Hellesøy)
473
-
474
- ## [v0.2.3](https://github.com/cucumber/aruba/compare/v0.2.2...v0.2.3)
475
-
476
- * Directory should not exist gives false-positive (#13,#15 Nicholas Rutherford)
477
- * Added step definitions for comparing file contents with regexps (#9 Aslak Hellesøy)
478
- * Always put ./bin at the beginning of $PATH to make it easier to run own executables (#7 Aslak Hellesøy)
479
- * Communication with interactive processes (#4 Mike Sassak)
480
- * Remove hyphens separating stdout and stderr (Arve Knudsen)
481
-
482
- ## [v0.2.2](https://github.com/cucumber/aruba/compare/v0.2.1...v0.2.2)
483
-
484
- * Added a @bin tag that sets up './bin' first on the path (Aslak Hellesøy)
485
- * Richer API making aruba easier to use from Ruby code. (Mark Nijhof, Aslak Hellesøy)
486
- * No more support for RVM. Use rvm 1.9.2,1.8.7 exec cucumber .... instead. (Mark Nijhof, Aslak Hellesøy)
487
-
488
- ## [v0.2.1](https://github.com/cucumber/aruba/compare/v0.2.0...v0.2.1)
489
-
490
- * Always compare with RSpec should =~ instead of should match. This gives a diff when there is no match. (Aslak Hellesøy)
491
-
492
- ## [v0.2.0](https://github.com/cucumber/aruba/compare/v0.1.9...v0.2.0)
493
-
494
- * Added aruba.gemspec. (David Chelimsky)
495
- * Several step definitions regarding output have changed. (#1 Aslak Hellesøy)
496
-
497
- - /^I should see "([^\"]*)"$/
498
- + /^the output should contain "([^"]*)"$/
499
-
500
- - /^I should not see "([^\"]*)"$/
501
- + /^the output should not contain "([^"]*)"$/
502
-
503
- - /^I should see:$/
504
- + /^the output should contain:$/
505
-
506
- - /^I should not see:$/
507
- + /^the output should not contain:$/
508
-
509
- - /^I should see exactly "([^\"]*)"$/
510
- + /^the output should contain exactly "([^"]*)"$/
511
-
512
- - /^I should see exactly:$/
513
- + /^the output should contain exactly:$/
514
-
515
- - /^I should see matching \/([^\/]*)\/$/
516
- + /^the output should match \/([^\/]*)\/$/
517
-
518
- - /^I should see matching:$/
519
- + /^the output should match:$/
520
-
521
- ## [v0.1.9](https://github.com/cucumber/aruba/compare/v0.1.8...v0.1.9)
522
-
523
- * If the GOTGEMS environment variable is set, bundler won't run (faster). (Aslak Hellesøy)
524
-
525
- ## [v0.1.8](https://github.com/cucumber/aruba/compare/v0.1.7...v0.1.8)
526
-
527
- * Use // instead of "" for "I should see matching" step. (Aslak Hellesøy)
528
- * Replace rvm gemset character '%' with '@' for rvm 0.1.24 (#5 Ashley Moran)
529
- * Support gem bundler, making it easier to specify gems. (Aslak Hellesøy)
530
-
531
- ## [v0.1.7](https://github.com/cucumber/aruba/compare/v0.1.6...v0.1.7)
532
-
533
- * New @announce-stderr tag (Robert Wahler)
534
- * New "I should see matching" steps using Regexp (Robert Wahler)
535
-
536
- ## [v0.1.6](https://github.com/cucumber/aruba/compare/v0.1.5...v0.1.6)
537
-
538
- * When /^I successfully run "(.*)"$/ now prints the combined output if exit status is not 0. (Aslak Hellesøy)
539
- * Add bundle to list of common ruby scripts. (Aslak Hellesøy)
540
-
541
- ## [v0.1.5](https://github.com/cucumber/aruba/compare/v0.1.4...v0.1.5)
542
-
543
- * Added ability to map rvm versions to a specific version with config/aruba-rvm.yml. (Aslak Hellesøy)
544
- * Check for presence of files. (Aslak Hellesøy)
545
- * Allow specification of rvm gemsets. (Aslak Hellesøy)
546
- * Detect ruby commands and use current ruby when rvm is not explicitly used. (Aslak Hellesøy)
547
- * Added support for rvm, making it possible to choose Ruby interpreter. (Aslak Hellesøy)
548
- * Added @announce-cmd, @announce-stdout and @announce tags, useful for seeing what's executed and outputted. (Aslak Hellesøy)
549
-
550
- ## [v0.1.4](https://github.com/cucumber/aruba/compare/v0.1.3...v0.1.4)
551
-
552
- * New step definition for appending to a file (Aslak Hellesøy)
553
-
554
- ## [v0.1.3](https://github.com/cucumber/aruba/compare/v0.1.2...v0.1.3)
555
-
556
- * New step definition for cd (change directory) (Aslak Hellesøy)
557
-
558
- ## [v0.1.2](https://github.com/cucumber/aruba/compare/v0.1.1...v0.1.2)
559
-
560
- * Separated API from Cucumber step definitions, makes this usable without Cucumber. (Aslak Hellesøy)
561
-
562
- ## [v0.1.1](https://github.com/cucumber/aruba/compare/v0.1.0...v0.1.1)
563
-
564
- * Better Regexp escaping (David Chelimsky)
565
-
566
- ## [v0.1.0](https://github.com/cucumber/aruba/compare/ed6a175d23aaff62dbf355706996f276f304ae8b...v0.1.1)
567
-
568
- * First release (David Chelimsky and Aslak Hellesøy)