lock_diff 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be2e92ea138be9c068f1c4a90a4a62d0684643de
4
- data.tar.gz: f1717a0ec899c42cbc9d33697e065c9ee63d23a7
3
+ metadata.gz: 99d71b865926784f4d4eeabffc55868d5ca2092b
4
+ data.tar.gz: 212ca9943ff2f86162986bc0e186c1f8c9519286
5
5
  SHA512:
6
- metadata.gz: b91f6b0a99c4382817b63de18d26a446ba644204b6994b5df522336f12581197bf3c5ed47f3941624845c62da56d67b4bc69e7627ba8dd89025a705cbe5de3e2
7
- data.tar.gz: 58b34be40b17940180f05e3930255a00047c32830622581f51885f2a1788380ca7e8acc4c287bbbaf78f822b83719cd3de15c6cb412b73d208c448dafb31b4f6
6
+ metadata.gz: 86a0075919a9d74e950178f69327fbbf0149aea3116cb3728e19b7a2a69524b4d835e3b74b6927945d79bb4a42b73729bf993826ccf726b7113c88040bf0d566
7
+ data.tar.gz: 4a5122095475b6476ee07406a4b82d893ced18655c83d1ad9d2bc326d64bde39ce08b9fac81d72daf4aba906e2ad17af8493f443a0c8015e3f51e109ed7fbcd2
@@ -11,7 +11,8 @@ module LockDiff
11
11
  return unless @url
12
12
  path = @url.match(REGEXP).to_a.last
13
13
  return unless path
14
- path.split("/").first(2).join("/")
14
+ repository_name = path.split("/").first(2).join("/")
15
+ repository_name if repository_name.match?(/.+\/.+/)
15
16
  end
16
17
 
17
18
  end
@@ -1,3 +1,3 @@
1
1
  module LockDiff
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - vividmuimui
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-30 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  requirements: []
188
188
  rubyforge_project:
189
- rubygems_version: 2.6.11
189
+ rubygems_version: 2.6.13
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: This gem detects changes to your package manager (e.g. Gemfile) and generates