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 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 New Issue