Define GITORIOUS_HOST only once
This commit is contained in:
parent
1c4604bff6
commit
2f3ab0ab85
3 changed files with 5 additions and 4 deletions
5
lib/gitlab/gitorious_import.rb
Normal file
5
lib/gitlab/gitorious_import.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module Gitlab
|
||||
module GitoriousImport
|
||||
GITORIOUS_HOST = "https://gitorious.org"
|
||||
end
|
||||
end
|
|
@ -1,7 +1,5 @@
|
|||
module Gitlab
|
||||
module GitoriousImport
|
||||
GITORIOUS_HOST = "https://gitorious.org"
|
||||
|
||||
class Client
|
||||
attr_reader :repo_list
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
module Gitlab
|
||||
module GitoriousImport
|
||||
GITORIOUS_HOST = "https://gitorious.org"
|
||||
|
||||
Repository = Struct.new(:full_name) do
|
||||
def id
|
||||
Digest::SHA1.hexdigest(full_name)
|
||||
|
|
Loading…
Reference in a new issue