git-it 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/git-it/link_generator.rb +4 -4
- data/lib/git-it/version.rb +1 -1
- metadata +1 -1
@@ -9,11 +9,11 @@ module GitIt
|
|
9
9
|
def initialize(repository_url)
|
10
10
|
@repository_url = repository_url
|
11
11
|
|
12
|
-
@repo = /^git@(
|
12
|
+
@repo = /^git@(.*):(.*)\/(.*).git$/.match(@repository_url)
|
13
13
|
|
14
|
-
@site = @repo[
|
15
|
-
@user = @repo[
|
16
|
-
@proj = @repo[
|
14
|
+
@site = @repo[1]
|
15
|
+
@user = @repo[2]
|
16
|
+
@proj = @repo[3]
|
17
17
|
end
|
18
18
|
|
19
19
|
# https://github.com/more-ron/git-it/tree/gh-pages
|
data/lib/git-it/version.rb
CHANGED