aruba 1.0.0.pre.alpha.2 → 1.0.0.pre.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/PULL_REQUEST_TEMPLATE.md +2 -1
- data/.rubocop.yml +6 -181
- data/.rubocop_todo.yml +364 -0
- data/.travis.yml +63 -34
- data/.yardopts +3 -0
- data/CHANGELOG.md +1121 -0
- data/CONTRIBUTING.md +179 -78
- data/Gemfile +29 -44
- data/README.md +41 -11
- data/Rakefile +35 -35
- data/appveyor.yml +6 -5
- data/aruba.gemspec +14 -16
- data/bin/console +2 -11
- data/cucumber.yml +0 -7
- data/fixtures/cli-app/README.md +1 -1
- data/fixtures/cli-app/Rakefile +1 -1
- data/fixtures/cli-app/cli-app.gemspec +1 -0
- data/fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb +3 -3
- data/fixtures/cli-app/lib/cli/app/version.rb +1 -1
- data/fixtures/empty-app/Rakefile +1 -1
- data/fixtures/empty-app/cli-app.gemspec +1 -0
- data/fixtures/empty-app/lib/cli/app/version.rb +1 -1
- data/fixtures/getting-started-app/Gemfile +1 -1
- data/lib/aruba/api.rb +3 -10
- data/lib/aruba/api/bundler.rb +16 -0
- data/lib/aruba/api/commands.rb +249 -0
- data/lib/aruba/api/core.rb +24 -10
- data/lib/aruba/api/environment.rb +12 -7
- data/lib/aruba/api/filesystem.rb +22 -20
- data/lib/aruba/api/text.rb +3 -9
- data/lib/aruba/aruba_path.rb +3 -18
- data/lib/aruba/basic_configuration.rb +3 -19
- data/lib/aruba/cli.rb +1 -1
- data/lib/aruba/colorizer.rb +33 -33
- data/lib/aruba/command.rb +4 -0
- data/lib/aruba/config_wrapper.rb +1 -1
- data/lib/aruba/configuration.rb +78 -0
- data/lib/aruba/console.rb +5 -5
- data/lib/aruba/console/help.rb +1 -1
- data/lib/aruba/cucumber.rb +0 -1
- data/lib/aruba/cucumber/command.rb +55 -115
- data/lib/aruba/cucumber/environment.rb +1 -1
- data/lib/aruba/cucumber/file.rb +9 -21
- data/lib/aruba/cucumber/hooks.rb +6 -62
- data/lib/aruba/event_bus/name_resolver.rb +1 -2
- data/lib/aruba/hooks.rb +1 -1
- data/lib/aruba/initializer.rb +3 -3
- data/lib/aruba/matchers/base/base_matcher.rb +2 -2
- data/lib/aruba/matchers/base/message_indenter.rb +19 -0
- data/lib/aruba/matchers/base/object_formatter.rb +2 -2
- data/lib/aruba/matchers/collection/include_an_object.rb +7 -9
- data/lib/aruba/matchers/command/be_successfully_executed.rb +2 -4
- data/lib/aruba/matchers/command/have_exit_status.rb +1 -1
- data/lib/aruba/matchers/command/have_finished_in_time.rb +2 -4
- data/lib/aruba/matchers/command/have_output.rb +9 -4
- data/lib/aruba/matchers/command/have_output_on_stderr.rb +1 -1
- data/lib/aruba/matchers/command/have_output_on_stdout.rb +1 -1
- data/lib/aruba/matchers/command/have_output_size.rb +1 -1
- data/lib/aruba/matchers/directory/be_an_existing_directory.rb +4 -6
- data/lib/aruba/matchers/directory/have_sub_directory.rb +4 -6
- data/lib/aruba/matchers/file/be_a_command_found_in_path.rb +2 -4
- data/lib/aruba/matchers/file/be_an_existing_executable.rb +4 -6
- data/lib/aruba/matchers/file/be_an_existing_file.rb +4 -6
- data/lib/aruba/matchers/file/have_file_content.rb +4 -4
- data/lib/aruba/matchers/file/have_file_size.rb +6 -8
- data/lib/aruba/matchers/file/have_same_file_content.rb +9 -12
- data/lib/aruba/matchers/path/a_path_matching_pattern.rb +2 -4
- data/lib/aruba/matchers/path/be_an_absolute_path.rb +3 -5
- data/lib/aruba/matchers/path/be_an_existing_path.rb +4 -6
- data/lib/aruba/matchers/path/have_permissions.rb +6 -8
- data/lib/aruba/matchers/string/include_output_string.rb +8 -10
- data/lib/aruba/matchers/string/match_output_string.rb +9 -11
- data/lib/aruba/matchers/string/output_string_eq.rb +7 -9
- data/lib/aruba/platform.rb +0 -1
- data/lib/aruba/platforms/announcer.rb +26 -70
- data/lib/aruba/platforms/aruba_file_creator.rb +1 -1
- data/lib/aruba/platforms/aruba_fixed_size_file_creator.rb +2 -2
- data/lib/aruba/platforms/aruba_logger.rb +22 -2
- data/lib/aruba/platforms/command_monitor.rb +2 -125
- data/lib/aruba/platforms/filesystem_status.rb +9 -9
- data/lib/aruba/platforms/local_environment.rb +2 -2
- data/lib/aruba/platforms/simple_table.rb +3 -3
- data/lib/aruba/platforms/unix_command_string.rb +7 -4
- data/lib/aruba/platforms/unix_environment_variables.rb +9 -13
- data/lib/aruba/platforms/unix_platform.rb +2 -27
- data/lib/aruba/platforms/unix_which.rb +2 -1
- data/lib/aruba/platforms/windows_command_string.rb +20 -7
- data/lib/aruba/platforms/windows_environment_variables.rb +35 -30
- data/lib/aruba/platforms/windows_which.rb +4 -3
- data/lib/aruba/processes/basic_process.rb +11 -15
- data/lib/aruba/processes/debug_process.rb +5 -0
- data/lib/aruba/processes/in_process.rb +17 -8
- data/lib/aruba/processes/spawn_process.rb +35 -23
- data/lib/aruba/rspec.rb +9 -22
- data/lib/aruba/runtime.rb +7 -5
- data/lib/aruba/setup.rb +6 -4
- data/lib/aruba/tasks/docker_helpers.rb +1 -1
- data/lib/aruba/version.rb +1 -1
- metadata +37 -57
- data/History.md +0 -612
- data/bin/bootstrap +0 -34
- data/fixtures/spawn_process/stderr.sh +0 -3
- data/lib/aruba/api/command.rb +0 -309
- data/lib/aruba/api/deprecated.rb +0 -895
- data/lib/aruba/api/rvm.rb +0 -44
- data/lib/aruba/config.rb +0 -101
- data/lib/aruba/cucumber/rvm.rb +0 -3
- data/lib/aruba/in_process.rb +0 -14
- data/lib/aruba/jruby.rb +0 -4
- data/lib/aruba/matchers/path/match_path_pattern.rb +0 -41
- data/lib/aruba/matchers/rspec_matcher_include_regexp.rb +0 -25
- data/lib/aruba/spawn_process.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: edbb16f00c301a3cb9b030dcabe626cd35e3bfebdd8e76efc47ccb78963b632c
|
4
|
+
data.tar.gz: 3cfea7febab3db1a8943a6a25c6724a5fcd51db9916a9426619767b4260479d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31f78dc5373408128c519af63839ed5e85a0fe4d749fc475b96aa36803ec98b5d04b072c69df39ac7fc25ee47a4189e22a6e6943f3df94d9c2e2de7cd831e177
|
7
|
+
data.tar.gz: e6342327449b14d5a91a96fb5df785e911a451b17d6745c4e7986ad3ea79bd4c36a7c48a10020255e8afb2855ccb1df04277ef44c266223c68b2ebf5f3af8a89
|
@@ -29,7 +29,8 @@
|
|
29
29
|
- [ ] Bug fix (non-breaking change which fixes an issue)
|
30
30
|
- [ ] New feature (non-breaking change which adds functionality)
|
31
31
|
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
|
32
|
-
- [ ] Refactoring (cleanup of codebase
|
32
|
+
- [ ] Refactoring (cleanup of codebase without changing any existing functionality)
|
33
|
+
- [ ] Update documentation
|
33
34
|
|
34
35
|
## Checklist:
|
35
36
|
|
data/.rubocop.yml
CHANGED
@@ -1,188 +1,13 @@
|
|
1
1
|
AllCops:
|
2
2
|
Exclude:
|
3
3
|
- tmp/**/*
|
4
|
+
- vendor/**/*
|
4
5
|
DisplayCopNames: true
|
5
|
-
|
6
|
-
# Configuration parameters: SupportedStyles.
|
7
|
-
Style/HashSyntax:
|
8
|
-
Enabled: false
|
6
|
+
TargetRubyVersion: 2.2
|
9
7
|
|
10
|
-
|
11
|
-
Exclude:
|
12
|
-
- lib/aruba/api.rb
|
13
|
-
- lib/aruba/api/*.rb
|
14
|
-
- lib/aruba/platform.rb
|
15
|
-
|
16
|
-
Metrics/AbcSize:
|
17
|
-
Enabled: false
|
18
|
-
|
19
|
-
Lint/AmbiguousRegexpLiteral:
|
20
|
-
Enabled: false
|
21
|
-
|
22
|
-
# Cop supports --auto-correct.
|
23
|
-
Lint/RescueException:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
# Cop supports --auto-correct.
|
27
|
-
Lint/UnusedBlockArgument:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
# Cop supports --auto-correct.
|
31
|
-
Lint/UnusedMethodArgument:
|
32
|
-
Enabled: false
|
33
|
-
|
34
|
-
Lint/UselessAssignment:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
# Configuration parameters: AllowURI.
|
38
|
-
Metrics/LineLength:
|
39
|
-
Max: 169
|
40
|
-
Exclude:
|
41
|
-
- lib/aruba/api.rb
|
42
|
-
- lib/aruba/api/deprecated.rb
|
43
|
-
- aruba.gemspec
|
44
|
-
|
45
|
-
# Configuration parameters: CountComments.
|
46
|
-
Metrics/MethodLength:
|
47
|
-
Max: 18
|
48
|
-
|
49
|
-
# Cop supports --auto-correct.
|
50
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
51
|
-
Style/AlignParameters:
|
52
|
-
Enabled: false
|
53
|
-
|
54
|
-
Style/CaseEquality:
|
55
|
-
Enabled: false
|
56
|
-
|
57
|
-
# Cop supports --auto-correct.
|
58
|
-
Style/CharacterLiteral:
|
59
|
-
Enabled: false
|
60
|
-
|
61
|
-
# Cop supports --auto-correct.
|
62
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
63
|
-
Style/ClassCheck:
|
64
|
-
Enabled: false
|
65
|
-
|
66
|
-
Style/ClassVars:
|
67
|
-
Enabled: false
|
68
|
-
|
69
|
-
Metrics/ClassLength:
|
70
|
-
Enabled: false
|
71
|
-
|
72
|
-
# Cop supports --auto-correct.
|
73
|
-
# Configuration parameters: PreferredMethods.
|
74
|
-
Style/CollectionMethods:
|
75
|
-
Enabled: false
|
76
|
-
|
77
|
-
Style/Documentation:
|
78
|
-
Enabled: false
|
79
|
-
|
80
|
-
# Configuration parameters: MinBodyLength.
|
81
|
-
Style/GuardClause:
|
82
|
-
Enabled: false
|
83
|
-
|
84
|
-
# Configuration parameters: MaxLineLength.
|
85
|
-
Style/IfUnlessModifier:
|
86
|
-
Enabled: false
|
87
|
-
|
88
|
-
Style/Lambda:
|
89
|
-
Enabled: false
|
90
|
-
|
91
|
-
# Cop supports --auto-correct.
|
92
|
-
Style/LeadingCommentSpace:
|
93
|
-
Enabled: false
|
94
|
-
|
95
|
-
# Cop supports --auto-correct.
|
96
|
-
# Configuration parameters: PreferredDelimiters.
|
8
|
+
# Use older RuboCop default
|
97
9
|
Style/PercentLiteralDelimiters:
|
98
|
-
|
99
|
-
|
100
|
-
Metrics/PerceivedComplexity:
|
101
|
-
Enabled: false
|
102
|
-
|
103
|
-
# Configuration parameters: SupportedStyles.
|
104
|
-
Style/RaiseArgs:
|
105
|
-
# EnforcedStyle: compact
|
106
|
-
Enabled: false
|
107
|
-
|
108
|
-
# Cop supports --auto-correct.
|
109
|
-
Style/RedundantSelf:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
# Configuration parameters: MaxSlashes.
|
113
|
-
Style/RegexpLiteral:
|
114
|
-
Enabled: false
|
115
|
-
|
116
|
-
# Cop supports --auto-correct.
|
117
|
-
# Configuration parameters: AllowAsExpressionSeparator.
|
118
|
-
Style/Semicolon:
|
119
|
-
Enabled: false
|
120
|
-
|
121
|
-
# Cop supports --auto-correct.
|
122
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
123
|
-
Style/SignalException:
|
124
|
-
Enabled: false
|
125
|
-
|
126
|
-
# Configuration parameters: Methods.
|
127
|
-
Style/SingleLineBlockParams:
|
128
|
-
Enabled: false
|
129
|
-
|
130
|
-
# Cop supports --auto-correct.
|
131
|
-
Style/SpaceBeforeFirstArg:
|
132
|
-
Enabled: false
|
133
|
-
|
134
|
-
# Cop supports --auto-correct.
|
135
|
-
Style/SpaceAfterComma:
|
136
|
-
Enabled: false
|
137
|
-
|
138
|
-
# Cop supports --auto-correct.
|
139
|
-
Style/SpaceAroundKeyword:
|
140
|
-
Enabled: false
|
141
|
-
|
142
|
-
# Cop supports --auto-correct.
|
143
|
-
Style/SpaceAfterNot:
|
144
|
-
Enabled: false
|
145
|
-
|
146
|
-
# Cop supports --auto-correct.
|
147
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
148
|
-
Style/SpaceBeforeBlockBraces:
|
149
|
-
Enabled: false
|
150
|
-
|
151
|
-
# Cop supports --auto-correct.
|
152
|
-
Style/SpaceBeforeComma:
|
153
|
-
Enabled: false
|
154
|
-
|
155
|
-
# Cop supports --auto-correct.
|
156
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
157
|
-
Style/SpaceInsideBlockBraces:
|
158
|
-
Enabled: false
|
159
|
-
|
160
|
-
# Cop supports --auto-correct.
|
161
|
-
Style/SpaceInsideBrackets:
|
162
|
-
Enabled: false
|
163
|
-
|
164
|
-
# Cop supports --auto-correct.
|
165
|
-
Style/SpaceInsideParens:
|
166
|
-
Enabled: false
|
167
|
-
|
168
|
-
# Cop supports --auto-correct.
|
169
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
170
|
-
Style/StringLiterals:
|
171
|
-
Enabled: false
|
172
|
-
|
173
|
-
# Cop supports --auto-correct.
|
174
|
-
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
|
175
|
-
Style/TrivialAccessors:
|
176
|
-
Enabled: false
|
177
|
-
|
178
|
-
Style/RaiseArgs:
|
179
|
-
Enabled: false
|
180
|
-
|
181
|
-
Metrics/ParameterLists:
|
182
|
-
Enabled: false
|
183
|
-
|
184
|
-
Style/IfInsideElse:
|
185
|
-
Enabled: false
|
10
|
+
PreferredDelimiters:
|
11
|
+
'%w': ()
|
186
12
|
|
187
|
-
|
188
|
-
Enabled: false
|
13
|
+
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,364 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2019-05-06 11:32:53 +0200 using RuboCop version 0.66.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 5
|
10
|
+
# Configuration parameters: Include.
|
11
|
+
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
12
|
+
Bundler/DuplicatedGem:
|
13
|
+
Exclude:
|
14
|
+
- 'Gemfile'
|
15
|
+
|
16
|
+
# Offense count: 2
|
17
|
+
# Cop supports --auto-correct.
|
18
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
19
|
+
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
20
|
+
Layout/AlignParameters:
|
21
|
+
Exclude:
|
22
|
+
- 'lib/aruba/api/commands.rb'
|
23
|
+
- 'lib/aruba/processes/basic_process.rb'
|
24
|
+
|
25
|
+
# Offense count: 5
|
26
|
+
# Cop supports --auto-correct.
|
27
|
+
Layout/ClosingHeredocIndentation:
|
28
|
+
Exclude:
|
29
|
+
- 'lib/aruba/initializer.rb'
|
30
|
+
|
31
|
+
# Offense count: 3
|
32
|
+
# Cop supports --auto-correct.
|
33
|
+
# Configuration parameters: EnforcedStyle.
|
34
|
+
# SupportedStyles: leading, trailing
|
35
|
+
Layout/DotPosition:
|
36
|
+
Exclude:
|
37
|
+
- 'spec/aruba/matchers/collection_spec.rb'
|
38
|
+
|
39
|
+
# Offense count: 5
|
40
|
+
# Cop supports --auto-correct.
|
41
|
+
# Configuration parameters: EnforcedStyle.
|
42
|
+
# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
|
43
|
+
Layout/IndentHeredoc:
|
44
|
+
Exclude:
|
45
|
+
- 'lib/aruba/initializer.rb'
|
46
|
+
|
47
|
+
# Offense count: 7
|
48
|
+
Lint/AmbiguousBlockAssociation:
|
49
|
+
Exclude:
|
50
|
+
- 'lib/aruba/platforms/announcer.rb'
|
51
|
+
|
52
|
+
# Offense count: 6
|
53
|
+
Lint/AmbiguousRegexpLiteral:
|
54
|
+
Exclude:
|
55
|
+
- 'lib/aruba/cucumber/testing_frameworks.rb'
|
56
|
+
|
57
|
+
# Offense count: 2
|
58
|
+
# Configuration parameters: MaximumRangeSize.
|
59
|
+
Lint/MissingCopEnableDirective:
|
60
|
+
Exclude:
|
61
|
+
- 'lib/aruba/configuration.rb'
|
62
|
+
- 'lib/aruba/processes/spawn_process.rb'
|
63
|
+
|
64
|
+
# Offense count: 1
|
65
|
+
Lint/UselessAssignment:
|
66
|
+
Exclude:
|
67
|
+
- 'lib/aruba/platforms/unix_environment_variables.rb'
|
68
|
+
|
69
|
+
# Offense count: 2
|
70
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
71
|
+
Lint/Void:
|
72
|
+
Exclude:
|
73
|
+
- 'lib/aruba/platforms/announcer.rb'
|
74
|
+
- 'lib/aruba/platforms/unix_environment_variables.rb'
|
75
|
+
|
76
|
+
# Offense count: 28
|
77
|
+
Metrics/AbcSize:
|
78
|
+
Max: 116
|
79
|
+
|
80
|
+
# Offense count: 69
|
81
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
82
|
+
# ExcludedMethods: refine
|
83
|
+
Metrics/BlockLength:
|
84
|
+
Max: 585
|
85
|
+
|
86
|
+
# Offense count: 2
|
87
|
+
# Configuration parameters: CountComments.
|
88
|
+
Metrics/ClassLength:
|
89
|
+
Max: 131
|
90
|
+
|
91
|
+
# Offense count: 19
|
92
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
93
|
+
Metrics/MethodLength:
|
94
|
+
Max: 18
|
95
|
+
|
96
|
+
# Offense count: 2
|
97
|
+
# Configuration parameters: CountComments.
|
98
|
+
Metrics/ModuleLength:
|
99
|
+
Max: 167
|
100
|
+
|
101
|
+
# Offense count: 3
|
102
|
+
# Configuration parameters: CountKeywordArgs.
|
103
|
+
Metrics/ParameterLists:
|
104
|
+
Max: 8
|
105
|
+
|
106
|
+
# Offense count: 4
|
107
|
+
Metrics/PerceivedComplexity:
|
108
|
+
Max: 10
|
109
|
+
|
110
|
+
# Offense count: 1
|
111
|
+
Naming/ConstantName:
|
112
|
+
Exclude:
|
113
|
+
- 'lib/aruba/platform.rb'
|
114
|
+
|
115
|
+
# Offense count: 8
|
116
|
+
# Configuration parameters: Blacklist.
|
117
|
+
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
118
|
+
Naming/HeredocDelimiterNaming:
|
119
|
+
Exclude:
|
120
|
+
- 'lib/aruba/initializer.rb'
|
121
|
+
- 'spec/aruba/matchers/command_spec.rb'
|
122
|
+
|
123
|
+
# Offense count: 1
|
124
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
125
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
126
|
+
Naming/MemoizedInstanceVariableName:
|
127
|
+
Exclude:
|
128
|
+
- 'lib/aruba/api/core.rb'
|
129
|
+
|
130
|
+
# Offense count: 18
|
131
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
132
|
+
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
133
|
+
Naming/UncommunicativeMethodParamName:
|
134
|
+
Exclude:
|
135
|
+
- 'lib/aruba/aruba_path.rb'
|
136
|
+
- 'lib/aruba/config_wrapper.rb'
|
137
|
+
- 'lib/aruba/event_bus/name_resolver.rb'
|
138
|
+
- 'lib/aruba/matchers/base/object_formatter.rb'
|
139
|
+
- 'lib/aruba/platforms/announcer.rb'
|
140
|
+
- 'lib/aruba/platforms/aruba_logger.rb'
|
141
|
+
- 'lib/aruba/platforms/unix_platform.rb'
|
142
|
+
- 'lib/aruba/tasks/docker_helpers.rb'
|
143
|
+
|
144
|
+
# Offense count: 1
|
145
|
+
Performance/Caller:
|
146
|
+
Exclude:
|
147
|
+
- 'lib/aruba/platforms/unix_platform.rb'
|
148
|
+
|
149
|
+
# Offense count: 2
|
150
|
+
Security/Open:
|
151
|
+
Exclude:
|
152
|
+
- 'lib/aruba/processes/spawn_process.rb'
|
153
|
+
|
154
|
+
# Offense count: 3
|
155
|
+
# Configuration parameters: EnforcedStyle.
|
156
|
+
# SupportedStyles: inline, group
|
157
|
+
Style/AccessModifierDeclarations:
|
158
|
+
Exclude:
|
159
|
+
- 'lib/aruba/in_config_wrapper.rb'
|
160
|
+
- 'lib/aruba/matchers/base/base_matcher.rb'
|
161
|
+
- 'lib/aruba/matchers/collection/all.rb'
|
162
|
+
|
163
|
+
# Offense count: 3
|
164
|
+
Style/CaseEquality:
|
165
|
+
Exclude:
|
166
|
+
- 'lib/aruba/matchers/base/object_formatter.rb'
|
167
|
+
|
168
|
+
# Offense count: 1
|
169
|
+
# Cop supports --auto-correct.
|
170
|
+
Style/CharacterLiteral:
|
171
|
+
Exclude:
|
172
|
+
- 'spec/support/shared_contexts/aruba.rb'
|
173
|
+
|
174
|
+
# Offense count: 4
|
175
|
+
# Cop supports --auto-correct.
|
176
|
+
# Configuration parameters: EnforcedStyle.
|
177
|
+
# SupportedStyles: is_a?, kind_of?
|
178
|
+
Style/ClassCheck:
|
179
|
+
Exclude:
|
180
|
+
- 'lib/aruba/api/filesystem.rb'
|
181
|
+
|
182
|
+
# Offense count: 1
|
183
|
+
Style/CommentedKeyword:
|
184
|
+
Exclude:
|
185
|
+
- 'spec/aruba/api_spec.rb'
|
186
|
+
|
187
|
+
# Offense count: 13
|
188
|
+
Style/Documentation:
|
189
|
+
Exclude:
|
190
|
+
- 'spec/**/*'
|
191
|
+
- 'test/**/*'
|
192
|
+
- 'fixtures/cli-app/lib/cli/app.rb'
|
193
|
+
- 'fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb'
|
194
|
+
- 'fixtures/empty-app/lib/cli/app.rb'
|
195
|
+
- 'lib/aruba/api/bundler.rb'
|
196
|
+
- 'lib/aruba/colorizer.rb'
|
197
|
+
- 'lib/aruba/matchers/collection/include_an_object.rb'
|
198
|
+
- 'lib/aruba/platforms/command_monitor.rb'
|
199
|
+
- 'lib/aruba/setup.rb'
|
200
|
+
- 'lib/aruba/tasks/docker_helpers.rb'
|
201
|
+
|
202
|
+
# Offense count: 4
|
203
|
+
# Cop supports --auto-correct.
|
204
|
+
Style/Encoding:
|
205
|
+
Exclude:
|
206
|
+
- 'aruba.gemspec'
|
207
|
+
- 'fixtures/cli-app/cli-app.gemspec'
|
208
|
+
- 'fixtures/empty-app/cli-app.gemspec'
|
209
|
+
- 'spec/spec_helper.rb'
|
210
|
+
|
211
|
+
# Offense count: 1
|
212
|
+
Style/EvalWithLocation:
|
213
|
+
Exclude:
|
214
|
+
- 'spec/support/helpers/reporting.rb'
|
215
|
+
|
216
|
+
# Offense count: 16
|
217
|
+
# Cop supports --auto-correct.
|
218
|
+
Style/ExpandPathArguments:
|
219
|
+
Exclude:
|
220
|
+
- 'Gemfile'
|
221
|
+
- 'Rakefile'
|
222
|
+
- 'bin/console'
|
223
|
+
- 'exe/aruba'
|
224
|
+
- 'features/support/env.rb'
|
225
|
+
- 'features/support/simplecov_setup.rb'
|
226
|
+
- 'fixtures/cli-app/bin/aruba-test-cli'
|
227
|
+
- 'fixtures/cli-app/cli-app.gemspec'
|
228
|
+
- 'fixtures/cli-app/lib/cli/app.rb'
|
229
|
+
- 'fixtures/cli-app/spec/spec_helper.rb'
|
230
|
+
- 'fixtures/empty-app/cli-app.gemspec'
|
231
|
+
- 'fixtures/empty-app/lib/cli/app.rb'
|
232
|
+
- 'fixtures/getting-started-app/Gemfile'
|
233
|
+
|
234
|
+
# Offense count: 85
|
235
|
+
# Configuration parameters: EnforcedStyle.
|
236
|
+
# SupportedStyles: annotated, template, unannotated
|
237
|
+
Style/FormatStringToken:
|
238
|
+
Enabled: false
|
239
|
+
|
240
|
+
# Offense count: 2
|
241
|
+
Style/IdenticalConditionalBranches:
|
242
|
+
Exclude:
|
243
|
+
- 'lib/aruba/hooks.rb'
|
244
|
+
|
245
|
+
# Offense count: 10
|
246
|
+
# Cop supports --auto-correct.
|
247
|
+
Style/IfUnlessModifier:
|
248
|
+
Exclude:
|
249
|
+
- 'Gemfile'
|
250
|
+
- 'features/support/env.rb'
|
251
|
+
- 'lib/aruba/cucumber/command.rb'
|
252
|
+
- 'lib/aruba/matchers/collection/include_an_object.rb'
|
253
|
+
- 'lib/aruba/platforms/unix_environment_variables.rb'
|
254
|
+
- 'lib/aruba/setup.rb'
|
255
|
+
- 'spec/aruba/platform/windows_environment_variables_spec.rb'
|
256
|
+
|
257
|
+
# Offense count: 2
|
258
|
+
# Cop supports --auto-correct.
|
259
|
+
# Configuration parameters: EnforcedStyle.
|
260
|
+
# SupportedStyles: line_count_dependent, lambda, literal
|
261
|
+
Style/Lambda:
|
262
|
+
Exclude:
|
263
|
+
- 'spec/aruba/hooks_spec.rb'
|
264
|
+
|
265
|
+
# Offense count: 5
|
266
|
+
Style/MethodMissingSuper:
|
267
|
+
Exclude:
|
268
|
+
- 'lib/aruba/config_wrapper.rb'
|
269
|
+
- 'lib/aruba/in_config_wrapper.rb'
|
270
|
+
- 'lib/aruba/platforms/command_monitor.rb'
|
271
|
+
- 'lib/aruba/tasks/docker_helpers.rb'
|
272
|
+
|
273
|
+
# Offense count: 3
|
274
|
+
Style/MissingRespondToMissing:
|
275
|
+
Exclude:
|
276
|
+
- 'lib/aruba/in_config_wrapper.rb'
|
277
|
+
- 'lib/aruba/platforms/command_monitor.rb'
|
278
|
+
|
279
|
+
# Offense count: 1
|
280
|
+
# Cop supports --auto-correct.
|
281
|
+
# Configuration parameters: EnforcedStyle.
|
282
|
+
# SupportedStyles: literals, strict
|
283
|
+
Style/MutableConstant:
|
284
|
+
Exclude:
|
285
|
+
- 'lib/aruba/colorizer.rb'
|
286
|
+
|
287
|
+
# Offense count: 4
|
288
|
+
# Cop supports --auto-correct.
|
289
|
+
# Configuration parameters: Whitelist.
|
290
|
+
# Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
|
291
|
+
Style/NestedParenthesizedCalls:
|
292
|
+
Exclude:
|
293
|
+
- 'spec/aruba/matchers/collection_spec.rb'
|
294
|
+
|
295
|
+
# Offense count: 1
|
296
|
+
# Cop supports --auto-correct.
|
297
|
+
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
298
|
+
# SupportedStyles: predicate, comparison
|
299
|
+
Style/NumericPredicate:
|
300
|
+
Exclude:
|
301
|
+
- 'spec/**/*'
|
302
|
+
- 'lib/aruba/contracts/is_power_of_two.rb'
|
303
|
+
|
304
|
+
# Offense count: 3
|
305
|
+
# Cop supports --auto-correct.
|
306
|
+
# Configuration parameters: PreferredDelimiters.
|
307
|
+
Style/PercentLiteralDelimiters:
|
308
|
+
Exclude:
|
309
|
+
- 'Rakefile'
|
310
|
+
- 'lib/aruba/api/bundler.rb'
|
311
|
+
|
312
|
+
# Offense count: 2
|
313
|
+
# Cop supports --auto-correct.
|
314
|
+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
315
|
+
# SupportedStyles: slashes, percent_r, mixed
|
316
|
+
Style/RegexpLiteral:
|
317
|
+
Exclude:
|
318
|
+
- 'lib/aruba/cucumber/command.rb'
|
319
|
+
- 'lib/aruba/cucumber/file.rb'
|
320
|
+
|
321
|
+
# Offense count: 4
|
322
|
+
# Cop supports --auto-correct.
|
323
|
+
# Configuration parameters: EnforcedStyle.
|
324
|
+
# SupportedStyles: implicit, explicit
|
325
|
+
Style/RescueStandardError:
|
326
|
+
Exclude:
|
327
|
+
- 'lib/aruba/contracts/absolute_path.rb'
|
328
|
+
- 'lib/aruba/contracts/is_power_of_two.rb'
|
329
|
+
- 'lib/aruba/contracts/relative_path.rb'
|
330
|
+
- 'lib/aruba/event_bus/name_resolver.rb'
|
331
|
+
|
332
|
+
# Offense count: 1
|
333
|
+
# Cop supports --auto-correct.
|
334
|
+
# Configuration parameters: AllowAsExpressionSeparator.
|
335
|
+
Style/Semicolon:
|
336
|
+
Exclude:
|
337
|
+
- 'lib/aruba/platforms/aruba_fixed_size_file_creator.rb'
|
338
|
+
|
339
|
+
# Offense count: 44
|
340
|
+
# Cop supports --auto-correct.
|
341
|
+
# Configuration parameters: EnforcedStyle.
|
342
|
+
# SupportedStyles: only_raise, only_fail, semantic
|
343
|
+
Style/SignalException:
|
344
|
+
Enabled: false
|
345
|
+
|
346
|
+
# Offense count: 2
|
347
|
+
# Cop supports --auto-correct.
|
348
|
+
Style/StderrPuts:
|
349
|
+
Exclude:
|
350
|
+
- 'Rakefile'
|
351
|
+
- 'lib/aruba/initializer.rb'
|
352
|
+
|
353
|
+
# Offense count: 7
|
354
|
+
# Cop supports --auto-correct.
|
355
|
+
# Configuration parameters: MinSize.
|
356
|
+
# SupportedStyles: percent, brackets
|
357
|
+
Style/SymbolArray:
|
358
|
+
EnforcedStyle: brackets
|
359
|
+
|
360
|
+
# Offense count: 411
|
361
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
362
|
+
# URISchemes: http, https
|
363
|
+
Metrics/LineLength:
|
364
|
+
Max: 174
|