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 +4 -4
- data/lib/avm/git/vendor/github.rb +20 -0
- data/lib/avm/git/vendor.rb +11 -0
- data/lib/avm/git/version.rb +1 -1
- metadata +36 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09a9b23e21f6c8402cda511ff350c08856b39be0a2dffba63f53dbeb4f98924e'
|
4
|
+
data.tar.gz: 9f48b12b0bf0a063ef706b14a5278ac120cb44467b3d602cc081fa34ef83550e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/avm/git/version.rb
CHANGED
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
|
+
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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: []
|