Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
0
Merge Requests
0
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
iv
gitlab-shell
Commits
c35ba969
Commit
c35ba969
authored
Oct 04, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #182 from cirosantilli/split-instance-var-defs
Split one instance variable per line
parents
064fbfae
18bc7683
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/gitlab_access.rb
lib/gitlab_access.rb
+2
-1
No files found.
lib/gitlab_access.rb
View file @
c35ba969
...
@@ -10,7 +10,8 @@ class GitlabAccess
...
@@ -10,7 +10,8 @@ class GitlabAccess
def
initialize
(
repo_path
,
actor
,
changes
)
def
initialize
(
repo_path
,
actor
,
changes
)
@config
=
GitlabConfig
.
new
@config
=
GitlabConfig
.
new
@repo_path
,
@actor
=
repo_path
.
strip
,
actor
@repo_path
=
repo_path
.
strip
@actor
=
actor
@repo_name
=
extract_repo_name
(
@repo_path
.
dup
,
config
.
repos_path
.
to_s
)
@repo_name
=
extract_repo_name
(
@repo_path
.
dup
,
config
.
repos_path
.
to_s
)
@changes
=
changes
.
lines
@changes
=
changes
.
lines
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