dpu 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/dpu/version.rb +1 -1
- data/lib/dpu.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d4e5362a3f5be5dd2a03b88cf4d9223a492dbc0612721ae90e0235cc7440bfd
|
4
|
+
data.tar.gz: 36f99c5337c5810d9c0daf40ea10cc2588e54e129ca7839faad50170772b093d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e278b4267be87dd61903c6b18b3283c47bb35c2cd2a08a1cb6f9c18ef2a5f1e6ce0e135845b59ceba18b0cc269bd6f976a220968111f7116992e9710cd7cb24f
|
7
|
+
data.tar.gz: 9c4bda05c75bb0a19f01352a45309c17276a5f15ea6f5c5446922b4f8042f0ceb747355216163c1bc18023c5c65190829b56f6e19937f619736447ae83792176
|
data/lib/dpu/version.rb
CHANGED
data/lib/dpu.rb
CHANGED
@@ -15,10 +15,10 @@ module Dpu
|
|
15
15
|
}
|
16
16
|
|
17
17
|
GITHUB_REMOTE_URL_PATTERN = [
|
18
|
-
%r{\Agit://github\.com/(?<account_name>[^/]+)/(?<repository_name
|
19
|
-
%r{\Ahttps?://github\.com/(?<account_name>[^/]+)/(?<repository_name
|
20
|
-
%r{\Agit@github\.com:(?<account_name>[^/]+)/(?<repository_name
|
21
|
-
%r{\Assh://git@github\.com/(?<account_name>[^/]+)/(?<repository_name
|
18
|
+
%r{\Agit://github\.com/(?<account_name>[^/]+)/(?<repository_name>[^/]+(?=\.git)|[^/]+)},
|
19
|
+
%r{\Ahttps?://github\.com/(?<account_name>[^/]+)/(?<repository_name>[^/]+(?=\.git)|[^/]+)},
|
20
|
+
%r{\Agit@github\.com:(?<account_name>[^/]+)/(?<repository_name>[^/]+(?=\.git)|[^/]+)},
|
21
|
+
%r{\Assh://git@github\.com/(?<account_name>[^/]+)/(?<repository_name>[^/]+(?=\.git)|[^/]+)},
|
22
22
|
].then { |patterns|
|
23
23
|
Regexp.union(*patterns)
|
24
24
|
}
|