avm-git 0.4.0 → 0.5.0

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
  SHA256:
3
- metadata.gz: 6ccc02d39c308d010059d17bd42150ca168b1e76039ab0a28148d06a2ef496ee
4
- data.tar.gz: 89f76d4f5229f0c0e123fb8aac64f85c0e8961305bd09a488b548730114cd58c
3
+ metadata.gz: '09a9b23e21f6c8402cda511ff350c08856b39be0a2dffba63f53dbeb4f98924e'
4
+ data.tar.gz: 9f48b12b0bf0a063ef706b14a5278ac120cb44467b3d602cc081fa34ef83550e
5
5
  SHA512:
6
- metadata.gz: 557ece35c07e8b71c7602cf021337bff0bc8f1bcb772b9f6941acdaf882a6fb53d2e6b66a300b9d1ff52064abdc030bf1b526516b327ca6806fd738a59f3160f
7
- data.tar.gz: 3c82e7e13e5fe6e238f2114c9972b0b9030ba25604573f8875dee3a131319587bed10c2d0a14ca0d19d26a74867b5b7d58dfc83dc7d1b0d1a7f5ff1bcb14087e
6
+ metadata.gz: 802addab9795fe7ee716a3a12686d8bb1db3dbb572bbe30e3683cc7273647f0e42659c131889510726d0ed1f4f15d9068bbe5eacdf29b03499e16d8d05c18160
7
+ data.tar.gz: c7b90323a5ec6e1ca5f62984b75ed6a81697742ca1dfdb5c77f1b9839d9feb3b66dd19b24c03f486844dfba990e5f15aedcd0cabd34920997615ae5f535f16a0
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Avm
4
+ module Git
5
+ module Vendor
6
+ module Github
7
+ class << self
8
+ def to_ssh_url(url)
9
+ return nil if url.blank?
10
+
11
+ url_no_dot_git = url.gsub(/\.git\z/, '')
12
+
13
+ m = %r{\Ahttps://github.com/([^/]+)/([^/]+)\z}.match(url_no_dot_git.to_s)
14
+ m ? "git@github.com:#{m[1]}/#{m[2]}.git" : url
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module Git
7
+ module Vendor
8
+ require_sub __FILE__
9
+ end
10
+ end
11
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Git
5
- VERSION = '0.4.0'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,57 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-14 00:00:00.000000000 Z
11
+ date: 2022-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: avm
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.46'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.46'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: avm-files
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: '0.1'
33
+ version: '0.4'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 0.4.1
20
37
  type: :runtime
21
38
  prerelease: false
22
39
  version_requirements: !ruby/object:Gem::Requirement
23
40
  requirements:
24
41
  - - "~>"
25
42
  - !ruby/object:Gem::Version
26
- version: '0.1'
43
+ version: '0.4'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.4.1
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: eac_git
29
49
  requirement: !ruby/object:Gem::Requirement
30
50
  requirements:
31
51
  - - "~>"
32
52
  - !ruby/object:Gem::Version
33
- version: '0.11'
53
+ version: '0.12'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.12.3
34
57
  type: :runtime
35
58
  prerelease: false
36
59
  version_requirements: !ruby/object:Gem::Requirement
37
60
  requirements:
38
61
  - - "~>"
39
62
  - !ruby/object:Gem::Version
40
- version: '0.11'
63
+ version: '0.12'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.12.3
41
67
  - !ruby/object:Gem::Dependency
42
68
  name: eac_ruby_utils
43
69
  requirement: !ruby/object:Gem::Requirement
44
70
  requirements:
45
71
  - - "~>"
46
72
  - !ruby/object:Gem::Version
47
- version: '0.76'
73
+ version: '0.104'
48
74
  type: :runtime
49
75
  prerelease: false
50
76
  version_requirements: !ruby/object:Gem::Requirement
51
77
  requirements:
52
78
  - - "~>"
53
79
  - !ruby/object:Gem::Version
54
- version: '0.76'
80
+ version: '0.104'
55
81
  - !ruby/object:Gem::Dependency
56
82
  name: aranha-parsers
57
83
  requirement: !ruby/object:Gem::Requirement
@@ -139,6 +165,8 @@ files:
139
165
  - lib/avm/git/subrepo_check/remote.rb
140
166
  - lib/avm/git/subrepo_check/show_result.rb
141
167
  - lib/avm/git/subrepo_checks.rb
168
+ - lib/avm/git/vendor.rb
169
+ - lib/avm/git/vendor/github.rb
142
170
  - lib/avm/git/version.rb
143
171
  homepage:
144
172
  licenses: []