github_urls 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/github_urls/parser.rb +1 -2
- data/lib/github_urls/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b38b1081b0126d68a014569289864e790d5e322
|
|
4
|
+
data.tar.gz: a552d65a6b9c9bffaffb28c6db00938d2c9aa4fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baa0f52a3658bce462608215e3da5d2668e474a047c8112269bdad087a4604606afa19b93c61e4afb9562631daf0c9e1b89128687f79213b0dd93516939a117f
|
|
7
|
+
data.tar.gz: 35e9aec6e0ed9a54f9e89cc6b91828ccda10c82d5572b5b2280d5de824bb0e8a8e89977735b4c8c96a0a5a94d3c70de3ec2f523f6bae7cef9023653277144c70
|
data/lib/github_urls/parser.rb
CHANGED
|
@@ -88,7 +88,7 @@ module GithubUrls
|
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
def remove_scheme
|
|
91
|
-
url.gsub!(/(((git|ssh|hg|svn|scm|http|https)+?:)+?)/i, '')
|
|
91
|
+
url.gsub!(/(((git\+https|git|ssh|hg|svn|scm|http|https)+?:)+?)/i, '')
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
def remove_subdomain
|
|
@@ -109,4 +109,3 @@ module GithubUrls
|
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
end
|
|
112
|
-
|
data/lib/github_urls/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: github_urls
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Nesbitt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|