gonative-cli 1.0.2 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +23 -21
- data/lib/gonative/commands/android/publish.rb +6 -4
- data/lib/gonative/version.rb +1 -1
- 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: e0e069a9d419de934125aa9a4fe89224c83d0a85d8402542781e0e6f675d980c
|
4
|
+
data.tar.gz: 8600827abe689021828dc9edc6575c5a9f47722c9291bbd39bb0c4f8d55c3632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97a108fbe118000f4d50860932235053c9b0a596af18d1e10c345cd4ebf92133a18d235ed277fe3105474a806e7a8a1bec17221b06d9d833e30774d3dc39a0f
|
7
|
+
data.tar.gz: cd2484f3b45cb2e13c859842e7269c0fe282fbf585411202bbf38161d153a02eb52921cb54bd47d0561edb7ffb0950c4cf94e61279ecf19ba354db93ed71fa2f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gonative-cli (0.
|
4
|
+
gonative-cli (1.0.4)
|
5
5
|
activesupport (~> 6.0)
|
6
6
|
cocoapods (~> 1.10)
|
7
7
|
colorize (~> 0.8.0)
|
@@ -12,8 +12,9 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
CFPropertyList (3.0.
|
16
|
-
|
15
|
+
CFPropertyList (3.0.5)
|
16
|
+
rexml
|
17
|
+
activesupport (6.1.6.1)
|
17
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
19
|
i18n (>= 1.6, < 2)
|
19
20
|
minitest (>= 5.1)
|
@@ -27,11 +28,11 @@ GEM
|
|
27
28
|
ast (2.4.2)
|
28
29
|
atomos (0.1.3)
|
29
30
|
byebug (11.1.3)
|
30
|
-
claide (1.0
|
31
|
-
cocoapods (1.11.
|
31
|
+
claide (1.1.0)
|
32
|
+
cocoapods (1.11.3)
|
32
33
|
addressable (~> 2.8)
|
33
34
|
claide (>= 1.0.2, < 2.0)
|
34
|
-
cocoapods-core (= 1.11.
|
35
|
+
cocoapods-core (= 1.11.3)
|
35
36
|
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
36
37
|
cocoapods-downloader (>= 1.4.0, < 2.0)
|
37
38
|
cocoapods-plugins (>= 1.0.0, < 2.0)
|
@@ -46,7 +47,7 @@ GEM
|
|
46
47
|
nap (~> 1.0)
|
47
48
|
ruby-macho (>= 1.0, < 3.0)
|
48
49
|
xcodeproj (>= 1.21.0, < 2.0)
|
49
|
-
cocoapods-core (1.11.
|
50
|
+
cocoapods-core (1.11.3)
|
50
51
|
activesupport (>= 5.0, < 7)
|
51
52
|
addressable (~> 2.8)
|
52
53
|
algoliasearch (~> 1.0)
|
@@ -56,12 +57,12 @@ GEM
|
|
56
57
|
netrc (~> 0.11)
|
57
58
|
public_suffix (~> 4.0)
|
58
59
|
typhoeus (~> 1.0)
|
59
|
-
cocoapods-deintegrate (1.0.
|
60
|
-
cocoapods-downloader (1.
|
60
|
+
cocoapods-deintegrate (1.0.5)
|
61
|
+
cocoapods-downloader (1.6.3)
|
61
62
|
cocoapods-plugins (1.0.0)
|
62
63
|
nap
|
63
|
-
cocoapods-search (1.0.
|
64
|
-
cocoapods-trunk (1.
|
64
|
+
cocoapods-search (1.0.1)
|
65
|
+
cocoapods-trunk (1.6.0)
|
65
66
|
nap (>= 0.8, < 2.0)
|
66
67
|
netrc (~> 0.11)
|
67
68
|
cocoapods-try (1.2.0)
|
@@ -72,18 +73,18 @@ GEM
|
|
72
73
|
diff-lcs (1.4.4)
|
73
74
|
dry-cli (0.7.0)
|
74
75
|
escape (0.0.4)
|
75
|
-
ethon (0.
|
76
|
+
ethon (0.15.0)
|
76
77
|
ffi (>= 1.15.0)
|
77
|
-
ffi (1.15.
|
78
|
+
ffi (1.15.5)
|
78
79
|
fourflusher (2.3.1)
|
79
80
|
fuzzy_match (2.0.4)
|
80
81
|
gh_inspector (1.1.3)
|
81
82
|
httpclient (2.8.3)
|
82
|
-
i18n (1.
|
83
|
+
i18n (1.12.0)
|
83
84
|
concurrent-ruby (~> 1.0)
|
84
|
-
json (2.
|
85
|
+
json (2.6.2)
|
85
86
|
method_source (1.0.0)
|
86
|
-
minitest (5.
|
87
|
+
minitest (5.16.2)
|
87
88
|
molinillo (0.8.0)
|
88
89
|
nanaimo (0.3.0)
|
89
90
|
nap (1.1.0)
|
@@ -97,7 +98,7 @@ GEM
|
|
97
98
|
pry-byebug (3.9.0)
|
98
99
|
byebug (~> 11.0)
|
99
100
|
pry (~> 0.13.0)
|
100
|
-
public_suffix (4.0.
|
101
|
+
public_suffix (4.0.7)
|
101
102
|
rainbow (3.0.0)
|
102
103
|
rake (13.0.6)
|
103
104
|
regexp_parser (2.1.1)
|
@@ -129,24 +130,25 @@ GEM
|
|
129
130
|
rubocop-performance (1.11.4)
|
130
131
|
rubocop (>= 1.7.0, < 2.0)
|
131
132
|
rubocop-ast (>= 0.4.0)
|
132
|
-
ruby-macho (
|
133
|
+
ruby-macho (2.5.1)
|
133
134
|
ruby-progressbar (1.11.0)
|
134
135
|
typhoeus (1.4.0)
|
135
136
|
ethon (>= 0.9.0)
|
136
|
-
tzinfo (2.0.
|
137
|
+
tzinfo (2.0.5)
|
137
138
|
concurrent-ruby (~> 1.0)
|
138
139
|
unicode-display_width (2.0.0)
|
139
|
-
xcodeproj (1.
|
140
|
+
xcodeproj (1.22.0)
|
140
141
|
CFPropertyList (>= 2.3.3, < 4.0)
|
141
142
|
atomos (~> 0.1.3)
|
142
143
|
claide (>= 1.0.2, < 2.0)
|
143
144
|
colored2 (~> 3.1)
|
144
145
|
nanaimo (~> 0.3.0)
|
145
146
|
rexml (~> 3.2.4)
|
146
|
-
zeitwerk (2.
|
147
|
+
zeitwerk (2.6.0)
|
147
148
|
|
148
149
|
PLATFORMS
|
149
150
|
x86_64-darwin-19
|
151
|
+
x86_64-darwin-21
|
150
152
|
|
151
153
|
DEPENDENCIES
|
152
154
|
gonative-cli!
|
@@ -12,7 +12,7 @@ module GoNative
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def assert_build_file_exists!
|
15
|
-
return
|
15
|
+
return unless gradle_files.empty?
|
16
16
|
|
17
17
|
raise Error, "No build.gradle file exists"
|
18
18
|
end
|
@@ -20,18 +20,20 @@ module GoNative
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def gradle_files
|
23
|
-
@gradle_files ||= `find . -iname build.gradle
|
23
|
+
@gradle_files ||= `find . -iname build.gradle`.split("\n")
|
24
24
|
end
|
25
25
|
|
26
26
|
def version
|
27
|
-
@version if @version
|
27
|
+
return @version if @version
|
28
28
|
|
29
29
|
gradle_files.each do |gradle_file|
|
30
30
|
str = IO.read(gradle_file)
|
31
|
-
@version = str.match(/versionName\s
|
31
|
+
@version = str.match(/versionName\s+\"(?<version>.+)\"/)[:version]
|
32
32
|
|
33
33
|
break if @version
|
34
34
|
end
|
35
|
+
|
36
|
+
@version
|
35
37
|
end
|
36
38
|
|
37
39
|
def create_and_push_tag!
|
data/lib/gonative/version.rb
CHANGED