aruba 0.14.13 → 0.14.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +24 -18
- data/features/06_use_aruba_cli/open_console.feature +6 -3
- data/lib/aruba/platforms/unix_platform.rb +10 -7
- data/lib/aruba/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a6dec2d2f4fb77bf7bba1146a84b9b5c95b9d71fce642d712c06e074a6400a6
|
4
|
+
data.tar.gz: bc372d8eefe7a8c408befae6d8967ba3d7caab1ec923ba129e4b8966963620dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54e94426e026cb5d69797149f5522a5d425e7b7e0f18b9d7f04a66441c2cc57fae7291ee1405b0d58663355df83ecf8e15d3315a855e7900460d58cb684f013d
|
7
|
+
data.tar.gz: 4a0551631244c384bcb0a3ce4603ef9e4adc402bf188d468d7f0e9fb43bb7d9f34f592e581d2482a401599ac4abbec31d3780ffae7ba1194ccf37775e2df96c8
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ 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
|
+
## [0.14.14]
|
10
|
+
|
11
|
+
* Support Ruby 2.7 ([#677])
|
12
|
+
|
9
13
|
## [0.14.13]
|
10
14
|
|
11
15
|
* Loosen dependency on thor ([#676])
|
@@ -103,8 +107,8 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
103
107
|
|
104
108
|
* Add two new hooks for rspec and cucumber to make troubleshooting feature
|
105
109
|
files easier ([#338]):
|
106
|
-
* command_content
|
107
|
-
* command_filesystem_status
|
110
|
+
* `command_content`: Outputs command content - helpful for scripts
|
111
|
+
* `command_filesystem_status`: Outputs information like group, owner, mode,
|
108
112
|
atime, mtime
|
109
113
|
* Add generator to create ad hoc script file ([#323], [AdrieanKhisbe])
|
110
114
|
* Colored announcer output similar to the color of `cucumber` tags: cyan
|
@@ -194,7 +198,7 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
194
198
|
|
195
199
|
## [0.10.0]
|
196
200
|
|
197
|
-
* Fix
|
201
|
+
* Fix `"#exit_timeout" is deprecated` error ([#314])
|
198
202
|
|
199
203
|
## [0.10.0.pre2]
|
200
204
|
|
@@ -249,32 +253,32 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
249
253
|
|
250
254
|
* Improve documentation for filesystem api and move it to feature tests
|
251
255
|
* Add logger to aruba. Its output can be captured by rspec.
|
252
|
-
* Fix incorrect deprecation message for check_file_presence ([#292])
|
256
|
+
* Fix incorrect deprecation message for `check_file_presence` ([#292])
|
253
257
|
* Fix for Gemfile excludes windows for many gems ([#282])
|
254
258
|
* Make feature tests compatible with ruby 1.9.2
|
255
259
|
* Gather disk usage for file(s) ([#294])
|
256
|
-
* Replace keep_ansi
|
260
|
+
* Replace `keep_ansi` config option by `remove_ansi_escape_sequences` option
|
257
261
|
* Split up `#unescape` into `#extract_text` and `#unescape_text`
|
258
262
|
* Use `UnixPlatform` and `WindowsPlatform` to make code for different platforms
|
259
263
|
maintainable
|
260
|
-
* Work around `ENV`-bug in
|
261
|
-
* Speed up test on
|
264
|
+
* Work around `ENV`-bug in JRuby by using `#dup` on `ENV.to_h` ([jruby/jruby#316])
|
265
|
+
* Speed up test on JRuby by using `--dev`-flag
|
262
266
|
* Work around problems when copying files with `cp` on MRI-ruby 1.9.2
|
263
|
-
* Add cmd.exe /c for SpawnProcess on Windows ([#302])
|
267
|
+
* Add `cmd.exe /c` for SpawnProcess on Windows ([#302])
|
264
268
|
* Split up `#which` for Windows and Unix/Linux ([#304])
|
265
|
-
* Add `aruba console
|
269
|
+
* Add `aruba console` command to play around with aruba ([#305])
|
266
270
|
|
267
271
|
|
268
272
|
## [0.8.1]
|
269
273
|
|
270
274
|
* Fix problem if working directory of aruba does not exist ([#286])
|
271
|
-
* Re-
|
275
|
+
* Re-add removed method `only_processes`
|
272
276
|
* Fixed problem with last exit status
|
273
277
|
* Added appveyor to run tests of aruba on Windows ([#287])
|
274
278
|
* Make the home directory configurable and use Around/around-hook to apply it
|
275
279
|
* Add announcer to output the full environment before a command is run
|
276
|
-
* Use prepend_environment_variable to modify PATH for rspec integration
|
277
|
-
* Add VERSION
|
280
|
+
* Use `prepend_environment_variable` to modify PATH for rspec integration
|
281
|
+
* Add `VERSION` constant to aruba and use it for code which should be activated on >= 1.0.0
|
278
282
|
|
279
283
|
## [0.8.0]
|
280
284
|
|
@@ -325,9 +329,9 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
325
329
|
* Better isolation for environment variable manipulation - really helpful from 1.0.0 on
|
326
330
|
* Move configuration files like `jruby.rb` to `aruba/config/`-directory
|
327
331
|
* Change default exit timeout to 15 seconds to work around long running processes on travis
|
328
|
-
* Use of instance variables like
|
329
|
-
|
330
|
-
config.exit_timeout = 10` etc. for this.
|
332
|
+
* Use of instance variables like `@aruba_timeout_seconds` or
|
333
|
+
`@aruba_io_wait_seconds` are deprecated.
|
334
|
+
Use `Aruba.configure do |config| config.exit_timeout = 10` etc. for this.
|
331
335
|
|
332
336
|
## [0.7.4]
|
333
337
|
* Really Fixed post install message
|
@@ -341,7 +345,7 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
341
345
|
|
342
346
|
## [0.7.1]
|
343
347
|
|
344
|
-
* Do not break if
|
348
|
+
* Do not break if `@interactive` is used
|
345
349
|
|
346
350
|
## [0.7.0]
|
347
351
|
|
@@ -417,12 +421,12 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
417
421
|
|
418
422
|
## [0.4.9]
|
419
423
|
|
420
|
-
* Rename before_run hook to before_cmd ([mattwynne])
|
424
|
+
* Rename `before_run` hook to `before_cmd` ([mattwynne])
|
421
425
|
* Fix 1.8.7 compatibility ([#95], [davetron5000])
|
422
426
|
|
423
427
|
## [0.4.8]
|
424
428
|
|
425
|
-
* Add before_run hook ([mattwynne])
|
429
|
+
* Add `before_run` hook ([mattwynne])
|
426
430
|
* Add JRuby performance tweaks ([#93], [myronmarston], [mattwynne])
|
427
431
|
* Invalid/Corrupt spec file for 0.4.7 - undefined method call for nil:Nilclass ([#47], [aslakhellesoy])
|
428
432
|
|
@@ -687,6 +691,7 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
687
691
|
|
688
692
|
<!-- issues & pull requests -->
|
689
693
|
|
694
|
+
[#677]: https://github.com/cucumber/aruba/pull/677
|
690
695
|
[#676]: https://github.com/cucumber/aruba/pull/676
|
691
696
|
[#673]: https://github.com/cucumber/aruba/pull/673
|
692
697
|
[#668]: https://github.com/cucumber/aruba/pull/668
|
@@ -889,6 +894,7 @@ This document is formatted according to the principles of [Keep A CHANGELOG][2].
|
|
889
894
|
|
890
895
|
<!-- Releases -->
|
891
896
|
|
897
|
+
[0.14.14]: https://github.com/cucumber/aruba/compare/v0.14.13...v0.14.14
|
892
898
|
[0.14.13]: https://github.com/cucumber/aruba/compare/v0.14.12...v0.14.13
|
893
899
|
[0.14.12]: https://github.com/cucumber/aruba/compare/v0.14.11...v0.14.12
|
894
900
|
[0.14.11]: https://github.com/cucumber/aruba/compare/v0.14.10...v0.14.11
|
@@ -44,9 +44,12 @@ Feature: Aruba Console
|
|
44
44
|
"""
|
45
45
|
|
46
46
|
@unsupported-on-platform-java
|
47
|
-
Scenario: Has history
|
47
|
+
Scenario: Has its own history file
|
48
48
|
Given I run `aruba console` interactively
|
49
|
-
And I type "
|
49
|
+
And I type "IRB.conf[:HISTORY_FILE]"
|
50
50
|
And I type "exit"
|
51
51
|
When I close the stdin stream
|
52
|
-
Then the
|
52
|
+
Then the output should contain:
|
53
|
+
"""
|
54
|
+
~/.aruba_history
|
55
|
+
"""
|
@@ -125,7 +125,8 @@ module Aruba
|
|
125
125
|
def rm(paths, options = {})
|
126
126
|
paths = Array(paths).map { |p| ::File.expand_path(p) }
|
127
127
|
|
128
|
-
FileUtils.rm_r(paths, options
|
128
|
+
FileUtils.rm_r(paths, :force => options[:force], :noop => options[:noop],
|
129
|
+
:verbose => options[:verbose], :secure => options[:secure])
|
129
130
|
end
|
130
131
|
|
131
132
|
# Get current working directory
|
@@ -144,22 +145,24 @@ module Aruba
|
|
144
145
|
|
145
146
|
# Touch file, directory
|
146
147
|
def touch(args, options)
|
147
|
-
FileUtils.touch(args, options
|
148
|
+
FileUtils.touch(args, :noop => options[:noop], :verbose => options[:verbose],
|
149
|
+
:mtime => options[:mtime], :nocreate => options[:nocreate])
|
148
150
|
end
|
149
151
|
|
150
152
|
# Copy file/directory
|
151
|
-
def cp(
|
152
|
-
FileUtils.cp_r(
|
153
|
+
def cp(src, dest)
|
154
|
+
FileUtils.cp_r(src, dest)
|
153
155
|
end
|
154
156
|
|
155
157
|
# Move file/directory
|
156
|
-
def mv(
|
157
|
-
FileUtils.mv(
|
158
|
+
def mv(src, dest)
|
159
|
+
FileUtils.mv(src, dest)
|
158
160
|
end
|
159
161
|
|
160
162
|
# Change mode of file/directory
|
161
163
|
def chmod(mode, args, options)
|
162
|
-
FileUtils.chmod_R(mode, args, options
|
164
|
+
FileUtils.chmod_R(mode, args, :noop => options[:noop],
|
165
|
+
:verbose => options[:verbose], :force => options[:force])
|
163
166
|
end
|
164
167
|
|
165
168
|
# Exists and is file
|
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.14.
|
4
|
+
version: 0.14.14
|
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-12-
|
16
|
+
date: 2019-12-28 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: cucumber
|
@@ -491,5 +491,5 @@ requirements: []
|
|
491
491
|
rubygems_version: 3.0.6
|
492
492
|
signing_key:
|
493
493
|
specification_version: 4
|
494
|
-
summary: aruba-0.14.
|
494
|
+
summary: aruba-0.14.14
|
495
495
|
test_files: []
|