dpu 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dpu/version.rb +1 -1
  3. data/lib/dpu.rb +4 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc1df2b2b6db3067385612eecae5a6331a6d32114fe804a45e5a0bd11b1e6bf4
4
- data.tar.gz: 47180bd8543637cd3e88e5c146add3482c1f5df101e44552b205bd6dd7d6269d
3
+ metadata.gz: 1d4e5362a3f5be5dd2a03b88cf4d9223a492dbc0612721ae90e0235cc7440bfd
4
+ data.tar.gz: 36f99c5337c5810d9c0daf40ea10cc2588e54e129ca7839faad50170772b093d
5
5
  SHA512:
6
- metadata.gz: 9a392209f79675f3682335d8eb58afb07a3ffb923fe6ca3110423e13d0cc027338dc270402272a4ccd2d43c7d940eda76590e43257307b5d282474178f465bb4
7
- data.tar.gz: de6f335e3299befaccf1d4022fcc9de331533fe07ad804b153558c728ca3258bd499e3eee008d2242936de6214d9e59f3ed9ce7dec35bfc6312539c958d16b9c
6
+ metadata.gz: e278b4267be87dd61903c6b18b3283c47bb35c2cd2a08a1cb6f9c18ef2a5f1e6ce0e135845b59ceba18b0cc269bd6f976a220968111f7116992e9710cd7cb24f
7
+ data.tar.gz: 9c4bda05c75bb0a19f01352a45309c17276a5f15ea6f5c5446922b4f8042f0ceb747355216163c1bc18023c5c65190829b56f6e19937f619736447ae83792176
data/lib/dpu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dpu
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  end
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>.+)(?=\.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)},
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpu
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
  - Yuya.Nishida.