lib/repomen/repo/service/git_hub.rb in repomen-0.2.0.rc1 vs lib/repomen/repo/service/git_hub.rb in repomen-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
module Repomen
module Repo
module Service
class GitHub < Base
- SERVICE_REGEXP = /(https:\/\/|git\@)github.com[\:\/]([^\/]+)\/(.+)\.git$/
+ SERVICE_REGEXP = /(https:\/\/|git:\/\/|git\@)github.com[\:\/]([^\/]+)\/(.+)\.git$/
# @param url [String]
def applicable?
url =~ SERVICE_REGEXP
end