lock_diff 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a35e092eff2fd15a246959c94bd3c4c3f215c249
4
- data.tar.gz: 3d5c266790e4e566d5fd2cb9db493efd132a3c7f
3
+ metadata.gz: 54743197176c06b5104c91eb515f6e2280b3c244
4
+ data.tar.gz: 87dc61b1fc08f521d743c43a00cbc2069dc0e9b7
5
5
  SHA512:
6
- metadata.gz: 37efd2993cde4442d4c7d2745fc776132289c8aa1fbd6af51643f1ed23120791ad3b9a3cc3bc9079e1f725d653aac8c8931a7795ea9b63ffc972d919d220beb0
7
- data.tar.gz: 44ee9a21ed69808176821320b2a8667132bdce6f7b822ddc8d83f2b62c2f9ec93b8c22bb1309441e5b27c569ab314663bb3a3594aa9e06bd852ac75ed222d284
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?(/.+\/.+/)
@@ -1,3 +1,3 @@
1
1
  module LockDiff
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
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.1
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-01 00:00:00.000000000 Z
11
+ date: 2018-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit