gonative-cli 1.0.1 → 1.0.4
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 +11 -7
- data/lib/gonative/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a74c21ce2bb2b521de5fd53c552cdf5659975fac41defe1a5de2b8786667131c
|
4
|
+
data.tar.gz: 4b08f5f5fd1c74f5dfd2f3255031a9be53c63bfaf9544fc8ea44649a9e2e1a05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3342ac0a9b027331e5b2cd670ffa9043e0254fec88d608bd77f7d9fe222832b7a79e5d3ea95dd34fb8a62011bd9e05673e87ec51bac9c11145f49cf2162c3d34
|
7
|
+
data.tar.gz: cd4b001d6229f4ad715498c7ad1247fc492802f5ca6c901625e95dcaef39a7b58925a3a7797adcba699d31ed95f3314a1346a97f01bc4adb464f9588dbb85bf2
|
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.3)
|
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,22 +12,26 @@ 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
|
19
19
|
|
20
20
|
private
|
21
21
|
|
22
|
-
def
|
23
|
-
@
|
22
|
+
def gradle_files
|
23
|
+
@gradle_files ||= `find . -iname build.gradle`.split("\n")
|
24
24
|
end
|
25
25
|
|
26
26
|
def version
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
@version if @version
|
28
|
+
|
29
|
+
gradle_files.each do |gradle_file|
|
30
|
+
str = IO.read(gradle_file)
|
31
|
+
@version = str.match(/versionName\s+"(?<version>.+)"/)[:version]
|
32
|
+
|
33
|
+
break if @version
|
34
|
+
end
|
31
35
|
end
|
32
36
|
|
33
37
|
def create_and_push_tag!
|
data/lib/gonative/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gonative-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hunaid Hassan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|