Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4bfd3aa7
Commit
4bfd3aa7
authored
Dec 24, 2021
by
Kerri Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue_220040_1' into 'master'
Fix Rails/SaveBang offenses See merge request gitlab-org/gitlab!75894
parents
90a57559
513b0e1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.rubocop_todo/rails/save_bang.yml
.rubocop_todo/rails/save_bang.yml
+0
-1
ee/spec/initializers/fog_google_https_private_urls_spec.rb
ee/spec/initializers/fog_google_https_private_urls_spec.rb
+2
-2
No files found.
.rubocop_todo/rails/save_bang.yml
View file @
4bfd3aa7
---
Rails/SaveBang
:
Exclude
:
-
ee/spec/initializers/fog_google_https_private_urls_spec.rb
-
ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb
-
ee/spec/lib/gitlab/auth/ldap/access_spec.rb
-
ee/spec/lib/gitlab/auth/o_auth/user_spec.rb
...
...
ee/spec/initializers/fog_google_https_private_urls_spec.rb
View file @
4bfd3aa7
...
...
@@ -13,8 +13,8 @@ RSpec.describe 'Fog::Storage::GoogleXML::File' do
end
let
(
:file
)
do
directory
=
storage
.
directories
.
create
(
key:
'data'
)
directory
.
files
.
create
(
directory
=
storage
.
directories
.
create
(
key:
'data'
)
# rubocop:disable Rails/SaveBang
directory
.
files
.
create
(
# rubocop:disable Rails/SaveBang
body:
'Hello World!'
,
key:
'hello_world.txt'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment