Commit 2f3ab0ab authored by Robert Speicher's avatar Robert Speicher

Define GITORIOUS_HOST only once

parent 1c4604bf
module Gitlab
module GitoriousImport
GITORIOUS_HOST = "https://gitorious.org"
end
end
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
......
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment