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
a8903d9c
Commit
a8903d9c
authored
Mar 02, 2021
by
Kassio Borges
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary method_missing from Bitbucket impoters
parent
e367975a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
lib/bitbucket/collection.rb
lib/bitbucket/collection.rb
+0
-8
lib/bitbucket_server/collection.rb
lib/bitbucket_server/collection.rb
+0
-8
No files found.
lib/bitbucket/collection.rb
View file @
a8903d9c
...
@@ -11,13 +11,5 @@ module Bitbucket
...
@@ -11,13 +11,5 @@ module Bitbucket
lazy
lazy
end
end
def
method_missing
(
method
,
*
args
)
return
super
unless
self
.
respond_to?
(
method
)
self
.
__send__
(
method
,
*
args
)
do
|
item
|
# rubocop:disable GitlabSecurity/PublicSend
block_given?
?
yield
(
item
)
:
item
end
end
end
end
end
end
lib/bitbucket_server/collection.rb
View file @
a8903d9c
...
@@ -35,13 +35,5 @@ module BitbucketServer
...
@@ -35,13 +35,5 @@ module BitbucketServer
current_page
+
1
current_page
+
1
end
end
def
method_missing
(
method
,
*
args
)
return
super
unless
self
.
respond_to?
(
method
)
self
.
__send__
(
method
,
*
args
)
do
|
item
|
# rubocop:disable GitlabSecurity/PublicSend
block_given?
?
yield
(
item
)
:
item
end
end
end
end
end
end
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