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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a74c21ce2bb2b521de5fd53c552cdf5659975fac41defe1a5de2b8786667131c
4
- data.tar.gz: 4b08f5f5fd1c74f5dfd2f3255031a9be53c63bfaf9544fc8ea44649a9e2e1a05
3
+ metadata.gz: 6178fe6ef55bb30d95242037998fe89c3e011ca95dbdcad898cc64bf028e4815
4
+ data.tar.gz: 422a57c1f3f3af2122fa1a81d7d0347741218aab5ef250b87fdb621a9d08b83e
5
5
  SHA512:
6
- metadata.gz: 3342ac0a9b027331e5b2cd670ffa9043e0254fec88d608bd77f7d9fe222832b7a79e5d3ea95dd34fb8a62011bd9e05673e87ec51bac9c11145f49cf2162c3d34
7
- data.tar.gz: cd4b001d6229f4ad715498c7ad1247fc492802f5ca6c901625e95dcaef39a7b58925a3a7797adcba699d31ed95f3314a1346a97f01bc4adb464f9588dbb85bf2
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.3)
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.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.0)
24
- public_suffix (>= 2.0.2, < 5.0)
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.1.10)
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.2)
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.0)
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
@@ -23,7 +23,9 @@ Install the gem now using:
23
23
 
24
24
  ## Usage
25
25
 
26
- TODO: Write usage instructions here
26
+ You can get all possible usage commands by typing
27
+
28
+ gonative help
27
29
 
28
30
  ## Development
29
31
 
@@ -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+"(?<version>.+)"/)[:version]
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!
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoNative
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.6"
5
5
  end
@@ -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 'com.github.gonativeio:gonative-android-library:+'
32
- implementation 'com.github.gonativeio:gonative-android-core:+'
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
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: 2022-08-13 00:00:00.000000000 Z
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.2.22
258
+ rubygems_version: 3.3.7
259
259
  signing_key:
260
260
  specification_version: 4
261
261
  summary: CLI to create gonative plugins.