aruba 1.0.2 → 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 +14 -1
- data/lib/aruba/console/help.rb +3 -3
- data/lib/aruba/cucumber/command.rb +10 -18
- data/lib/aruba/matchers/base/message_indenter.rb +1 -1
- data/lib/aruba/matchers/path/have_permissions.rb +3 -2
- data/lib/aruba/platforms/announcer.rb +1 -1
- data/lib/aruba/platforms/command_monitor.rb +1 -3
- data/lib/aruba/processes/basic_process.rb +1 -1
- data/lib/aruba/version.rb +1 -1
- metadata +47 -62
- 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 -3
- data/.rubocop.yml +0 -52
- data/.rubocop_todo.yml +0 -216
- data/.simplecov +0 -36
- data/.travis.yml +0 -62
- data/.yardopts +0 -11
- data/Dockerfile +0 -67
- data/Gemfile +0 -14
- data/Rakefile +0 -82
- data/TODO.md +0 -13
- data/appveyor.yml +0 -28
- data/aruba.gemspec +0 -57
- data/bin/console +0 -7
- data/bin/test +0 -9
- data/config/.gitignore +0 -1
- data/cucumber.yml +0 -6
- 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 -26
- 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 -8
- 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 -26
- data/fixtures/empty-app/lib/cli/app.rb +0 -7
- 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
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
@@ -6,6 +6,12 @@ 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
|
+
|
9
15
|
## [1.0.2]
|
10
16
|
|
11
17
|
* Loosen childprocess dependency
|
@@ -936,12 +942,18 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
936
942
|
[scottj97]: https://github.com/scottj97
|
937
943
|
[stamhankar999]: https://github.com/stamhankar999
|
938
944
|
[taylor]: https://github.com/taylor
|
945
|
+
[utkarsh2102]: https://github.com/utkarsh2102
|
939
946
|
[tdreyno]: https://github.com/tdreyno
|
940
947
|
[xtrasimplicity]: https://github.com/xtrasimplicity
|
941
948
|
[y-higuchi]: https://github.com/y-higuchi
|
942
949
|
|
943
950
|
<!-- issues & pull requests -->
|
944
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
|
945
957
|
[#717]: https://github.com/cucumber/aruba/pull/717
|
946
958
|
[#715]: https://github.com/cucumber/aruba/pull/715
|
947
959
|
[#712]: https://github.com/cucumber/aruba/pull/712
|
@@ -1215,7 +1227,8 @@ Note: These are changes w.r.t. Aruba version 0.14.1.
|
|
1215
1227
|
|
1216
1228
|
<!-- Releases -->
|
1217
1229
|
|
1218
|
-
[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
|
1219
1232
|
[1.0.2]: https://github.com/cucumber/aruba/compare/v1.0.1...v1.0.2
|
1220
1233
|
[1.0.1]: https://github.com/cucumber/aruba/compare/v1.0.0...v1.0.1
|
1221
1234
|
[1.0.0]: https://github.com/cucumber/aruba/compare/v1.0.0.pre.alpha.5...v1.0.0
|
data/lib/aruba/console/help.rb
CHANGED
@@ -8,8 +8,8 @@ module Aruba
|
|
8
8
|
module Help
|
9
9
|
# Output help information
|
10
10
|
def aruba_help
|
11
|
-
puts
|
12
|
-
puts 'Issue Tracker:
|
11
|
+
puts "Aruba Version: #{Aruba::VERSION}"
|
12
|
+
puts 'Issue Tracker: https://github.com/cucumber/aruba/issues'
|
13
13
|
puts 'Documentation:'
|
14
14
|
puts '* http://www.rubydoc.info/gems/aruba'
|
15
15
|
puts
|
@@ -23,7 +23,7 @@ module Aruba
|
|
23
23
|
.each_with_object([]) { |e, a| a << format('* %s', e) }
|
24
24
|
.sort
|
25
25
|
|
26
|
-
puts "Available Methods:\n
|
26
|
+
puts "Available Methods:\n#{ms.join("\n")}"
|
27
27
|
|
28
28
|
nil
|
29
29
|
end
|
@@ -88,30 +88,22 @@ end
|
|
88
88
|
|
89
89
|
When(/^I wait for (?:output|stdout) to contain:$/) do |expected|
|
90
90
|
Timeout.timeout(aruba.config.exit_timeout) do
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
retry
|
97
|
-
end
|
98
|
-
|
99
|
-
break
|
91
|
+
begin
|
92
|
+
expect(last_command_started).to have_output an_output_string_including(expected)
|
93
|
+
rescue ExpectationError
|
94
|
+
sleep 0.1
|
95
|
+
retry
|
100
96
|
end
|
101
97
|
end
|
102
98
|
end
|
103
99
|
|
104
100
|
When(/^I wait for (?:output|stdout) to contain "([^"]*)"$/) do |expected|
|
105
101
|
Timeout.timeout(aruba.config.exit_timeout) do
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
retry
|
112
|
-
end
|
113
|
-
|
114
|
-
break
|
102
|
+
begin
|
103
|
+
expect(last_command_started).to have_output an_output_string_including(expected)
|
104
|
+
rescue ExpectationError
|
105
|
+
sleep 0.1
|
106
|
+
retry
|
115
107
|
end
|
116
108
|
end
|
117
109
|
end
|
@@ -39,9 +39,10 @@ RSpec::Matchers.define :have_permissions do |expected|
|
|
39
39
|
@old_actual = actual
|
40
40
|
@actual = permissions(expand_path(@old_actual))
|
41
41
|
|
42
|
-
@expected =
|
42
|
+
@expected = case expected
|
43
|
+
when Integer
|
43
44
|
expected.to_s(8)
|
44
|
-
|
45
|
+
when String
|
45
46
|
expected.gsub(/^0*/, '')
|
46
47
|
else
|
47
48
|
expected
|
@@ -12,7 +12,7 @@ module Aruba
|
|
12
12
|
|
13
13
|
public
|
14
14
|
|
15
|
-
attr_reader :registered_commands, :last_command_started
|
15
|
+
attr_reader :registered_commands, :last_command_started, :last_command_stopped
|
16
16
|
|
17
17
|
class DefaultLastCommandStopped
|
18
18
|
def nil?
|
@@ -52,8 +52,6 @@ module Aruba
|
|
52
52
|
raise ArgumentError, e.message
|
53
53
|
end
|
54
54
|
|
55
|
-
attr_reader :last_command_stopped
|
56
|
-
|
57
55
|
# Set last command started
|
58
56
|
#
|
59
57
|
# @param [String] cmd
|
data/lib/aruba/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aruba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy, Matt Wynne and other Aruba Contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
version: '2.4'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '6.0'
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,7 @@ dependencies:
|
|
63
63
|
version: '2.4'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '6.0'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: ffi
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,6 +176,20 @@ dependencies:
|
|
176
176
|
- - "~>"
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '13.0'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: rake-manifest
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 0.1.0
|
186
|
+
type: :development
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.1.0
|
179
193
|
- !ruby/object:Gem::Dependency
|
180
194
|
name: rspec
|
181
195
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,56 +210,76 @@ dependencies:
|
|
196
210
|
requirements:
|
197
211
|
- - "~>"
|
198
212
|
- !ruby/object:Gem::Version
|
199
|
-
version:
|
213
|
+
version: 0.89.0
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 0.89.0
|
221
|
+
- !ruby/object:Gem::Dependency
|
222
|
+
name: rubocop-packaging
|
223
|
+
requirement: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: 0.3.0
|
200
228
|
type: :development
|
201
229
|
prerelease: false
|
202
230
|
version_requirements: !ruby/object:Gem::Requirement
|
203
231
|
requirements:
|
204
232
|
- - "~>"
|
205
233
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
234
|
+
version: 0.3.0
|
207
235
|
- !ruby/object:Gem::Dependency
|
208
236
|
name: rubocop-performance
|
209
237
|
requirement: !ruby/object:Gem::Requirement
|
210
238
|
requirements:
|
211
239
|
- - "~>"
|
212
240
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
241
|
+
version: 1.7.1
|
214
242
|
type: :development
|
215
243
|
prerelease: false
|
216
244
|
version_requirements: !ruby/object:Gem::Requirement
|
217
245
|
requirements:
|
218
246
|
- - "~>"
|
219
247
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
248
|
+
version: 1.7.1
|
221
249
|
- !ruby/object:Gem::Dependency
|
222
250
|
name: rubocop-rspec
|
223
251
|
requirement: !ruby/object:Gem::Requirement
|
224
252
|
requirements:
|
225
253
|
- - "~>"
|
226
254
|
- !ruby/object:Gem::Version
|
227
|
-
version:
|
255
|
+
version: 1.43.1
|
228
256
|
type: :development
|
229
257
|
prerelease: false
|
230
258
|
version_requirements: !ruby/object:Gem::Requirement
|
231
259
|
requirements:
|
232
260
|
- - "~>"
|
233
261
|
- !ruby/object:Gem::Version
|
234
|
-
version:
|
262
|
+
version: 1.43.1
|
235
263
|
- !ruby/object:Gem::Dependency
|
236
264
|
name: simplecov
|
237
265
|
requirement: !ruby/object:Gem::Requirement
|
238
266
|
requirements:
|
239
|
-
- - "
|
267
|
+
- - ">="
|
240
268
|
- !ruby/object:Gem::Version
|
241
269
|
version: 0.18.0
|
270
|
+
- - "<"
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: 0.20.0
|
242
273
|
type: :development
|
243
274
|
prerelease: false
|
244
275
|
version_requirements: !ruby/object:Gem::Requirement
|
245
276
|
requirements:
|
246
|
-
- - "
|
277
|
+
- - ">="
|
247
278
|
- !ruby/object:Gem::Version
|
248
279
|
version: 0.18.0
|
280
|
+
- - "<"
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
version: 0.20.0
|
249
283
|
- !ruby/object:Gem::Dependency
|
250
284
|
name: yard-junk
|
251
285
|
requirement: !ruby/object:Gem::Requirement
|
@@ -273,60 +307,11 @@ extra_rdoc_files:
|
|
273
307
|
- README.md
|
274
308
|
- LICENSE
|
275
309
|
files:
|
276
|
-
- ".cucumberproignore"
|
277
|
-
- ".document"
|
278
|
-
- ".github/ISSUE_TEMPLATE.md"
|
279
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
280
|
-
- ".gitignore"
|
281
|
-
- ".rspec"
|
282
|
-
- ".rubocop.yml"
|
283
|
-
- ".rubocop_todo.yml"
|
284
|
-
- ".simplecov"
|
285
|
-
- ".travis.yml"
|
286
|
-
- ".yardopts"
|
287
310
|
- CHANGELOG.md
|
288
311
|
- CONTRIBUTING.md
|
289
|
-
- Dockerfile
|
290
|
-
- Gemfile
|
291
312
|
- LICENSE
|
292
313
|
- README.md
|
293
|
-
- Rakefile
|
294
|
-
- TODO.md
|
295
|
-
- appveyor.yml
|
296
|
-
- aruba.gemspec
|
297
|
-
- bin/console
|
298
|
-
- bin/test
|
299
|
-
- config/.gitignore
|
300
|
-
- cucumber.yml
|
301
|
-
- doc/dependency_decisions.yml
|
302
|
-
- docker-compose.yml
|
303
314
|
- exe/aruba
|
304
|
-
- fixtures/cli-app/.gitignore
|
305
|
-
- fixtures/cli-app/.rspec
|
306
|
-
- fixtures/cli-app/README.md
|
307
|
-
- fixtures/cli-app/Rakefile
|
308
|
-
- fixtures/cli-app/bin/aruba-test-cli
|
309
|
-
- fixtures/cli-app/cli-app.gemspec
|
310
|
-
- fixtures/cli-app/features/support/aruba.rb
|
311
|
-
- fixtures/cli-app/features/support/env.rb
|
312
|
-
- fixtures/cli-app/lib/cli/app.rb
|
313
|
-
- fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
|
314
|
-
- fixtures/cli-app/lib/cli/app/version.rb
|
315
|
-
- fixtures/cli-app/script/console
|
316
|
-
- fixtures/cli-app/spec/spec_helper.rb
|
317
|
-
- fixtures/cli-app/spec/support/aruba.rb
|
318
|
-
- fixtures/copy/file.txt
|
319
|
-
- fixtures/empty-app/.gitignore
|
320
|
-
- fixtures/empty-app/.rspec
|
321
|
-
- fixtures/empty-app/README.md
|
322
|
-
- fixtures/empty-app/Rakefile
|
323
|
-
- fixtures/empty-app/cli-app.gemspec
|
324
|
-
- fixtures/empty-app/lib/cli/app.rb
|
325
|
-
- fixtures/empty-app/lib/cli/app/version.rb
|
326
|
-
- fixtures/getting-started-app/.gitignore
|
327
|
-
- fixtures/getting-started-app/Gemfile
|
328
|
-
- fixtures/getting-started-app/README.md
|
329
|
-
- fixtures/getting-started-app/features/support/env.rb
|
330
315
|
- lib/aruba.rb
|
331
316
|
- lib/aruba/api.rb
|
332
317
|
- lib/aruba/api/bundler.rb
|
@@ -459,5 +444,5 @@ requirements: []
|
|
459
444
|
rubygems_version: 3.1.2
|
460
445
|
signing_key:
|
461
446
|
specification_version: 4
|
462
|
-
summary: aruba-1.0.
|
447
|
+
summary: aruba-1.0.3
|
463
448
|
test_files: []
|
data/.cucumberproignore
DELETED
data/.document
DELETED
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
<!-- These sections are meant as guidance for you, to help you give the kind of information we'll need to help with your issue. If a section doesn't seem to fit, just skip it.
|
2
|
-
|
3
|
-
In general: Please provide as much information as you can to help us solving your problem -->
|
4
|
-
|
5
|
-
## Summary
|
6
|
-
|
7
|
-
<!--- Provide a general summary description of the issue -->
|
8
|
-
|
9
|
-
## Expected Behavior
|
10
|
-
|
11
|
-
<!--- If you're describing a bug, tell us what should happen -->
|
12
|
-
<!--- If you're suggesting a change/improvement, tell us how it should work -->
|
13
|
-
<!--- Feel free to use Given / Then / Then if that helps, but please add some plain-language context too -->
|
14
|
-
|
15
|
-
## Current Behavior
|
16
|
-
|
17
|
-
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
|
18
|
-
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
|
19
|
-
|
20
|
-
<!--- If you have got some output place it in the code block below. Otherwise remove it. -->
|
21
|
-
~~~
|
22
|
-
~~~
|
23
|
-
|
24
|
-
## Possible Solution
|
25
|
-
|
26
|
-
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
27
|
-
<!--- or ideas how to implement the addition or change -->
|
28
|
-
|
29
|
-
## Steps to Reproduce (for bugs)
|
30
|
-
|
31
|
-
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
32
|
-
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
33
|
-
1.
|
34
|
-
2.
|
35
|
-
3.
|
36
|
-
4.
|
37
|
-
|
38
|
-
## Context & Motivation
|
39
|
-
|
40
|
-
<!--- How has this issue affected you? What are you trying to accomplish? -->
|
41
|
-
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
42
|
-
|
43
|
-
## Your Environment
|
44
|
-
|
45
|
-
<!--- If you're reporting a bug, include as many relevant details about the environment you experienced the bug in -->
|
46
|
-
* Version used:
|
47
|
-
* Operating System and version:
|
48
|
-
* Link to your project:
|