lib/repomen/repo/service/git_hub.rb in repomen-0.2.0 vs lib/repomen/repo/service/git_hub.rb in repomen-0.2.1

- old
+ new

@@ -1,9 +1,9 @@ module Repomen module Repo module Service class GitHub < Base - SERVICE_REGEXP = /(https:\/\/|git:\/\/|git\@)github.com[\:\/]([^\/]+)\/(.+)\.git$/ + SERVICE_REGEXP = /(https:\/\/|git:\/\/|git\@)github.com[\:\/]([^\/]+)\/(.+?)(\.git)?$/ # @param url [String] def applicable? url =~ SERVICE_REGEXP end