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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-shell
Commits
339b79b0
Commit
339b79b0
authored
Jun 23, 2016
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put Redis loading code in one place
parent
c6f14956
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
lib/gitlab_config.rb
lib/gitlab_config.rb
+0
-1
lib/gitlab_net.rb
lib/gitlab_net.rb
+1
-1
lib/gitlab_redis.rb
lib/gitlab_redis.rb
+2
-0
No files found.
lib/gitlab_config.rb
View file @
339b79b0
$:
.
unshift
(
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'vendor/redis/lib'
)))
require
'yaml'
class
GitlabConfig
...
...
lib/gitlab_net.rb
View file @
339b79b0
require
'net/http'
require
'openssl'
require
'json'
require
'redis'
require_relative
'gitlab_config'
require_relative
'gitlab_logger'
require_relative
'gitlab_access'
require_relative
'gitlab_redis'
require_relative
'httpunix'
class
GitlabNet
...
...
lib/gitlab_redis.rb
0 → 100644
View file @
339b79b0
$:
.
unshift
(
File
.
expand_path
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'vendor/redis/lib'
)))
require
'redis'
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