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 +4 -4
- data/lib/lock_diff/github/repository_name_detector.rb +2 -1
- data/lib/lock_diff/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99d71b865926784f4d4eeabffc55868d5ca2092b
|
4
|
+
data.tar.gz: 212ca9943ff2f86162986bc0e186c1f8c9519286
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.3.
|
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-
|
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.
|
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
|