beaker-vagrant 0.7.1 → 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/.github/dependabot.yml +9 -0
- data/.github/workflows/release.yml +17 -9
- data/.github/workflows/test.yml +40 -11
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +383 -0
- data/CHANGELOG.md +203 -19
- data/Gemfile +3 -24
- data/README.md +26 -9
- data/Rakefile +34 -120
- data/beaker-vagrant.gemspec +21 -24
- data/bin/beaker-vagrant +1 -3
- data/lib/beaker/hypervisor/vagrant/mount_folder.rb +1 -1
- data/lib/beaker/hypervisor/vagrant.rb +79 -80
- data/lib/beaker/hypervisor/vagrant_custom.rb +1 -1
- data/lib/beaker/hypervisor/vagrant_desktop.rb +9 -5
- data/lib/beaker/hypervisor/vagrant_libvirt.rb +1 -1
- data/lib/beaker/hypervisor/vagrant_parallels.rb +2 -2
- data/lib/beaker/hypervisor/vagrant_virtualbox.rb +35 -32
- data/lib/beaker/hypervisor/vagrant_workstation.rb +9 -5
- data/lib/beaker-vagrant/version.rb +1 -1
- data/spec/beaker/hypervisor/vagrant_custom_spec.rb +14 -15
- data/spec/beaker/hypervisor/vagrant_desktop_spec.rb +20 -20
- data/spec/beaker/hypervisor/vagrant_fusion_spec.rb +11 -11
- data/spec/beaker/hypervisor/vagrant_libvirt_spec.rb +22 -21
- data/spec/beaker/hypervisor/vagrant_parallels_spec.rb +15 -15
- data/spec/beaker/hypervisor/vagrant_spec.rb +300 -309
- data/spec/beaker/hypervisor/vagrant_virtualbox_spec.rb +50 -29
- data/spec/beaker/hypervisor/vagrant_workstation_spec.rb +20 -20
- data/spec/spec_helper.rb +1 -2
- metadata +42 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4bfe72ab33270c079167a135018d74d635a97e411ae7c1e3ffbb9e45e4327f7
|
4
|
+
data.tar.gz: 3bb7311957731fdc2a3495f3f705c799e03a6742ed07b671b6e235f4f090ec3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aad14f82ab29d6e0ed9d3a619a5d07bc4b7c23318044a0a5fe56e60893b6fccc2f8d7d1b98b81ca7ae3cd7f2efe6fe5577fedb34fecd7b26c3b560d1e4de525
|
7
|
+
data.tar.gz: a129e63622c95c58b869bce63da00268d5eb1049b9f86215345b522dff516cd525893845477a94475962f8485da55e33a5a3ae7451dd4337d8612be7fa9eed9a
|
data/.github/dependabot.yml
CHANGED
@@ -1,8 +1,17 @@
|
|
1
1
|
version: 2
|
2
2
|
updates:
|
3
|
+
# raise PRs for gem updates
|
3
4
|
- package-ecosystem: bundler
|
4
5
|
directory: "/"
|
5
6
|
schedule:
|
6
7
|
interval: daily
|
7
8
|
time: "13:00"
|
8
9
|
open-pull-requests-limit: 10
|
10
|
+
|
11
|
+
# Maintain dependencies for GitHub Actions
|
12
|
+
- package-ecosystem: github-actions
|
13
|
+
directory: "/"
|
14
|
+
schedule:
|
15
|
+
interval: daily
|
16
|
+
time: "13:00"
|
17
|
+
open-pull-requests-limit: 10
|
@@ -1,24 +1,32 @@
|
|
1
1
|
name: Release
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
5
|
-
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- '*'
|
6
7
|
|
7
8
|
jobs:
|
8
9
|
release:
|
9
10
|
runs-on: ubuntu-latest
|
10
|
-
if: github.
|
11
|
-
env:
|
12
|
-
BUNDLE_WITHOUT: release
|
11
|
+
if: github.repository_owner == 'voxpupuli'
|
13
12
|
steps:
|
14
|
-
- uses: actions/checkout@
|
15
|
-
- name: Install Ruby
|
13
|
+
- uses: actions/checkout@v3
|
14
|
+
- name: Install Ruby 3.0
|
16
15
|
uses: ruby/setup-ruby@v1
|
17
16
|
with:
|
18
|
-
ruby-version: '
|
17
|
+
ruby-version: '3.0'
|
18
|
+
env:
|
19
|
+
BUNDLE_WITHOUT: release:development:rubocop
|
19
20
|
- name: Build gem
|
20
21
|
run: gem build *.gemspec
|
21
|
-
- name: Publish gem
|
22
|
+
- name: Publish gem to rubygems.org
|
22
23
|
run: gem push *.gem
|
23
24
|
env:
|
24
25
|
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
|
26
|
+
- name: Setup GitHub packages access
|
27
|
+
run: |
|
28
|
+
mkdir -p ~/.gem
|
29
|
+
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
|
30
|
+
chmod 0600 ~/.gem/credentials
|
31
|
+
- name: Publish gem to GitHub packages
|
32
|
+
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
data/.github/workflows/test.yml
CHANGED
@@ -1,32 +1,61 @@
|
|
1
1
|
name: Test
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
4
|
+
pull_request: {}
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
8
|
+
|
9
|
+
env:
|
10
|
+
BUNDLE_WITHOUT: release
|
5
11
|
|
6
12
|
jobs:
|
7
|
-
|
13
|
+
rubocop:
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v3
|
17
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
18
|
+
uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: "2.7"
|
21
|
+
bundler-cache: true
|
22
|
+
- name: Run Rubocop
|
23
|
+
run: bundle exec rake rubocop
|
24
|
+
spec:
|
8
25
|
runs-on: ubuntu-latest
|
9
26
|
strategy:
|
10
27
|
fail-fast: false
|
11
28
|
matrix:
|
12
|
-
|
13
|
-
- "2.
|
14
|
-
|
15
|
-
- "
|
16
|
-
- "
|
29
|
+
include:
|
30
|
+
- ruby: "2.7"
|
31
|
+
coverage: "yes"
|
32
|
+
- ruby: "3.0"
|
33
|
+
- ruby: "3.1"
|
34
|
+
- ruby: "3.2"
|
17
35
|
env:
|
18
|
-
|
19
|
-
name: Ruby ${{ matrix.ruby }}
|
36
|
+
COVERAGE: ${{ matrix.coverage }}
|
37
|
+
name: RSpec - Ruby ${{ matrix.ruby }}
|
20
38
|
steps:
|
21
|
-
- uses: actions/checkout@
|
39
|
+
- uses: actions/checkout@v3
|
22
40
|
- name: Install Ruby ${{ matrix.ruby }}
|
23
41
|
uses: ruby/setup-ruby@v1
|
24
42
|
with:
|
25
43
|
ruby-version: ${{ matrix.ruby }}
|
26
44
|
bundler-cache: true
|
27
|
-
- name:
|
45
|
+
- name: spec tests
|
28
46
|
run: bundle exec rake test:spec
|
47
|
+
- name: Build gem
|
48
|
+
run: gem build *.gemspec
|
29
49
|
# It seems some additonal setup of Docker may be needed for
|
30
50
|
# the acceptance tests to work.
|
31
51
|
# - name: Run acceptance tests
|
32
52
|
# run: bundle exec rake test:acceptance
|
53
|
+
|
54
|
+
tests:
|
55
|
+
needs:
|
56
|
+
- spec
|
57
|
+
- rubocop
|
58
|
+
runs-on: ubuntu-latest
|
59
|
+
name: Test suite
|
60
|
+
steps:
|
61
|
+
- run: echo Test suite completed
|
data/.rubocop.yml
ADDED
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,383 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2023-03-27 17:58:31 UTC using RuboCop version 1.48.1.
|
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
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
Lint/AmbiguousRegexpLiteral:
|
12
|
+
Exclude:
|
13
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
14
|
+
|
15
|
+
# Offense count: 1
|
16
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
17
|
+
# Configuration parameters: AllowSafeAssignment.
|
18
|
+
Lint/AssignmentInCondition:
|
19
|
+
Exclude:
|
20
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
21
|
+
|
22
|
+
# Offense count: 1
|
23
|
+
Lint/MissingSuper:
|
24
|
+
Exclude:
|
25
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
26
|
+
|
27
|
+
# Offense count: 1
|
28
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
29
|
+
Lint/NonDeterministicRequireOrder:
|
30
|
+
Exclude:
|
31
|
+
- 'spec/spec_helper.rb'
|
32
|
+
|
33
|
+
# Offense count: 3
|
34
|
+
# This cop supports safe autocorrection (--autocorrect).
|
35
|
+
Lint/RedundantStringCoercion:
|
36
|
+
Exclude:
|
37
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
38
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
39
|
+
|
40
|
+
# Offense count: 1
|
41
|
+
# This cop supports safe autocorrection (--autocorrect).
|
42
|
+
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
43
|
+
Lint/UnusedBlockArgument:
|
44
|
+
Exclude:
|
45
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
46
|
+
|
47
|
+
# Offense count: 3
|
48
|
+
# This cop supports safe autocorrection (--autocorrect).
|
49
|
+
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
50
|
+
Lint/UnusedMethodArgument:
|
51
|
+
Exclude:
|
52
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
53
|
+
- 'lib/beaker/hypervisor/vagrant_custom.rb'
|
54
|
+
|
55
|
+
# Offense count: 2
|
56
|
+
Lint/UselessAssignment:
|
57
|
+
Exclude:
|
58
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
59
|
+
|
60
|
+
# Offense count: 1
|
61
|
+
Naming/AccessorMethodName:
|
62
|
+
Exclude:
|
63
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
64
|
+
|
65
|
+
# Offense count: 3
|
66
|
+
# Configuration parameters: ForbiddenDelimiters.
|
67
|
+
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
68
|
+
Naming/HeredocDelimiterNaming:
|
69
|
+
Exclude:
|
70
|
+
- 'Rakefile'
|
71
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
72
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
73
|
+
|
74
|
+
# Offense count: 1
|
75
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
76
|
+
Performance/InefficientHashSearch:
|
77
|
+
Exclude:
|
78
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
79
|
+
|
80
|
+
# Offense count: 4
|
81
|
+
# This cop supports safe autocorrection (--autocorrect).
|
82
|
+
Performance/RedundantMatch:
|
83
|
+
Exclude:
|
84
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
85
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
86
|
+
|
87
|
+
# Offense count: 1
|
88
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
89
|
+
# Configuration parameters: MaxKeyValuePairs.
|
90
|
+
Performance/RedundantMerge:
|
91
|
+
Exclude:
|
92
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
93
|
+
|
94
|
+
# Offense count: 7
|
95
|
+
# This cop supports safe autocorrection (--autocorrect).
|
96
|
+
Performance/RegexpMatch:
|
97
|
+
Exclude:
|
98
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
99
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
100
|
+
|
101
|
+
# Offense count: 2
|
102
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
103
|
+
Performance/StringInclude:
|
104
|
+
Exclude:
|
105
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
106
|
+
|
107
|
+
# Offense count: 2
|
108
|
+
# This cop supports safe autocorrection (--autocorrect).
|
109
|
+
# Configuration parameters: EnforcedStyle.
|
110
|
+
# SupportedStyles: be, be_nil
|
111
|
+
RSpec/BeNil:
|
112
|
+
Exclude:
|
113
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
114
|
+
|
115
|
+
# Offense count: 14
|
116
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
117
|
+
# Prefixes: when, with, without
|
118
|
+
RSpec/ContextWording:
|
119
|
+
Exclude:
|
120
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
121
|
+
- 'spec/beaker/hypervisor/vagrant_desktop_spec.rb'
|
122
|
+
- 'spec/beaker/hypervisor/vagrant_fusion_spec.rb'
|
123
|
+
- 'spec/beaker/hypervisor/vagrant_libvirt_spec.rb'
|
124
|
+
- 'spec/beaker/hypervisor/vagrant_parallels_spec.rb'
|
125
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
126
|
+
- 'spec/beaker/hypervisor/vagrant_virtualbox_spec.rb'
|
127
|
+
- 'spec/beaker/hypervisor/vagrant_workstation_spec.rb'
|
128
|
+
|
129
|
+
# Offense count: 3
|
130
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
131
|
+
# Configuration parameters: SkipBlocks, EnforcedStyle.
|
132
|
+
# SupportedStyles: described_class, explicit
|
133
|
+
RSpec/DescribedClass:
|
134
|
+
Exclude:
|
135
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
136
|
+
- 'spec/beaker/hypervisor/vagrant_parallels_spec.rb'
|
137
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
138
|
+
|
139
|
+
# Offense count: 2
|
140
|
+
# This cop supports safe autocorrection (--autocorrect).
|
141
|
+
RSpec/EmptyLineAfterFinalLet:
|
142
|
+
Exclude:
|
143
|
+
- 'spec/beaker/hypervisor/vagrant_parallels_spec.rb'
|
144
|
+
- 'spec/beaker/hypervisor/vagrant_virtualbox_spec.rb'
|
145
|
+
|
146
|
+
# Offense count: 19
|
147
|
+
# Configuration parameters: CountAsOne.
|
148
|
+
RSpec/ExampleLength:
|
149
|
+
Max: 17
|
150
|
+
|
151
|
+
# Offense count: 1
|
152
|
+
# This cop supports safe autocorrection (--autocorrect).
|
153
|
+
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
|
154
|
+
# DisallowedExamples: works
|
155
|
+
RSpec/ExampleWording:
|
156
|
+
Exclude:
|
157
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
158
|
+
|
159
|
+
# Offense count: 10
|
160
|
+
RSpec/ExpectInHook:
|
161
|
+
Exclude:
|
162
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
163
|
+
|
164
|
+
# Offense count: 7
|
165
|
+
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
|
166
|
+
# Include: **/*_spec*rb*, **/spec/**/*
|
167
|
+
RSpec/FilePath:
|
168
|
+
Exclude:
|
169
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
170
|
+
- 'spec/beaker/hypervisor/vagrant_desktop_spec.rb'
|
171
|
+
- 'spec/beaker/hypervisor/vagrant_fusion_spec.rb'
|
172
|
+
- 'spec/beaker/hypervisor/vagrant_libvirt_spec.rb'
|
173
|
+
- 'spec/beaker/hypervisor/vagrant_parallels_spec.rb'
|
174
|
+
- 'spec/beaker/hypervisor/vagrant_virtualbox_spec.rb'
|
175
|
+
- 'spec/beaker/hypervisor/vagrant_workstation_spec.rb'
|
176
|
+
|
177
|
+
# Offense count: 5
|
178
|
+
# This cop supports safe autocorrection (--autocorrect).
|
179
|
+
# Configuration parameters: EnforcedStyle.
|
180
|
+
# SupportedStyles: implicit, each, example
|
181
|
+
RSpec/HookArgument:
|
182
|
+
Exclude:
|
183
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
184
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
185
|
+
|
186
|
+
# Offense count: 17
|
187
|
+
# This cop supports safe autocorrection (--autocorrect).
|
188
|
+
# Configuration parameters: EnforcedStyle.
|
189
|
+
# SupportedStyles: single_line_only, single_statement_only, disallow, require_implicit
|
190
|
+
RSpec/ImplicitSubject:
|
191
|
+
Exclude:
|
192
|
+
- 'spec/beaker/hypervisor/vagrant_desktop_spec.rb'
|
193
|
+
- 'spec/beaker/hypervisor/vagrant_fusion_spec.rb'
|
194
|
+
- 'spec/beaker/hypervisor/vagrant_libvirt_spec.rb'
|
195
|
+
- 'spec/beaker/hypervisor/vagrant_parallels_spec.rb'
|
196
|
+
- 'spec/beaker/hypervisor/vagrant_virtualbox_spec.rb'
|
197
|
+
- 'spec/beaker/hypervisor/vagrant_workstation_spec.rb'
|
198
|
+
|
199
|
+
# Offense count: 4
|
200
|
+
# Configuration parameters: AssignmentOnly.
|
201
|
+
RSpec/InstanceVariable:
|
202
|
+
Exclude:
|
203
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
204
|
+
|
205
|
+
# Offense count: 2
|
206
|
+
# This cop supports safe autocorrection (--autocorrect).
|
207
|
+
RSpec/LeadingSubject:
|
208
|
+
Exclude:
|
209
|
+
- 'spec/beaker/hypervisor/vagrant_parallels_spec.rb'
|
210
|
+
- 'spec/beaker/hypervisor/vagrant_virtualbox_spec.rb'
|
211
|
+
|
212
|
+
# Offense count: 73
|
213
|
+
# Configuration parameters: .
|
214
|
+
# SupportedStyles: have_received, receive
|
215
|
+
RSpec/MessageSpies:
|
216
|
+
EnforcedStyle: receive
|
217
|
+
|
218
|
+
# Offense count: 17
|
219
|
+
RSpec/MultipleExpectations:
|
220
|
+
Max: 5
|
221
|
+
|
222
|
+
# Offense count: 2
|
223
|
+
# Configuration parameters: AllowSubject.
|
224
|
+
RSpec/MultipleMemoizedHelpers:
|
225
|
+
Max: 6
|
226
|
+
|
227
|
+
# Offense count: 3
|
228
|
+
# This cop supports safe autocorrection (--autocorrect).
|
229
|
+
# Configuration parameters: EnforcedStyle.
|
230
|
+
# SupportedStyles: not_to, to_not
|
231
|
+
RSpec/NotToNot:
|
232
|
+
Exclude:
|
233
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
234
|
+
|
235
|
+
# Offense count: 2
|
236
|
+
# This cop supports safe autocorrection (--autocorrect).
|
237
|
+
RSpec/ReceiveNever:
|
238
|
+
Exclude:
|
239
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
240
|
+
|
241
|
+
# Offense count: 3
|
242
|
+
RSpec/StubbedMock:
|
243
|
+
Exclude:
|
244
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
245
|
+
|
246
|
+
# Offense count: 1
|
247
|
+
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
248
|
+
RSpec/VerifiedDoubles:
|
249
|
+
Exclude:
|
250
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
251
|
+
|
252
|
+
# Offense count: 3
|
253
|
+
# This cop supports safe autocorrection (--autocorrect).
|
254
|
+
Rake/Desc:
|
255
|
+
Exclude:
|
256
|
+
- 'Rakefile'
|
257
|
+
|
258
|
+
# Offense count: 7
|
259
|
+
# This cop supports safe autocorrection (--autocorrect).
|
260
|
+
# Configuration parameters: AllowOnConstant, AllowOnSelfClass.
|
261
|
+
Style/CaseEquality:
|
262
|
+
Exclude:
|
263
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
264
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
265
|
+
|
266
|
+
# Offense count: 8
|
267
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
268
|
+
# Configuration parameters: EnforcedStyle.
|
269
|
+
# SupportedStyles: nested, compact
|
270
|
+
Style/ClassAndModuleChildren:
|
271
|
+
Exclude:
|
272
|
+
- 'lib/beaker/hypervisor/vagrant/mount_folder.rb'
|
273
|
+
- 'lib/beaker/hypervisor/vagrant_custom.rb'
|
274
|
+
- 'lib/beaker/hypervisor/vagrant_desktop.rb'
|
275
|
+
- 'lib/beaker/hypervisor/vagrant_fusion.rb'
|
276
|
+
- 'lib/beaker/hypervisor/vagrant_libvirt.rb'
|
277
|
+
- 'lib/beaker/hypervisor/vagrant_parallels.rb'
|
278
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
279
|
+
- 'lib/beaker/hypervisor/vagrant_workstation.rb'
|
280
|
+
|
281
|
+
# Offense count: 9
|
282
|
+
# Configuration parameters: AllowedConstants.
|
283
|
+
Style/Documentation:
|
284
|
+
Exclude:
|
285
|
+
- 'spec/**/*'
|
286
|
+
- 'test/**/*'
|
287
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
288
|
+
- 'lib/beaker/hypervisor/vagrant/mount_folder.rb'
|
289
|
+
- 'lib/beaker/hypervisor/vagrant_custom.rb'
|
290
|
+
- 'lib/beaker/hypervisor/vagrant_desktop.rb'
|
291
|
+
- 'lib/beaker/hypervisor/vagrant_fusion.rb'
|
292
|
+
- 'lib/beaker/hypervisor/vagrant_libvirt.rb'
|
293
|
+
- 'lib/beaker/hypervisor/vagrant_parallels.rb'
|
294
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
295
|
+
- 'lib/beaker/hypervisor/vagrant_workstation.rb'
|
296
|
+
|
297
|
+
# Offense count: 1
|
298
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
299
|
+
Style/EnvHome:
|
300
|
+
Exclude:
|
301
|
+
- 'Rakefile'
|
302
|
+
|
303
|
+
# Offense count: 24
|
304
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
305
|
+
# Configuration parameters: EnforcedStyle.
|
306
|
+
# SupportedStyles: always, always_true, never
|
307
|
+
Style/FrozenStringLiteralComment:
|
308
|
+
Enabled: false
|
309
|
+
|
310
|
+
# Offense count: 9
|
311
|
+
# This cop supports safe autocorrection (--autocorrect).
|
312
|
+
Style/IfUnlessModifier:
|
313
|
+
Exclude:
|
314
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
315
|
+
- 'lib/beaker/hypervisor/vagrant_desktop.rb'
|
316
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
317
|
+
- 'lib/beaker/hypervisor/vagrant_workstation.rb'
|
318
|
+
|
319
|
+
# Offense count: 6
|
320
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
321
|
+
Style/LineEndConcatenation:
|
322
|
+
Exclude:
|
323
|
+
- 'lib/beaker/hypervisor/vagrant_fusion.rb'
|
324
|
+
- 'lib/beaker/hypervisor/vagrant_libvirt.rb'
|
325
|
+
|
326
|
+
# Offense count: 2
|
327
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
328
|
+
# Configuration parameters: EnforcedStyle.
|
329
|
+
# SupportedStyles: literals, strict
|
330
|
+
Style/MutableConstant:
|
331
|
+
Exclude:
|
332
|
+
- 'bin/beaker-vagrant'
|
333
|
+
- 'lib/beaker-vagrant/version.rb'
|
334
|
+
|
335
|
+
# Offense count: 2
|
336
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
337
|
+
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
338
|
+
# AllowedMethods: present?, blank?, presence, try, try!
|
339
|
+
Style/SafeNavigation:
|
340
|
+
Exclude:
|
341
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
342
|
+
|
343
|
+
# Offense count: 1
|
344
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
345
|
+
Style/SlicingWithRange:
|
346
|
+
Exclude:
|
347
|
+
- 'lib/beaker/hypervisor/vagrant_libvirt.rb'
|
348
|
+
|
349
|
+
# Offense count: 6
|
350
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
351
|
+
# Configuration parameters: Mode.
|
352
|
+
Style/StringConcatenation:
|
353
|
+
Exclude:
|
354
|
+
- 'lib/beaker/hypervisor/vagrant.rb'
|
355
|
+
- 'lib/beaker/hypervisor/vagrant_fusion.rb'
|
356
|
+
- 'lib/beaker/hypervisor/vagrant_libvirt.rb'
|
357
|
+
- 'spec/beaker/hypervisor/vagrant_custom_spec.rb'
|
358
|
+
- 'spec/spec_helper.rb'
|
359
|
+
|
360
|
+
# Offense count: 2
|
361
|
+
# This cop supports safe autocorrection (--autocorrect).
|
362
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
363
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
364
|
+
Style/TrailingCommaInArrayLiteral:
|
365
|
+
Exclude:
|
366
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
367
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
368
|
+
|
369
|
+
# Offense count: 21
|
370
|
+
# This cop supports safe autocorrection (--autocorrect).
|
371
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
372
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
373
|
+
Style/TrailingCommaInHashLiteral:
|
374
|
+
Exclude:
|
375
|
+
- 'lib/beaker/hypervisor/vagrant_virtualbox.rb'
|
376
|
+
- 'spec/beaker/hypervisor/vagrant_spec.rb'
|
377
|
+
|
378
|
+
# Offense count: 23
|
379
|
+
# This cop supports safe autocorrection (--autocorrect).
|
380
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
381
|
+
# URISchemes: http, https
|
382
|
+
Layout/LineLength:
|
383
|
+
Max: 222
|