aruba 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +72 -1
- data/CONTRIBUTING.md +11 -31
- data/README.md +1 -2
- data/exe/aruba +2 -2
- data/lib/aruba.rb +1 -1
- data/lib/aruba/api.rb +11 -12
- data/lib/aruba/api/bundler.rb +18 -3
- data/lib/aruba/api/commands.rb +19 -22
- data/lib/aruba/api/core.rb +65 -48
- data/lib/aruba/api/environment.rb +13 -5
- data/lib/aruba/api/filesystem.rb +69 -39
- data/lib/aruba/api/text.rb +15 -3
- data/lib/aruba/aruba_path.rb +3 -4
- data/lib/aruba/basic_configuration.rb +52 -71
- data/lib/aruba/basic_configuration/option.rb +2 -2
- data/lib/aruba/cli.rb +9 -6
- data/lib/aruba/command.rb +4 -4
- data/lib/aruba/config/jruby.rb +9 -9
- data/lib/aruba/config_wrapper.rb +17 -2
- data/lib/aruba/configuration.rb +37 -32
- data/lib/aruba/console.rb +11 -13
- data/lib/aruba/console/help.rb +9 -6
- data/lib/aruba/contracts/absolute_path.rb +2 -2
- data/lib/aruba/contracts/enum.rb +1 -1
- data/lib/aruba/contracts/is_power_of_two.rb +3 -3
- data/lib/aruba/contracts/relative_path.rb +2 -2
- data/lib/aruba/cucumber.rb +7 -7
- data/lib/aruba/cucumber/command.rb +106 -95
- data/lib/aruba/cucumber/environment.rb +7 -7
- data/lib/aruba/cucumber/file.rb +50 -26
- data/lib/aruba/cucumber/hooks.rb +32 -29
- data/lib/aruba/cucumber/testing_frameworks.rb +32 -30
- data/lib/aruba/event_bus.rb +6 -4
- data/lib/aruba/event_bus/name_resolver.rb +12 -11
- data/lib/aruba/events.rb +2 -1
- data/lib/aruba/file_size.rb +1 -1
- data/lib/aruba/generators/script_file.rb +2 -2
- data/lib/aruba/hooks.rb +2 -4
- data/lib/aruba/in_config_wrapper.rb +8 -5
- data/lib/aruba/initializer.rb +14 -12
- data/lib/aruba/matchers/base/base_matcher.rb +3 -12
- data/lib/aruba/matchers/base/message_indenter.rb +2 -2
- data/lib/aruba/matchers/base/object_formatter.rb +2 -5
- data/lib/aruba/matchers/collection.rb +1 -1
- data/lib/aruba/matchers/collection/all.rb +1 -1
- data/lib/aruba/matchers/collection/include_an_object.rb +6 -6
- data/lib/aruba/matchers/command.rb +1 -1
- data/lib/aruba/matchers/command/be_successfully_executed.rb +6 -4
- data/lib/aruba/matchers/command/have_exit_status.rb +3 -1
- data/lib/aruba/matchers/command/have_finished_in_time.rb +4 -2
- data/lib/aruba/matchers/command/have_output.rb +4 -2
- data/lib/aruba/matchers/command/have_output_on_stderr.rb +3 -1
- data/lib/aruba/matchers/command/have_output_on_stdout.rb +3 -1
- data/lib/aruba/matchers/directory.rb +1 -1
- data/lib/aruba/matchers/directory/be_an_existing_directory.rb +2 -2
- data/lib/aruba/matchers/directory/have_sub_directory.rb +9 -4
- data/lib/aruba/matchers/environment.rb +1 -1
- data/lib/aruba/matchers/file.rb +1 -1
- data/lib/aruba/matchers/file/be_a_command_found_in_path.rb +1 -1
- data/lib/aruba/matchers/file/be_an_existing_executable.rb +2 -2
- data/lib/aruba/matchers/file/be_an_existing_file.rb +2 -2
- data/lib/aruba/matchers/file/have_file_content.rb +1 -1
- data/lib/aruba/matchers/file/have_file_size.rb +5 -3
- data/lib/aruba/matchers/file/have_same_file_content.rb +2 -2
- data/lib/aruba/matchers/path.rb +1 -1
- data/lib/aruba/matchers/path/a_path_matching_pattern.rb +1 -1
- data/lib/aruba/matchers/path/be_an_absolute_path.rb +1 -1
- data/lib/aruba/matchers/path/be_an_existing_path.rb +1 -1
- data/lib/aruba/matchers/path/have_permissions.rb +9 -6
- data/lib/aruba/matchers/string.rb +1 -1
- data/lib/aruba/matchers/string/include_output_string.rb +1 -1
- data/lib/aruba/matchers/string/match_output_string.rb +1 -1
- data/lib/aruba/matchers/string/output_string_eq.rb +1 -1
- data/lib/aruba/platform.rb +2 -2
- data/lib/aruba/platforms/announcer.rb +29 -17
- data/lib/aruba/platforms/aruba_file_creator.rb +3 -1
- data/lib/aruba/platforms/aruba_fixed_size_file_creator.rb +7 -2
- data/lib/aruba/platforms/aruba_logger.rb +11 -10
- data/lib/aruba/platforms/command_monitor.rb +7 -9
- data/lib/aruba/platforms/determine_disk_usage.rb +2 -4
- data/lib/aruba/platforms/filesystem_status.rb +20 -14
- data/lib/aruba/platforms/simple_table.rb +3 -3
- data/lib/aruba/platforms/unix_command_string.rb +2 -2
- data/lib/aruba/platforms/unix_environment_variables.rb +2 -4
- data/lib/aruba/platforms/unix_platform.rb +23 -23
- data/lib/aruba/platforms/unix_which.rb +2 -2
- data/lib/aruba/platforms/windows_command_string.rb +2 -2
- data/lib/aruba/platforms/windows_environment_variables.rb +3 -2
- data/lib/aruba/platforms/windows_platform.rb +7 -7
- data/lib/aruba/platforms/windows_which.rb +8 -4
- data/lib/aruba/processes/basic_process.rb +4 -4
- data/lib/aruba/processes/debug_process.rb +5 -3
- data/lib/aruba/processes/in_process.rb +10 -8
- data/lib/aruba/processes/spawn_process.rb +28 -25
- data/lib/aruba/rspec.rb +30 -20
- data/lib/aruba/runtime.rb +16 -9
- data/lib/aruba/setup.rb +25 -12
- data/lib/aruba/version.rb +1 -1
- metadata +77 -88
- 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 -31
- data/.rubocop_todo.yml +0 -262
- data/.simplecov +0 -36
- data/.travis.yml +0 -62
- data/.yardopts +0 -11
- data/Dockerfile +0 -67
- data/Gemfile +0 -12
- data/Rakefile +0 -80
- data/TODO.md +0 -13
- data/appveyor.yml +0 -29
- data/aruba.gemspec +0 -54
- 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 -25
- 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 -7
- 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 -25
- 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
- data/lib/aruba/extensions/string/strip.rb +0 -25
- data/lib/aruba/tasks/docker_helpers.rb +0 -154
data/lib/aruba/rspec.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require "rspec/core"
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
3
|
+
require "aruba"
|
4
|
+
require "aruba/api"
|
5
|
+
require "aruba/version"
|
6
6
|
|
7
7
|
RSpec.configure do |config|
|
8
8
|
config.include Aruba::Api, type: :aruba
|
@@ -13,11 +13,13 @@ RSpec.configure do |config|
|
|
13
13
|
setup_aruba
|
14
14
|
|
15
15
|
# Modify PATH to include project/bin
|
16
|
-
prepend_environment_variable
|
17
|
-
|
16
|
+
prepend_environment_variable(
|
17
|
+
"PATH",
|
18
|
+
aruba.config.command_search_paths.join(File::PATH_SEPARATOR) + File::PATH_SEPARATOR
|
19
|
+
)
|
18
20
|
|
19
21
|
# Use configured home directory as HOME
|
20
|
-
set_environment_variable
|
22
|
+
set_environment_variable "HOME", aruba.config.home_directory
|
21
23
|
end
|
22
24
|
|
23
25
|
example.run
|
@@ -47,19 +49,27 @@ RSpec.configure do |config|
|
|
47
49
|
config.before :each do |example|
|
48
50
|
next unless self.class.include?(Aruba::Api)
|
49
51
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
aruba.announcer.activate(:
|
58
|
-
aruba.announcer.activate(:
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
aruba.announcer.activate(:
|
52
|
+
if example.metadata[:announce_full_environment]
|
53
|
+
aruba.announcer.activate(:full_environment)
|
54
|
+
end
|
55
|
+
if example.metadata[:announce_changed_environment]
|
56
|
+
aruba.announcer.activate(:changed_environment)
|
57
|
+
end
|
58
|
+
|
59
|
+
aruba.announcer.activate(:command) if example.metadata[:announce_command]
|
60
|
+
aruba.announcer.activate(:directory) if example.metadata[:announce_directory]
|
61
|
+
if example.metadata[:announce_full_environment]
|
62
|
+
aruba.announcer.activate(:full_environment)
|
63
|
+
end
|
64
|
+
aruba.announcer.activate(:stderr) if example.metadata[:announce_stderr]
|
65
|
+
aruba.announcer.activate(:stdout) if example.metadata[:announce_stdout]
|
66
|
+
aruba.announcer.activate(:stop_signal) if example.metadata[:announce_stop_signal]
|
67
|
+
aruba.announcer.activate(:timeout) if example.metadata[:announce_timeout]
|
68
|
+
aruba.announcer.activate(:wait_time) if example.metadata[:announce_wait_time]
|
69
|
+
aruba.announcer.activate(:command_content) if example.metadata[:announce_command_content]
|
70
|
+
if example.metadata[:announce_command_filesystem_status]
|
71
|
+
aruba.announcer.activate(:command_filesystem_status)
|
72
|
+
end
|
63
73
|
|
64
74
|
if example.metadata[:announce_output]
|
65
75
|
aruba.announcer.activate(:stderr)
|
data/lib/aruba/runtime.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
1
|
+
require "aruba/configuration"
|
2
|
+
require "aruba/aruba_path"
|
3
|
+
require "aruba/config_wrapper"
|
4
|
+
require "aruba/events"
|
5
|
+
require "aruba/event_bus"
|
6
6
|
|
7
7
|
module Aruba
|
8
8
|
# Runtime of aruba
|
@@ -42,14 +42,16 @@ module Aruba
|
|
42
42
|
def initialize(opts = {})
|
43
43
|
@event_bus = EventBus.new(EventBus::NameResolver.new(Aruba::Events))
|
44
44
|
@announcer = opts.fetch(:announcer, Aruba.platform.announcer.new)
|
45
|
-
@config = opts.fetch(:config,
|
45
|
+
@config = opts.fetch(:config,
|
46
|
+
ConfigWrapper.new(Aruba.config.make_copy, @event_bus))
|
46
47
|
@environment = opts.fetch(:environment, Aruba.platform.environment_variables.new)
|
47
48
|
@current_directory = ArubaPath.new(@config.working_directory)
|
48
49
|
@root_directory = ArubaPath.new(@config.root_directory)
|
49
50
|
|
50
51
|
@environment.update(@config.command_runtime_environment)
|
51
52
|
|
52
|
-
@command_monitor = opts.fetch(:command_monitor,
|
53
|
+
@command_monitor = opts.fetch(:command_monitor,
|
54
|
+
Aruba.platform.command_monitor.new(announcer: @announcer))
|
53
55
|
|
54
56
|
@logger = opts.fetch(:logger, Aruba.platform.logger.new)
|
55
57
|
@logger.mode = @config.log_level
|
@@ -81,12 +83,17 @@ module Aruba
|
|
81
83
|
candidates = config.fixtures_directories.map { |dir| File.join(root_directory, dir) }
|
82
84
|
directory = candidates.find { |d| Aruba.platform.directory? d }
|
83
85
|
|
84
|
-
|
86
|
+
unless directory
|
87
|
+
canditates_display = candidates.map { |d| format('"%s"', d) }.join(", ")
|
88
|
+
raise "No existing fixtures directory found in #{canditates_display}."
|
89
|
+
end
|
85
90
|
|
86
91
|
directory
|
87
92
|
end
|
88
93
|
|
89
|
-
|
94
|
+
unless Aruba.platform.directory?(@fixtures_directory)
|
95
|
+
raise %(Fixtures directory "#{@fixtures_directory}" is not a directory)
|
96
|
+
end
|
90
97
|
|
91
98
|
ArubaPath.new(@fixtures_directory)
|
92
99
|
end
|
data/lib/aruba/setup.rb
CHANGED
@@ -25,21 +25,24 @@ module Aruba
|
|
25
25
|
|
26
26
|
def working_directory(clobber = true)
|
27
27
|
if clobber
|
28
|
-
Aruba.platform.rm File.join(runtime.config.root_directory,
|
28
|
+
Aruba.platform.rm File.join(runtime.config.root_directory,
|
29
|
+
runtime.config.working_directory),
|
30
|
+
force: true
|
29
31
|
end
|
30
|
-
Aruba.platform.mkdir File.join(runtime.config.root_directory,
|
32
|
+
Aruba.platform.mkdir File.join(runtime.config.root_directory,
|
33
|
+
runtime.config.working_directory)
|
31
34
|
Aruba.platform.chdir runtime.config.root_directory
|
32
35
|
end
|
33
36
|
|
34
|
-
# rubocop:disable Metrics/MethodLength
|
35
37
|
def events
|
36
38
|
runtime.event_bus.register(
|
37
39
|
:command_started,
|
38
40
|
proc do |event|
|
39
41
|
runtime.announcer.announce(:command) { event.entity.commandline }
|
40
|
-
runtime.announcer.announce(:timeout,
|
41
|
-
runtime.announcer.announce(:timeout,
|
42
|
-
runtime.announcer
|
42
|
+
runtime.announcer.announce(:timeout, "exit") { event.entity.exit_timeout }
|
43
|
+
runtime.announcer.announce(:timeout, "io wait") { event.entity.io_wait_timeout }
|
44
|
+
runtime.announcer
|
45
|
+
.announce(:wait_time, "startup wait time") { event.entity.startup_wait_time }
|
43
46
|
runtime.announcer.announce(:full_environment) { event.entity.environment }
|
44
47
|
end
|
45
48
|
)
|
@@ -58,7 +61,8 @@ module Aruba
|
|
58
61
|
runtime.announcer.announce(:stdout) { event.entity.stdout }
|
59
62
|
runtime.announcer.announce(:stderr) { event.entity.stderr }
|
60
63
|
runtime.announcer.announce(:command_content) { event.entity.content }
|
61
|
-
runtime.announcer
|
64
|
+
runtime.announcer
|
65
|
+
.announce(:command_filesystem_status) { event.entity.filesystem_status }
|
62
66
|
end
|
63
67
|
)
|
64
68
|
|
@@ -70,10 +74,16 @@ module Aruba
|
|
70
74
|
)
|
71
75
|
|
72
76
|
runtime.event_bus.register(
|
73
|
-
[:changed_environment_variable,
|
77
|
+
[:changed_environment_variable,
|
78
|
+
:added_environment_variable,
|
79
|
+
:deleted_environment_variable],
|
74
80
|
proc do |event|
|
75
|
-
runtime.announcer.announce :changed_environment,
|
76
|
-
|
81
|
+
runtime.announcer.announce :changed_environment,
|
82
|
+
event.entity[:changed][:name],
|
83
|
+
event.entity[:changed][:value]
|
84
|
+
runtime.announcer.announce :environment,
|
85
|
+
event.entity[:changed][:name],
|
86
|
+
event.entity[:changed][:value]
|
77
87
|
end
|
78
88
|
)
|
79
89
|
|
@@ -84,9 +94,12 @@ module Aruba
|
|
84
94
|
|
85
95
|
runtime.event_bus.register(
|
86
96
|
:changed_configuration,
|
87
|
-
proc { |event|
|
97
|
+
proc { |event|
|
98
|
+
runtime.announcer.announce :configuration,
|
99
|
+
event.entity[:changed][:name],
|
100
|
+
event.entity[:changed][:value]
|
101
|
+
}
|
88
102
|
)
|
89
103
|
end
|
90
|
-
# rubocop:enable Metrics/MethodLength
|
91
104
|
end
|
92
105
|
end
|
data/lib/aruba/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aruba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
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:
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '5.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.0'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
32
|
+
version: '5.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: contracts
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,7 +53,7 @@ dependencies:
|
|
47
53
|
version: '2.4'
|
48
54
|
- - "<"
|
49
55
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
56
|
+
version: '7.0'
|
51
57
|
type: :runtime
|
52
58
|
prerelease: false
|
53
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,21 +63,7 @@ dependencies:
|
|
57
63
|
version: '2.4'
|
58
64
|
- - "<"
|
59
65
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: ffi
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '1.9'
|
68
|
-
type: :runtime
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '1.9'
|
66
|
+
version: '7.0'
|
75
67
|
- !ruby/object:Gem::Dependency
|
76
68
|
name: rspec-expectations
|
77
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,19 +107,19 @@ dependencies:
|
|
115
107
|
- !ruby/object:Gem::Version
|
116
108
|
version: '2.1'
|
117
109
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
110
|
+
name: kramdown
|
119
111
|
requirement: !ruby/object:Gem::Requirement
|
120
112
|
requirements:
|
121
113
|
- - "~>"
|
122
114
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
115
|
+
version: '2.1'
|
124
116
|
type: :development
|
125
117
|
prerelease: false
|
126
118
|
version_requirements: !ruby/object:Gem::Requirement
|
127
119
|
requirements:
|
128
120
|
- - "~>"
|
129
121
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
122
|
+
version: '2.1'
|
131
123
|
- !ruby/object:Gem::Dependency
|
132
124
|
name: minitest
|
133
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,62 +162,110 @@ dependencies:
|
|
170
162
|
- - "~>"
|
171
163
|
- !ruby/object:Gem::Version
|
172
164
|
version: '13.0'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: rake-manifest
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 0.2.0
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 0.2.0
|
173
179
|
- !ruby/object:Gem::Dependency
|
174
180
|
name: rspec
|
175
181
|
requirement: !ruby/object:Gem::Requirement
|
176
182
|
requirements:
|
177
183
|
- - "~>"
|
178
184
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
185
|
+
version: 3.10.0
|
180
186
|
type: :development
|
181
187
|
prerelease: false
|
182
188
|
version_requirements: !ruby/object:Gem::Requirement
|
183
189
|
requirements:
|
184
190
|
- - "~>"
|
185
191
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
192
|
+
version: 3.10.0
|
187
193
|
- !ruby/object:Gem::Dependency
|
188
194
|
name: rubocop
|
189
195
|
requirement: !ruby/object:Gem::Requirement
|
190
196
|
requirements:
|
191
197
|
- - "~>"
|
192
198
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
199
|
+
version: 1.12.0
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 1.12.0
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: rubocop-packaging
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: 0.5.0
|
194
214
|
type: :development
|
195
215
|
prerelease: false
|
196
216
|
version_requirements: !ruby/object:Gem::Requirement
|
197
217
|
requirements:
|
198
218
|
- - "~>"
|
199
219
|
- !ruby/object:Gem::Version
|
200
|
-
version: 0.
|
220
|
+
version: 0.5.0
|
201
221
|
- !ruby/object:Gem::Dependency
|
202
222
|
name: rubocop-performance
|
203
223
|
requirement: !ruby/object:Gem::Requirement
|
204
224
|
requirements:
|
205
225
|
- - "~>"
|
206
226
|
- !ruby/object:Gem::Version
|
207
|
-
version:
|
227
|
+
version: 1.10.1
|
208
228
|
type: :development
|
209
229
|
prerelease: false
|
210
230
|
version_requirements: !ruby/object:Gem::Requirement
|
211
231
|
requirements:
|
212
232
|
- - "~>"
|
213
233
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
234
|
+
version: 1.10.1
|
215
235
|
- !ruby/object:Gem::Dependency
|
216
|
-
name:
|
236
|
+
name: rubocop-rspec
|
217
237
|
requirement: !ruby/object:Gem::Requirement
|
218
238
|
requirements:
|
219
239
|
- - "~>"
|
220
240
|
- !ruby/object:Gem::Version
|
221
|
-
version:
|
241
|
+
version: 2.2.0
|
222
242
|
type: :development
|
223
243
|
prerelease: false
|
224
244
|
version_requirements: !ruby/object:Gem::Requirement
|
225
245
|
requirements:
|
226
246
|
- - "~>"
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: 2.2.0
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: simplecov
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - ">="
|
227
254
|
- !ruby/object:Gem::Version
|
228
255
|
version: 0.18.0
|
256
|
+
- - "<"
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: 0.22.0
|
259
|
+
type: :development
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - ">="
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: 0.18.0
|
266
|
+
- - "<"
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: 0.22.0
|
229
269
|
- !ruby/object:Gem::Dependency
|
230
270
|
name: yard-junk
|
231
271
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,9 +280,9 @@ dependencies:
|
|
240
280
|
- - "~>"
|
241
281
|
- !ruby/object:Gem::Version
|
242
282
|
version: 0.0.7
|
243
|
-
description:
|
283
|
+
description: |
|
244
284
|
Extension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest",
|
245
|
-
to make testing
|
285
|
+
to make testing command line applications meaningful, easy and fun.
|
246
286
|
email: cukes@googlegroups.com
|
247
287
|
executables:
|
248
288
|
- aruba
|
@@ -253,60 +293,11 @@ extra_rdoc_files:
|
|
253
293
|
- README.md
|
254
294
|
- LICENSE
|
255
295
|
files:
|
256
|
-
- ".cucumberproignore"
|
257
|
-
- ".document"
|
258
|
-
- ".github/ISSUE_TEMPLATE.md"
|
259
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
260
|
-
- ".gitignore"
|
261
|
-
- ".rspec"
|
262
|
-
- ".rubocop.yml"
|
263
|
-
- ".rubocop_todo.yml"
|
264
|
-
- ".simplecov"
|
265
|
-
- ".travis.yml"
|
266
|
-
- ".yardopts"
|
267
296
|
- CHANGELOG.md
|
268
297
|
- CONTRIBUTING.md
|
269
|
-
- Dockerfile
|
270
|
-
- Gemfile
|
271
298
|
- LICENSE
|
272
299
|
- README.md
|
273
|
-
- Rakefile
|
274
|
-
- TODO.md
|
275
|
-
- appveyor.yml
|
276
|
-
- aruba.gemspec
|
277
|
-
- bin/console
|
278
|
-
- bin/test
|
279
|
-
- config/.gitignore
|
280
|
-
- cucumber.yml
|
281
|
-
- doc/dependency_decisions.yml
|
282
|
-
- docker-compose.yml
|
283
300
|
- exe/aruba
|
284
|
-
- fixtures/cli-app/.gitignore
|
285
|
-
- fixtures/cli-app/.rspec
|
286
|
-
- fixtures/cli-app/README.md
|
287
|
-
- fixtures/cli-app/Rakefile
|
288
|
-
- fixtures/cli-app/bin/aruba-test-cli
|
289
|
-
- fixtures/cli-app/cli-app.gemspec
|
290
|
-
- fixtures/cli-app/features/support/aruba.rb
|
291
|
-
- fixtures/cli-app/features/support/env.rb
|
292
|
-
- fixtures/cli-app/lib/cli/app.rb
|
293
|
-
- fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb
|
294
|
-
- fixtures/cli-app/lib/cli/app/version.rb
|
295
|
-
- fixtures/cli-app/script/console
|
296
|
-
- fixtures/cli-app/spec/spec_helper.rb
|
297
|
-
- fixtures/cli-app/spec/support/aruba.rb
|
298
|
-
- fixtures/copy/file.txt
|
299
|
-
- fixtures/empty-app/.gitignore
|
300
|
-
- fixtures/empty-app/.rspec
|
301
|
-
- fixtures/empty-app/README.md
|
302
|
-
- fixtures/empty-app/Rakefile
|
303
|
-
- fixtures/empty-app/cli-app.gemspec
|
304
|
-
- fixtures/empty-app/lib/cli/app.rb
|
305
|
-
- fixtures/empty-app/lib/cli/app/version.rb
|
306
|
-
- fixtures/getting-started-app/.gitignore
|
307
|
-
- fixtures/getting-started-app/Gemfile
|
308
|
-
- fixtures/getting-started-app/README.md
|
309
|
-
- fixtures/getting-started-app/features/support/env.rb
|
310
301
|
- lib/aruba.rb
|
311
302
|
- lib/aruba/api.rb
|
312
303
|
- lib/aruba/api/bundler.rb
|
@@ -340,7 +331,6 @@ files:
|
|
340
331
|
- lib/aruba/event_bus.rb
|
341
332
|
- lib/aruba/event_bus/name_resolver.rb
|
342
333
|
- lib/aruba/events.rb
|
343
|
-
- lib/aruba/extensions/string/strip.rb
|
344
334
|
- lib/aruba/file_size.rb
|
345
335
|
- lib/aruba/generators/script_file.rb
|
346
336
|
- lib/aruba/hooks.rb
|
@@ -406,7 +396,6 @@ files:
|
|
406
396
|
- lib/aruba/rspec.rb
|
407
397
|
- lib/aruba/runtime.rb
|
408
398
|
- lib/aruba/setup.rb
|
409
|
-
- lib/aruba/tasks/docker_helpers.rb
|
410
399
|
- lib/aruba/version.rb
|
411
400
|
homepage: https://github.com/cucumber/aruba
|
412
401
|
licenses:
|
@@ -436,8 +425,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
436
425
|
- !ruby/object:Gem::Version
|
437
426
|
version: '0'
|
438
427
|
requirements: []
|
439
|
-
rubygems_version: 3.
|
428
|
+
rubygems_version: 3.2.3
|
440
429
|
signing_key:
|
441
430
|
specification_version: 4
|
442
|
-
summary: aruba-1.
|
431
|
+
summary: aruba-1.1.0
|
443
432
|
test_files: []
|