File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -164,18 +164,6 @@ RSpec/StubbedMock:
164
164
Exclude :
165
165
- ' spec/unit/lib/facter/docker_spec.rb'
166
166
167
- # Offense count: 1
168
- # This cop supports safe autocorrection (--autocorrect).
169
- Style/RedundantConditional :
170
- Exclude :
171
- - ' spec/helper/get_defaults.rb'
172
-
173
- # Offense count: 2
174
- # This cop supports safe autocorrection (--autocorrect).
175
- Style/RedundantRegexpCharacterClass :
176
- Exclude :
177
- - ' spec/classes/compose_spec.rb'
178
-
179
167
# Offense count: 42
180
168
# This cop supports safe autocorrection (--autocorrect).
181
169
Style/RedundantRegexpEscape :
Original file line number Diff line number Diff line change 74
74
end
75
75
76
76
if params [ 'proxy' ] != :undef
77
- unless %r{^((http[s] ?)?:\/ \/ )?([^:^@]+:[^:^@]+@|)([\d a-z\. -]+)\. ([\d a-z\. ]{2,6})(:[ \d ] )?([\/ \w \. -]*)*\/ ?$} . match? ( params [ 'proxy' ] )
77
+ unless %r{^((https ?)?:\/ \/ )?([^:^@]+:[^:^@]+@|)([\d a-z\. -]+)\. ([\d a-z\. ]{2,6})(:\d )?([\/ \w \. -]*)*\/ ?$} . match? ( params [ 'proxy' ] )
78
78
it {
79
79
expect ( subject ) . to compile . and_raise_error ( %r{does not match} )
80
80
}
You can’t perform that action at this time.
0 commit comments