gonative-cli 1.0.4 → 1.0.5

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: e0e069a9d419de934125aa9a4fe89224c83d0a85d8402542781e0e6f675d980c
4
+ data.tar.gz: 8600827abe689021828dc9edc6575c5a9f47722c9291bbd39bb0c4f8d55c3632
5
5
  SHA512:
6
- metadata.gz: 3342ac0a9b027331e5b2cd670ffa9043e0254fec88d608bd77f7d9fe222832b7a79e5d3ea95dd34fb8a62011bd9e05673e87ec51bac9c11145f49cf2162c3d34
7
- data.tar.gz: cd4b001d6229f4ad715498c7ad1247fc492802f5ca6c901625e95dcaef39a7b58925a3a7797adcba699d31ed95f3314a1346a97f01bc4adb464f9588dbb85bf2
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 (1.0.3)
4
+ gonative-cli (1.0.4)
5
5
  activesupport (~> 6.0)
6
6
  cocoapods (~> 1.10)
7
7
  colorize (~> 0.8.0)
@@ -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.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan