gonative-cli 1.3.7 → 1.3.8

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: bfed650a535963881f1c80a19d717bb18f60571461a99874052795df20cecd45
4
- data.tar.gz: b7e5e2913f54a4e2c293075a7ffe3e8748e9ce19043d60d0f7ce267c0fa1e986
3
+ metadata.gz: 072f9e786f31e758f24a6680f91bcec7303990eb5c78d58fd3fd54acef04d015
4
+ data.tar.gz: 4bd8ae73721d0dd614cd161b3a6b86715fe5fc371a3361eb7d871a3e0b40f9e2
5
5
  SHA512:
6
- metadata.gz: bcef9d47fd4e11337851590bd57d6b508b59890038bbc65117ac01a1daf39250dcecdb24806908da51c98da4266e97a04df715ff9dffb41d68b45ecc98115b9f
7
- data.tar.gz: 77259fd98da73589ea5783abb851e2c9a3b99b374bb2b5a3923364483de29bb49d7aef9ca2c7e80e2e4038df856edbd6fbaa7c9e454785c0837dbe7c11567443
6
+ metadata.gz: 9bdb027fe9bd03782c16012fbf596d14b6090d7ac6e0d0d42088fb29a74beedaccf46cdf041aebd56794f14c8efbfa88adbc73ef3f677f73c461c9157e7ed2d5
7
+ data.tar.gz: ba970e1b131a3403231c8b8e79f31c32df160336b1b4a7c0e29afb18cc807f152a4e314c2b75684a6163cb231fdf84983662aea40a35a559929f0f837b2fac23
@@ -15,6 +15,8 @@ module GoNative
15
15
  end
16
16
 
17
17
  def call
18
+ return unless exists?
19
+
18
20
  proj = Xcodeproj::Project.open('MedianIOS.xcodeproj')
19
21
  file = proj.new_file("#{language}.lproj/Localizable.strings")
20
22
  file.move(localizable_group(proj))
@@ -32,6 +34,12 @@ module GoNative
32
34
 
33
35
  nil
34
36
  end
37
+
38
+ private
39
+
40
+ def exists?
41
+ File.directory?("LeanIOS/#{language}.lproj")
42
+ end
35
43
  end
36
44
  end
37
45
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoNative
4
- VERSION = '1.3.7'
4
+ VERSION = '1.3.8'
5
5
  end
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.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunaid Hassan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-30 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli