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
513b0e1d
Commit
513b0e1d
authored
Dec 03, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rails/SaveBang offenses
Changelog: other EE: true
parent
749370c5
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 @
513b0e1d
---
---
Rails/SaveBang
:
Rails/SaveBang
:
Exclude
:
Exclude
:
-
ee/spec/initializers/fog_google_https_private_urls_spec.rb
-
ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb
-
ee/spec/lib/analytics/merge_request_metrics_calculator_spec.rb
-
ee/spec/lib/ee/gitlab/auth/ldap/sync/group_spec.rb
-
ee/spec/lib/ee/gitlab/auth/ldap/sync/group_spec.rb
-
ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb
-
ee/spec/lib/ee/gitlab/checks/push_rules/commit_check_spec.rb
...
...
ee/spec/initializers/fog_google_https_private_urls_spec.rb
View file @
513b0e1d
...
@@ -13,8 +13,8 @@ RSpec.describe 'Fog::Storage::GoogleXML::File' do
...
@@ -13,8 +13,8 @@ RSpec.describe 'Fog::Storage::GoogleXML::File' do
end
end
let
(
:file
)
do
let
(
:file
)
do
directory
=
storage
.
directories
.
create
(
key:
'data'
)
directory
=
storage
.
directories
.
create
(
key:
'data'
)
# rubocop:disable Rails/SaveBang
directory
.
files
.
create
(
directory
.
files
.
create
(
# rubocop:disable Rails/SaveBang
body:
'Hello World!'
,
body:
'Hello World!'
,
key:
'hello_world.txt'
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