aruba 1.0.0.pre.alpha.2 → 1.0.1

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.
Files changed (135) hide show
  1. checksums.yaml +5 -5
  2. data/.github/PULL_REQUEST_TEMPLATE.md +2 -1
  3. data/.rspec +0 -1
  4. data/.rubocop.yml +46 -182
  5. data/.rubocop_todo.yml +216 -0
  6. data/.simplecov +7 -5
  7. data/.travis.yml +56 -40
  8. data/.yardopts +3 -0
  9. data/CHANGELOG.md +1312 -0
  10. data/CONTRIBUTING.md +175 -83
  11. data/Gemfile +5 -69
  12. data/LICENSE +1 -1
  13. data/README.md +58 -21
  14. data/Rakefile +27 -54
  15. data/appveyor.yml +7 -10
  16. data/aruba.gemspec +38 -19
  17. data/bin/console +3 -12
  18. data/cucumber.yml +4 -22
  19. data/exe/aruba +1 -1
  20. data/fixtures/cli-app/README.md +1 -1
  21. data/fixtures/cli-app/Rakefile +1 -1
  22. data/fixtures/cli-app/bin/aruba-test-cli +1 -1
  23. data/fixtures/cli-app/cli-app.gemspec +4 -4
  24. data/fixtures/cli-app/lib/cli/app.rb +1 -1
  25. data/fixtures/cli-app/lib/cli/app/suppress_simple_cov_output.rb +3 -3
  26. data/fixtures/cli-app/lib/cli/app/version.rb +1 -1
  27. data/fixtures/cli-app/spec/spec_helper.rb +3 -2
  28. data/fixtures/empty-app/Rakefile +1 -1
  29. data/fixtures/empty-app/cli-app.gemspec +4 -4
  30. data/fixtures/empty-app/lib/cli/app.rb +0 -2
  31. data/fixtures/empty-app/lib/cli/app/version.rb +1 -1
  32. data/fixtures/getting-started-app/Gemfile +1 -1
  33. data/lib/aruba/api.rb +8 -15
  34. data/lib/aruba/api/bundler.rb +16 -0
  35. data/lib/aruba/api/commands.rb +272 -0
  36. data/lib/aruba/api/core.rb +82 -43
  37. data/lib/aruba/api/environment.rb +24 -7
  38. data/lib/aruba/api/filesystem.rb +66 -64
  39. data/lib/aruba/api/text.rb +17 -11
  40. data/lib/aruba/aruba_path.rb +25 -111
  41. data/lib/aruba/basic_configuration.rb +8 -25
  42. data/lib/aruba/basic_configuration/option.rb +2 -2
  43. data/lib/aruba/cli.rb +4 -1
  44. data/lib/aruba/colorizer.rb +10 -99
  45. data/lib/aruba/command.rb +4 -0
  46. data/lib/aruba/config/jruby.rb +15 -5
  47. data/lib/aruba/config_wrapper.rb +17 -2
  48. data/lib/aruba/configuration.rb +107 -0
  49. data/lib/aruba/console.rb +5 -7
  50. data/lib/aruba/console/help.rb +5 -2
  51. data/lib/aruba/contracts/absolute_path.rb +3 -3
  52. data/lib/aruba/contracts/is_power_of_two.rb +2 -2
  53. data/lib/aruba/contracts/relative_path.rb +3 -3
  54. data/lib/aruba/cucumber.rb +0 -3
  55. data/lib/aruba/cucumber/command.rb +227 -190
  56. data/lib/aruba/cucumber/environment.rb +1 -1
  57. data/lib/aruba/cucumber/file.rb +56 -50
  58. data/lib/aruba/cucumber/hooks.rb +10 -63
  59. data/lib/aruba/cucumber/testing_frameworks.rb +76 -50
  60. data/lib/aruba/event_bus.rb +4 -2
  61. data/lib/aruba/event_bus/name_resolver.rb +10 -10
  62. data/lib/aruba/events.rb +2 -1
  63. data/lib/aruba/hooks.rb +3 -5
  64. data/lib/aruba/in_config_wrapper.rb +10 -3
  65. data/lib/aruba/initializer.rb +40 -34
  66. data/lib/aruba/matchers/base/base_matcher.rb +2 -11
  67. data/lib/aruba/matchers/base/message_indenter.rb +19 -0
  68. data/lib/aruba/matchers/base/object_formatter.rb +2 -7
  69. data/lib/aruba/matchers/collection/include_an_object.rb +11 -13
  70. data/lib/aruba/matchers/command/be_successfully_executed.rb +8 -4
  71. data/lib/aruba/matchers/command/have_exit_status.rb +16 -4
  72. data/lib/aruba/matchers/command/have_finished_in_time.rb +5 -5
  73. data/lib/aruba/matchers/command/have_output.rb +12 -5
  74. data/lib/aruba/matchers/command/have_output_on_stderr.rb +4 -2
  75. data/lib/aruba/matchers/command/have_output_on_stdout.rb +4 -2
  76. data/lib/aruba/matchers/command/have_output_size.rb +2 -2
  77. data/lib/aruba/matchers/directory/be_an_existing_directory.rb +5 -7
  78. data/lib/aruba/matchers/directory/have_sub_directory.rb +10 -7
  79. data/lib/aruba/matchers/file/be_a_command_found_in_path.rb +2 -4
  80. data/lib/aruba/matchers/file/be_an_existing_executable.rb +4 -6
  81. data/lib/aruba/matchers/file/be_an_existing_file.rb +5 -7
  82. data/lib/aruba/matchers/file/have_file_content.rb +4 -4
  83. data/lib/aruba/matchers/file/have_file_size.rb +8 -8
  84. data/lib/aruba/matchers/file/have_same_file_content.rb +9 -12
  85. data/lib/aruba/matchers/path/a_path_matching_pattern.rb +2 -4
  86. data/lib/aruba/matchers/path/be_an_absolute_path.rb +3 -5
  87. data/lib/aruba/matchers/path/be_an_existing_path.rb +4 -6
  88. data/lib/aruba/matchers/path/have_permissions.rb +8 -8
  89. data/lib/aruba/matchers/string/include_output_string.rb +8 -10
  90. data/lib/aruba/matchers/string/match_output_string.rb +9 -11
  91. data/lib/aruba/matchers/string/output_string_eq.rb +7 -9
  92. data/lib/aruba/platform.rb +0 -8
  93. data/lib/aruba/platforms/announcer.rb +60 -85
  94. data/lib/aruba/platforms/aruba_file_creator.rb +4 -2
  95. data/lib/aruba/platforms/aruba_fixed_size_file_creator.rb +8 -3
  96. data/lib/aruba/platforms/aruba_logger.rb +22 -2
  97. data/lib/aruba/platforms/command_monitor.rb +15 -102
  98. data/lib/aruba/platforms/determine_disk_usage.rb +56 -19
  99. data/lib/aruba/platforms/filesystem_status.rb +9 -9
  100. data/lib/aruba/platforms/local_environment.rb +2 -2
  101. data/lib/aruba/platforms/simple_table.rb +3 -11
  102. data/lib/aruba/platforms/unix_command_string.rb +7 -4
  103. data/lib/aruba/platforms/unix_environment_variables.rb +19 -26
  104. data/lib/aruba/platforms/unix_platform.rb +18 -39
  105. data/lib/aruba/platforms/unix_which.rb +3 -2
  106. data/lib/aruba/platforms/windows_command_string.rb +20 -7
  107. data/lib/aruba/platforms/windows_environment_variables.rb +42 -30
  108. data/lib/aruba/platforms/windows_platform.rb +4 -0
  109. data/lib/aruba/platforms/windows_which.rb +9 -4
  110. data/lib/aruba/processes/basic_process.rb +21 -27
  111. data/lib/aruba/processes/debug_process.rb +16 -5
  112. data/lib/aruba/processes/in_process.rb +20 -9
  113. data/lib/aruba/processes/spawn_process.rb +64 -36
  114. data/lib/aruba/rspec.rb +28 -31
  115. data/lib/aruba/runtime.rb +16 -7
  116. data/lib/aruba/setup.rb +32 -17
  117. data/lib/aruba/tasks/docker_helpers.rb +4 -2
  118. data/lib/aruba/version.rb +1 -1
  119. metadata +194 -64
  120. data/History.md +0 -612
  121. data/bin/bootstrap +0 -34
  122. data/bin/build +0 -3
  123. data/bin/release +0 -3
  124. data/fixtures/spawn_process/stderr.sh +0 -3
  125. data/lib/aruba/api/command.rb +0 -309
  126. data/lib/aruba/api/deprecated.rb +0 -895
  127. data/lib/aruba/api/rvm.rb +0 -44
  128. data/lib/aruba/config.rb +0 -101
  129. data/lib/aruba/cucumber/rvm.rb +0 -3
  130. data/lib/aruba/in_process.rb +0 -14
  131. data/lib/aruba/jruby.rb +0 -4
  132. data/lib/aruba/matchers/path/match_path_pattern.rb +0 -41
  133. data/lib/aruba/matchers/rspec_matcher_include_regexp.rb +0 -25
  134. data/lib/aruba/platforms/disk_usage_calculator.rb +0 -20
  135. data/lib/aruba/spawn_process.rb +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dec3a8796a3872177a32dbe51a56a7a01f0e3bcf
