aruba 1.0.0.pre.alpha.2 → 1.0.1
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/.rspec +0 -1
- data/.rubocop.yml +46 -182
- data/.rubocop_todo.yml +216 -0
- data/.simplecov +7 -5
- data/.travis.yml +56 -40
- data/.yardopts +3 -0
- data/CHANGELOG.md +1312 -0
- data/CONTRIBUTING.md +175 -83
- data/Gemfile +5 -69
- data/LICENSE +1 -1
- data/README.md +58 -21
- data/Rakefile +27 -54
- data/appveyor.yml +7 -10
- data/aruba.gemspec +38 -19
- data/bin/console +3 -12
- data/cucumber.yml +4 -22
- data/exe/aruba +1 -1
- data/fixtures/cli-app/README.md +1 -1
- data/fixtures/cli-app/Rakefile +1 -1
- data/fixtures/cli-app/bin/aruba-test-cli +1 -1
- data/fixtures/cli-app/cli-app.gemspec +4 -4
- data/fixtures/cli-app/lib/cli/app.rb +1 -1
- 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/cli-app/spec/spec_helper.rb +3 -2
- data/fixtures/empty-app/Rakefile +1 -1
- data/fixtures/empty-app/cli-app.gemspec +4 -4
- data/fixtures/empty-app/lib/cli/app.rb +0 -2
- data/fixtures/empty-app/lib/cli/app/version.rb +1 -1
- data/fixtures/getting-started-app/Gemfile +1 -1
- data/lib/aruba/api.rb +8 -15
- data/lib/aruba/api/bundler.rb +16 -0
- data/lib/aruba/api/commands.rb +272 -0
- data/lib/aruba/api/core.rb +82 -43
- data/lib/aruba/api/environment.rb +24 -7
- data/lib/aruba/api/filesystem.rb +66 -64
- data/lib/aruba/api/text.rb +17 -11
- data/lib/aruba/aruba_path.rb +25 -111
- data/lib/aruba/basic_configuration.rb +8 -25
- data/lib/aruba/basic_configuration/option.rb +2 -2
- data/lib/aruba/cli.rb +4 -1
- data/lib/aruba/colorizer.rb +10 -99
- data/lib/aruba/command.rb +4 -0
- data/lib/aruba/config/jruby.rb +15 -5
- data/lib/aruba/config_wrapper.rb +17 -2
- data/lib/aruba/configuration.rb +107 -0
- data/lib/aruba/console.rb +5 -7
- data/lib/aruba/console/help.rb +5 -2
- data/lib/aruba/contracts/absolute_path.rb +3 -3
- data/lib/aruba/contracts/is_power_of_two.rb +2 -2
- data/lib/aruba/contracts/relative_path.rb +3 -3
- data/lib/aruba/cucumber.rb +0 -3
- data/lib/aruba/cucumber/command.rb +227 -190
- data/lib/aruba/cucumber/environment.rb +1 -1
- data/lib/aruba/cucumber/file.rb +56 -50
- data/lib/aruba/cucumber/hooks.rb +10 -63
- data/lib/aruba/cucumber/testing_frameworks.rb +76 -50
- data/lib/aruba/event_bus.rb +4 -2
- data/lib/aruba/event_bus/name_resolver.rb +10 -10
- data/lib/aruba/events.rb +2 -1
- data/lib/aruba/hooks.rb +3 -5
- data/lib/aruba/in_config_wrapper.rb +10 -3
- data/lib/aruba/initializer.rb +40 -34
- data/lib/aruba/matchers/base/base_matcher.rb +2 -11
- data/lib/aruba/matchers/base/message_indenter.rb +19 -0
- data/lib/aruba/matchers/base/object_formatter.rb +2 -7
- data/lib/aruba/matchers/collection/include_an_object.rb +11 -13
- data/lib/aruba/matchers/command/be_successfully_executed.rb +8 -4
- data/lib/aruba/matchers/command/have_exit_status.rb +16 -4
- data/lib/aruba/matchers/command/have_finished_in_time.rb +5 -5
- data/lib/aruba/matchers/command/have_output.rb +12 -5
- data/lib/aruba/matchers/command/have_output_on_stderr.rb +4 -2
- data/lib/aruba/matchers/command/have_output_on_stdout.rb +4 -2
- data/lib/aruba/matchers/command/have_output_size.rb +2 -2
- data/lib/aruba/matchers/directory/be_an_existing_directory.rb +5 -7
- data/lib/aruba/matchers/directory/have_sub_directory.rb +10 -7
- 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 +5 -7
- data/lib/aruba/matchers/file/have_file_content.rb +4 -4
- data/lib/aruba/matchers/file/have_file_size.rb +8 -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 +8 -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 -8
- data/lib/aruba/platforms/announcer.rb +60 -85
- data/lib/aruba/platforms/aruba_file_creator.rb +4 -2
- data/lib/aruba/platforms/aruba_fixed_size_file_creator.rb +8 -3
- data/lib/aruba/platforms/aruba_logger.rb +22 -2
- data/lib/aruba/platforms/command_monitor.rb +15 -102
- data/lib/aruba/platforms/determine_disk_usage.rb +56 -19
- 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 -11
- data/lib/aruba/platforms/unix_command_string.rb +7 -4
- data/lib/aruba/platforms/unix_environment_variables.rb +19 -26
- data/lib/aruba/platforms/unix_platform.rb +18 -39
- data/lib/aruba/platforms/unix_which.rb +3 -2
- data/lib/aruba/platforms/windows_command_string.rb +20 -7
- data/lib/aruba/platforms/windows_environment_variables.rb +42 -30
- data/lib/aruba/platforms/windows_platform.rb +4 -0
- data/lib/aruba/platforms/windows_which.rb +9 -4
- data/lib/aruba/processes/basic_process.rb +21 -27
- data/lib/aruba/processes/debug_process.rb +16 -5
- data/lib/aruba/processes/in_process.rb +20 -9
- data/lib/aruba/processes/spawn_process.rb +64 -36
- data/lib/aruba/rspec.rb +28 -31
- data/lib/aruba/runtime.rb +16 -7
- data/lib/aruba/setup.rb +32 -17
- data/lib/aruba/tasks/docker_helpers.rb +4 -2
- data/lib/aruba/version.rb +1 -1
- metadata +194 -64
- data/History.md +0 -612
- data/bin/bootstrap +0 -34
- data/bin/build +0 -3
- data/bin/release +0 -3
- 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/platforms/disk_usage_calculator.rb +0 -20
- 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: 78af1111ebd1c66984dd8ad454318e6eba06e183cfd844bcf1e5e794103ea756
|
4
|
+
data.tar.gz: a4821903017781b016eb1510833e31c9421e79589a69b804d7fab1bc646e8d1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11b800a1afc27d83cd804685793e1ddc2cba21151b648a2f62ebc4016566d7cacc7c3f9fef578259ed0a00b50dd5ab6d0fd0a45c11f454b88a4648af3b4138e9
|
7
|
+
data.tar.gz: af2fc428c1fc809e39e87e7060be821a44a5fcba1b3cc131f7334e8ad2a516dc90375aea4d28b13299b51c5147c820a2bc765c936fee5095182b58a1ac1d3de3
|
@@ -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/.rspec
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,188 +1,52 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-performance
|
3
|
+
- rubocop-rspec
|
4
|
+
|
1
5
|
AllCops:
|
2
6
|
Exclude:
|
3
7
|
- tmp/**/*
|
8
|
+
- vendor/**/*
|
4
9
|
DisplayCopNames: true
|
5
|
-
|
6
|
-
# Configuration parameters: SupportedStyles.
|
7
|
-
Style/HashSyntax:
|
8
|
-
Enabled: false
|
9
|
-
|
10
|
-
Metrics/ModuleLength:
|
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
|
10
|
+
TargetRubyVersion: 2.4
|
76
11
|
|
77
|
-
|
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.
|
12
|
+
# Use older RuboCop default
|
97
13
|
Style/PercentLiteralDelimiters:
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
Enabled:
|
125
|
-
|
126
|
-
|
127
|
-
Style/
|
128
|
-
Enabled:
|
129
|
-
|
130
|
-
|
131
|
-
Style/
|
132
|
-
Enabled:
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
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
|
186
|
-
|
187
|
-
Style/IdenticalConditionalBranches:
|
188
|
-
Enabled: false
|
14
|
+
PreferredDelimiters:
|
15
|
+
'%w': ()
|
16
|
+
|
17
|
+
# SupportedStyles: percent, brackets
|
18
|
+
Style/SymbolArray:
|
19
|
+
EnforcedStyle: brackets
|
20
|
+
|
21
|
+
# Code is currently broken with frozen string literal comments applied.
|
22
|
+
# TODO: Enable and fix build
|
23
|
+
Style/FrozenStringLiteralComment:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
# Be relatively lenient with line length
|
27
|
+
Layout/LineLength:
|
28
|
+
Max: 94
|
29
|
+
|
30
|
+
# Enable new cops from RuboCop 0.80, 0.81 and 0.84
|
31
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
32
|
+
Enabled: true
|
33
|
+
Layout/SpaceAroundMethodCallOperator:
|
34
|
+
Enabled: true
|
35
|
+
Lint/DeprecatedOpenSSLConstant:
|
36
|
+
Enabled: true
|
37
|
+
Lint/RaiseException:
|
38
|
+
Enabled: true
|
39
|
+
Lint/StructNewOverride:
|
40
|
+
Enabled: true
|
41
|
+
Style/ExponentialNotation:
|
42
|
+
Enabled: true
|
43
|
+
Style/HashEachMethods:
|
44
|
+
Enabled: true
|
45
|
+
Style/HashTransformKeys:
|
46
|
+
Enabled: true
|
47
|
+
Style/HashTransformValues:
|
48
|
+
Enabled: true
|
49
|
+
Style/SlicingWithRange:
|
50
|
+
Enabled: true
|
51
|
+
|
52
|
+
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2020-05-31 23:12:24 +0200 using RuboCop version 0.84.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: 7
|
10
|
+
Lint/AmbiguousBlockAssociation:
|
11
|
+
Exclude:
|
12
|
+
- 'lib/aruba/platforms/announcer.rb'
|
13
|
+
|
14
|
+
# Offense count: 2
|
15
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
16
|
+
Lint/Void:
|
17
|
+
Exclude:
|
18
|
+
- 'lib/aruba/platforms/announcer.rb'
|
19
|
+
- 'lib/aruba/platforms/unix_environment_variables.rb'
|
20
|
+
|
21
|
+
# Offense count: 26
|
22
|
+
# Configuration parameters: IgnoredMethods.
|
23
|
+
Metrics/AbcSize:
|
24
|
+
Max: 116
|
25
|
+
|
26
|
+
# Offense count: 72
|
27
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
28
|
+
# ExcludedMethods: refine
|
29
|
+
Metrics/BlockLength:
|
30
|
+
Max: 594
|
31
|
+
|
32
|
+
# Offense count: 2
|
33
|
+
# Configuration parameters: CountComments.
|
34
|
+
Metrics/ClassLength:
|
35
|
+
Max: 158
|
36
|
+
|
37
|
+
# Offense count: 5
|
38
|
+
# Configuration parameters: IgnoredMethods.
|
39
|
+
Metrics/CyclomaticComplexity:
|
40
|
+
Max: 12
|
41
|
+
|
42
|
+
# Offense count: 28
|
43
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
44
|
+
Metrics/MethodLength:
|
45
|
+
Max: 59
|
46
|
+
|
47
|
+
# Offense count: 3
|
48
|
+
# Configuration parameters: CountComments.
|
49
|
+
Metrics/ModuleLength:
|
50
|
+
Max: 182
|
51
|
+
|
52
|
+
# Offense count: 3
|
53
|
+
# Configuration parameters: CountKeywordArgs.
|
54
|
+
Metrics/ParameterLists:
|
55
|
+
Max: 8
|
56
|
+
|
57
|
+
# Offense count: 5
|
58
|
+
# Configuration parameters: IgnoredMethods.
|
59
|
+
Metrics/PerceivedComplexity:
|
60
|
+
Max: 13
|
61
|
+
|
62
|
+
# Offense count: 1
|
63
|
+
Naming/ConstantName:
|
64
|
+
Exclude:
|
65
|
+
- 'lib/aruba/platform.rb'
|
66
|
+
|
67
|
+
# Offense count: 5
|
68
|
+
# Configuration parameters: ForbiddenDelimiters.
|
69
|
+
# ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
70
|
+
Naming/HeredocDelimiterNaming:
|
71
|
+
Exclude:
|
72
|
+
- 'lib/aruba/initializer.rb'
|
73
|
+
|
74
|
+
# Offense count: 1
|
75
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
76
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
77
|
+
Naming/MemoizedInstanceVariableName:
|
78
|
+
Exclude:
|
79
|
+
- 'lib/aruba/api/core.rb'
|
80
|
+
|
81
|
+
# Offense count: 14
|
82
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
83
|
+
# AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
|
84
|
+
Naming/MethodParameterName:
|
85
|
+
Exclude:
|
86
|
+
- 'lib/aruba/aruba_path.rb'
|
87
|
+
- 'lib/aruba/config_wrapper.rb'
|
88
|
+
- 'lib/aruba/platforms/announcer.rb'
|
89
|
+
- 'lib/aruba/platforms/aruba_logger.rb'
|
90
|
+
- 'lib/aruba/platforms/unix_platform.rb'
|
91
|
+
- 'lib/aruba/tasks/docker_helpers.rb'
|
92
|
+
|
93
|
+
# Offense count: 1
|
94
|
+
Performance/Caller:
|
95
|
+
Exclude:
|
96
|
+
- 'lib/aruba/platforms/unix_platform.rb'
|
97
|
+
|
98
|
+
# Offense count: 51
|
99
|
+
# Configuration parameters: Prefixes.
|
100
|
+
# Prefixes: when, with, without
|
101
|
+
RSpec/ContextWording:
|
102
|
+
Exclude:
|
103
|
+
- 'spec/aruba/api/filesystem_spec.rb'
|
104
|
+
- 'spec/aruba/api/runtime_spec.rb'
|
105
|
+
- 'spec/aruba/api_spec.rb'
|
106
|
+
- 'spec/aruba/matchers/command_spec.rb'
|
107
|
+
- 'spec/aruba/matchers/file_spec.rb'
|
108
|
+
- 'spec/aruba/matchers/path_spec.rb'
|
109
|
+
- 'spec/aruba/platform/windows_environment_variables_spec.rb'
|
110
|
+
- 'spec/support/shared_contexts/aruba.rb'
|
111
|
+
|
112
|
+
# Offense count: 10
|
113
|
+
RSpec/DescribeClass:
|
114
|
+
Exclude:
|
115
|
+
- 'spec/aruba/api/runtime_spec.rb'
|
116
|
+
- 'spec/aruba/jruby_spec.rb'
|
117
|
+
- 'spec/aruba/matchers/collection_spec.rb'
|
118
|
+
- 'spec/aruba/matchers/command/have_output_size_spec.rb'
|
119
|
+
- 'spec/aruba/matchers/command_spec.rb'
|
120
|
+
- 'spec/aruba/matchers/directory_spec.rb'
|
121
|
+
- 'spec/aruba/matchers/file_spec.rb'
|
122
|
+
- 'spec/aruba/matchers/path_spec.rb'
|
123
|
+
- 'spec/aruba/platform/simple_table_spec.rb'
|
124
|
+
- 'spec/aruba/rspec_spec.rb'
|
125
|
+
|
126
|
+
# Offense count: 19
|
127
|
+
# Configuration parameters: Max.
|
128
|
+
RSpec/ExampleLength:
|
129
|
+
Exclude:
|
130
|
+
- 'spec/aruba/api/core_spec.rb'
|
131
|
+
- 'spec/aruba/api/filesystem_spec.rb'
|
132
|
+
- 'spec/aruba/aruba_path_spec.rb'
|
133
|
+
- 'spec/aruba/matchers/collection_spec.rb'
|
134
|
+
|
135
|
+
# Offense count: 4
|
136
|
+
# Configuration parameters: CustomTransform, IgnoreMethods.
|
137
|
+
RSpec/FilePath:
|
138
|
+
Exclude:
|
139
|
+
- 'spec/aruba/platform/windows_environment_variables_spec.rb'
|
140
|
+
- 'spec/aruba/platforms/command_monitor_spec.rb'
|
141
|
+
- 'spec/event_bus/name_resolver_spec.rb'
|
142
|
+
- 'spec/event_bus_spec.rb'
|
143
|
+
|
144
|
+
# Offense count: 298
|
145
|
+
# Configuration parameters: AssignmentOnly.
|
146
|
+
RSpec/InstanceVariable:
|
147
|
+
Exclude:
|
148
|
+
- 'spec/aruba/api/bundler_spec.rb'
|
149
|
+
- 'spec/aruba/api/commands_spec.rb'
|
150
|
+
- 'spec/aruba/api/core_spec.rb'
|
151
|
+
- 'spec/aruba/api/filesystem_spec.rb'
|
152
|
+
- 'spec/aruba/api_spec.rb'
|
153
|
+
- 'spec/aruba/matchers/command/have_output_size_spec.rb'
|
154
|
+
- 'spec/aruba/matchers/command_spec.rb'
|
155
|
+
- 'spec/aruba/matchers/directory_spec.rb'
|
156
|
+
- 'spec/aruba/matchers/file_spec.rb'
|
157
|
+
- 'spec/aruba/matchers/path_spec.rb'
|
158
|
+
- 'spec/aruba/processes/in_process_spec.rb'
|
159
|
+
- 'spec/event_bus_spec.rb'
|
160
|
+
- 'spec/support/shared_contexts/aruba.rb'
|
161
|
+
|
162
|
+
# Offense count: 32
|
163
|
+
RSpec/MultipleExpectations:
|
164
|
+
Max: 5
|
165
|
+
|
166
|
+
# Offense count: 187
|
167
|
+
RSpec/NestedGroups:
|
168
|
+
Max: 6
|
169
|
+
|
170
|
+
# Offense count: 1
|
171
|
+
RSpec/UnspecifiedException:
|
172
|
+
Exclude:
|
173
|
+
- 'spec/aruba/runtime_spec.rb'
|
174
|
+
|
175
|
+
# Offense count: 2
|
176
|
+
Security/Open:
|
177
|
+
Exclude:
|
178
|
+
- 'lib/aruba/processes/spawn_process.rb'
|
179
|
+
|
180
|
+
# Offense count: 1
|
181
|
+
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols.
|
182
|
+
# SupportedStyles: inline, group
|
183
|
+
Style/AccessModifierDeclarations:
|
184
|
+
Exclude:
|
185
|
+
- 'lib/aruba/matchers/collection/all.rb'
|
186
|
+
|
187
|
+
# Offense count: 3
|
188
|
+
# Configuration parameters: AllowOnConstant.
|
189
|
+
Style/CaseEquality:
|
190
|
+
Exclude:
|
191
|
+
- 'lib/aruba/matchers/base/object_formatter.rb'
|
192
|
+
|
193
|
+
# Offense count: 12
|
194
|
+
Style/Documentation:
|
195
|
+
Exclude:
|
196
|
+
- 'spec/**/*'
|
197
|
+
- 'test/**/*'
|
198
|
+
- 'fixtures/cli-app/lib/cli/app.rb'
|
199
|
+
- 'fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb'
|
200
|
+
- 'fixtures/empty-app/lib/cli/app.rb'
|
201
|
+
- 'lib/aruba/api/bundler.rb'
|
202
|
+
- 'lib/aruba/matchers/collection/include_an_object.rb'
|
203
|
+
- 'lib/aruba/platforms/command_monitor.rb'
|
204
|
+
- 'lib/aruba/setup.rb'
|
205
|
+
- 'lib/aruba/tasks/docker_helpers.rb'
|
206
|
+
|
207
|
+
# Offense count: 83
|
208
|
+
# Configuration parameters: EnforcedStyle.
|
209
|
+
# SupportedStyles: annotated, template, unannotated
|
210
|
+
Style/FormatStringToken:
|
211
|
+
Enabled: false
|
212
|
+
|
213
|
+
# Offense count: 2
|
214
|
+
Style/MethodMissingSuper:
|
215
|
+
Exclude:
|
216
|
+
- 'lib/aruba/platforms/command_monitor.rb'
|