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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1175d98308d5e73c597c0040992a2709b6d166f31b35d5572352137bc96ea676
4
- data.tar.gz: cb80b1dfade0a4552002221dab305ab015862d10d9dcd562b83bb1c369d17116
3
+ metadata.gz: e0e069a9d419de934125aa9a4fe89224c83d0a85d8402542781e0e6f675d980c
4
+ data.tar.gz: 8600827abe689021828dc9edc6575c5a9f47722c9291bbd39bb0c4f8d55c3632
5
5
  SHA512:
6
- metadata.gz: d542f21f7caa384edbcb4026ed122cfe11c2dc4b823a0b794e9916dd01fb32b796a8031a9524f5853930bbd6e7ed770e48198103263f86a9b2c1f3634d83c19e
7
- data.tar.gz: 17e6fc4acfa10fd569c7f3dd970f346bfeee2c28419c0faf7f45c86405719b2244d9ebc7c4c45f587912ec0f021b80e1b59b8003083b0d1d45e4370381d78d01
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.9.3)
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.3)
16
- activesupport (6.1.3)
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.3)
31
- cocoapods (1.11.2)
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.2)
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.2)
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.4)
60
- cocoapods-downloader (1.4.0)
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.0)
64
- cocoapods-trunk (1.5.0)
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.14.0)
76
+ ethon (0.15.0)
76
77
  ffi (>= 1.15.0)
77
- ffi (1.15.3)
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.8.10)
83
+ i18n (1.12.0)
83
84
  concurrent-ruby (~> 1.0)
84
- json (2.5.1)
85
+ json (2.6.2)
85
86
  method_source (1.0.0)
86
- minitest (5.14.4)
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.6)
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 (1.4.0)
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.4)
137
+ tzinfo (2.0.5)
137
138
  concurrent-ruby (~> 1.0)
138
139
  unicode-display_width (2.0.0)
139
- xcodeproj (1.21.0)
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.4.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 if gradle_files.empty?
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+"(?<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.2"
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.2
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan