gonative-cli 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -7
- data/README.md +3 -1
- data/lib/gonative/commands/android/publish.rb +4 -2
- data/lib/gonative/version.rb +1 -1
- data/templates/plugins/android/build.gradle +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6178fe6ef55bb30d95242037998fe89c3e011ca95dbdcad898cc64bf028e4815
|
4
|
+
data.tar.gz: 422a57c1f3f3af2122fa1a81d7d0347741218aab5ef250b87fdb621a9d08b83e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee760673f579b91bd59683b36cbe689bc75f6de7cb958eb262356712d1a80b4de3036aa31ac557f86a87f254078dce23ed74ae3b391f5d2ac7846161df8c8e7
|
7
|
+
data.tar.gz: 40fdf89762074e9e0e8e40dd5ca1c7e667db8a281ae6e7758d42fdd6f9573ebf86373ae4525f271c94e6a2fc41041a11b0ca8b5be1adec916357a1535c31fd66
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gonative-cli (1.0.
|
4
|
+
gonative-cli (1.0.6)
|
5
5
|
activesupport (~> 6.0)
|
6
6
|
cocoapods (~> 1.10)
|
7
7
|
colorize (~> 0.8.0)
|
@@ -14,14 +14,14 @@ GEM
|
|
14
14
|
specs:
|
15
15
|
CFPropertyList (3.0.5)
|
16
16
|
rexml
|
17
|
-
activesupport (6.1.
|
17
|
+
activesupport (6.1.7)
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
19
19
|
i18n (>= 1.6, < 2)
|
20
20
|
minitest (>= 5.1)
|
21
21
|
tzinfo (~> 2.0)
|
22
22
|
zeitwerk (~> 2.3)
|
23
|
-
addressable (2.8.
|
24
|
-
public_suffix (>= 2.0.2, <
|
23
|
+
addressable (2.8.1)
|
24
|
+
public_suffix (>= 2.0.2, < 6.0)
|
25
25
|
algoliasearch (1.27.5)
|
26
26
|
httpclient (~> 2.8, >= 2.8.3)
|
27
27
|
json (>= 1.5.1)
|
@@ -69,7 +69,7 @@ GEM
|
|
69
69
|
coderay (1.1.3)
|
70
70
|
colored2 (3.1.2)
|
71
71
|
colorize (0.8.1)
|
72
|
-
concurrent-ruby (1.
|
72
|
+
concurrent-ruby (1.2.0)
|
73
73
|
diff-lcs (1.4.4)
|
74
74
|
dry-cli (0.7.0)
|
75
75
|
escape (0.0.4)
|
@@ -84,7 +84,7 @@ GEM
|
|
84
84
|
concurrent-ruby (~> 1.0)
|
85
85
|
json (2.6.2)
|
86
86
|
method_source (1.0.0)
|
87
|
-
minitest (5.16.
|
87
|
+
minitest (5.16.3)
|
88
88
|
molinillo (0.8.0)
|
89
89
|
nanaimo (0.3.0)
|
90
90
|
nap (1.1.0)
|
@@ -144,9 +144,10 @@ GEM
|
|
144
144
|
colored2 (~> 3.1)
|
145
145
|
nanaimo (~> 0.3.0)
|
146
146
|
rexml (~> 3.2.4)
|
147
|
-
zeitwerk (2.6.
|
147
|
+
zeitwerk (2.6.1)
|
148
148
|
|
149
149
|
PLATFORMS
|
150
|
+
arm64-darwin-21
|
150
151
|
x86_64-darwin-19
|
151
152
|
x86_64-darwin-21
|
152
153
|
|
data/README.md
CHANGED
@@ -24,14 +24,16 @@ module GoNative
|
|
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
@@ -1,3 +1,7 @@
|
|
1
|
+
def safeExtGet(prop, fallback) {
|
2
|
+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
3
|
+
}
|
4
|
+
|
1
5
|
plugins {
|
2
6
|
id 'com.android.library'
|
3
7
|
}
|
@@ -28,6 +32,6 @@ android {
|
|
28
32
|
}
|
29
33
|
|
30
34
|
dependencies {
|
31
|
-
implementation
|
32
|
-
implementation
|
35
|
+
implementation "com.github.gonativeio:gonative-android-library:${safeExtGet('libraryVersion', '1.2.+')}"
|
36
|
+
implementation "com.github.gonativeio:gonative-android-core:${safeExtGet('coreVersion', '1.3.+')}"
|
33
37
|
}
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hunaid Hassan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-cli
|
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: '0'
|
257
257
|
requirements: []
|
258
|
-
rubygems_version: 3.
|
258
|
+
rubygems_version: 3.3.7
|
259
259
|
signing_key:
|
260
260
|
specification_version: 4
|
261
261
|
summary: CLI to create gonative plugins.
|