Skip to content
代码片段 群组 项目
提交 2f3ab0ab 编辑于 作者: Robert Speicher's avatar Robert Speicher
浏览文件

Define GITORIOUS_HOST only once

上级 1c4604bf
No related branches found
No related tags found
无相关合并请求
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)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册