Define GITORIOUS_HOST only once
This commit is contained in:
parent
1c4604bff6
commit
2f3ab0ab85
|
@ -0,0 +1,5 @@
|
||||||
|
module Gitlab
|
||||||
|
module GitoriousImport
|
||||||
|
GITORIOUS_HOST = "https://gitorious.org"
|
||||||
|
end
|
||||||
|
end
|
|
@ -1,7 +1,5 @@
|
||||||
module Gitlab
|
module Gitlab
|
||||||
module GitoriousImport
|
module GitoriousImport
|
||||||
GITORIOUS_HOST = "https://gitorious.org"
|
|
||||||
|
|
||||||
class Client
|
class Client
|
||||||
attr_reader :repo_list
|
attr_reader :repo_list
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
module Gitlab
|
module Gitlab
|
||||||
module GitoriousImport
|
module GitoriousImport
|
||||||
GITORIOUS_HOST = "https://gitorious.org"
|
|
||||||
|
|
||||||
Repository = Struct.new(:full_name) do
|
Repository = Struct.new(:full_name) do
|
||||||
def id
|
def id
|
||||||
Digest::SHA1.hexdigest(full_name)
|
Digest::SHA1.hexdigest(full_name)
|
||||||
|
|
Loading…
Reference in New Issue