lock_diff 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lock_diff/github/repository_name_detector.rb +1 -1
- data/lib/lock_diff/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: 54743197176c06b5104c91eb515f6e2280b3c244
|
4
|
+
data.tar.gz: 87dc61b1fc08f521d743c43a00cbc2069dc0e9b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adfab7647a888defe0259dcc67059456bac7473a6c1d5059115adcd9f0333d378a2039ee590589d1b033aaf35eda6f950327b0ab5598dcabc9a628231392804c
|
7
|
+
data.tar.gz: 6a388bd9d05b23b63f7cbcdd233c4bb170a2cd853169a2f4e4423e798862e220fe084ed410415bcc1f8d358004ce2fbf4a487d75b6c467ad47b088ce5b4275a5
|
@@ -9,7 +9,7 @@ module LockDiff
|
|
9
9
|
|
10
10
|
def call
|
11
11
|
return unless @url
|
12
|
-
path = @url.match(REGEXP).to_a.last
|
12
|
+
path = @url.match(REGEXP).to_a.last&.split('#')&.first
|
13
13
|
return unless path
|
14
14
|
repository_name = path.split("/").first(2).join("/")
|
15
15
|
repository_name if repository_name.match?(/.+\/.+/)
|
data/lib/lock_diff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lock_diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vividmuimui
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|