4
- data.tar.gz: ff77b1f73face0704272353c2dd8e42a27ab9c3b
2
+ SHA256:
3
+ metadata.gz: 78af1111ebd1c66984dd8ad454318e6eba06e183cfd844bcf1e5e794103ea756
4
+ data.tar.gz: a4821903017781b016eb1510833e31c9421e79589a69b804d7fab1bc646e8d1c
5
5
  SHA512:
6
- metadata.gz: 03a6bc22996a8e67e71ac9a2e23b0b365ec0afb2bb4194bcbeb16341515b24a9ffda9008ea3e31ac9e51bf4177edc38d8fbe1168352fdee300b1ffe9bd25c524
7
- data.tar.gz: 0efce8bcec7f4c934870983171212023098b213d0cbec047ee0d80edf08e454cb542bc76f5b3930ec86c3528f62a718bab8fb92ea855381c2d18c77037dca563
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 withouth changing any existing functionality)
32
+ - [ ] Refactoring (cleanup of codebase without changing any existing functionality)
33
+ - [ ] Update documentation
33
34
 
34
35
  ## Checklist:
35
36
 
data/.rspec CHANGED
@@ -1,4 +1,3 @@
1
1
  --color
2
- --format Fuubar
3
2
  --order random
4
3
  --warnings
@@ -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
- # Cop supports --auto-correct.
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
- 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.
12
+ # Use older RuboCop default
97
13
  Style/PercentLiteralDelimiters:
98
- Enabled: false
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
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
@@ -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'