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
7077c3d2
Commit
7077c3d2
authored
Nov 12, 2021
by
mehulsharma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix OpenStruct use
Fixed OpenStruct use since Ruby 3 discourages it Changelog: changed
parent
b46673c8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb
spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
7077c3d2
...
@@ -2604,7 +2604,6 @@ Style/OpenStructUse:
...
@@ -2604,7 +2604,6 @@ Style/OpenStructUse:
-
'
spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb'
-
'
spec/lib/gitlab/gitaly_client/blobs_stitcher_spec.rb'
-
'
spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb'
-
'
spec/lib/gitlab/gitaly_client/diff_stitcher_spec.rb'
-
'
spec/lib/gitlab/grape_logging/loggers/exception_logger_spec.rb'
-
'
spec/lib/gitlab/grape_logging/loggers/exception_logger_spec.rb'
-
'
spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb'
-
'
spec/lib/gitlab/graphql/pagination/keyset/connection_generic_keyset_spec.rb'
-
'
spec/lib/gitlab/graphql/pagination/keyset/connection_generic_keyset_spec.rb'
-
'
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb'
-
'
spec/lib/gitlab/graphql/pagination/keyset/connection_spec.rb'
-
'
spec/lib/gitlab/legacy_github_import/project_creator_spec.rb'
-
'
spec/lib/gitlab/legacy_github_import/project_creator_spec.rb'
...
...
spec/lib/gitlab/grape_logging/loggers/perf_logger_spec.rb
View file @
7077c3d2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
require
'spec_helper'
require
'spec_helper'
RSpec
.
describe
Gitlab
::
GrapeLogging
::
Loggers
::
PerfLogger
do
RSpec
.
describe
Gitlab
::
GrapeLogging
::
Loggers
::
PerfLogger
do
let
(
:mock_request
)
{
OpenStruct
.
new
(
env:
{})
}
let
(
:mock_request
)
{
double
(
'env'
,
env:
{})
}
describe
".parameters"
do
describe
".parameters"
do
subject
{
described_class
.
new
.
parameters
(
mock_request
,
nil
)
}
subject
{
described_class
.
new
.
parameters
(
mock_request
,
nil
)
}
...
...
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