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
4160a8dd
Commit
4160a8dd
authored
Jul 25, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable frozen_string_literal
parent
ff3291e5
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
2 deletions
+24
-2
lib/bitbucket_server/client.rb
lib/bitbucket_server/client.rb
+2
-0
lib/bitbucket_server/collection.rb
lib/bitbucket_server/collection.rb
+2
-0
lib/bitbucket_server/connection.rb
lib/bitbucket_server/connection.rb
+3
-1
lib/bitbucket_server/page.rb
lib/bitbucket_server/page.rb
+2
-0
lib/bitbucket_server/paginator.rb
lib/bitbucket_server/paginator.rb
+2
-0
lib/bitbucket_server/representation/activity.rb
lib/bitbucket_server/representation/activity.rb
+3
-1
lib/bitbucket_server/representation/base.rb
lib/bitbucket_server/representation/base.rb
+2
-0
lib/bitbucket_server/representation/comment.rb
lib/bitbucket_server/representation/comment.rb
+2
-0
lib/bitbucket_server/representation/pull_request.rb
lib/bitbucket_server/representation/pull_request.rb
+2
-0
lib/bitbucket_server/representation/pull_request_comment.rb
lib/bitbucket_server/representation/pull_request_comment.rb
+2
-0
lib/bitbucket_server/representation/repo.rb
lib/bitbucket_server/representation/repo.rb
+2
-0
No files found.
lib/bitbucket_server/client.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
class
Client
attr_reader
:connection
...
...
lib/bitbucket_server/collection.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
class
Collection
<
Enumerator
def
initialize
(
paginator
)
...
...
lib/bitbucket_server/connection.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
class
Connection
include
ActionView
::
Helpers
::
SanitizeHelper
DEFAULT_API_VERSION
=
'1.0'
.
freeze
DEFAULT_API_VERSION
=
'1.0'
attr_reader
:api_version
,
:base_uri
,
:username
,
:token
...
...
lib/bitbucket_server/page.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
class
Page
attr_reader
:attrs
,
:items
...
...
lib/bitbucket_server/paginator.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
class
Paginator
PAGE_LENGTH
=
25
...
...
lib/bitbucket_server/representation/activity.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
module
Representation
class
Activity
<
Representation
::
Base
...
...
@@ -6,7 +8,7 @@ module BitbucketServer
end
def
comment?
action
==
'COMMENTED'
.
freeze
action
==
'COMMENTED'
end
def
inline_comment?
...
...
lib/bitbucket_server/representation/base.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
module
Representation
class
Base
...
...
lib/bitbucket_server/representation/comment.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
module
Representation
# A general comment with the structure:
...
...
lib/bitbucket_server/representation/pull_request.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
module
Representation
class
PullRequest
<
Representation
::
Base
...
...
lib/bitbucket_server/representation/pull_request_comment.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
module
Representation
# An inline comment with the following structure that identifies
...
...
lib/bitbucket_server/representation/repo.rb
View file @
4160a8dd
# frozen_string_literal: true
module
BitbucketServer
module
Representation
class
Repo
<
Representation
::
Base
...
...
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