fastlane-plugin-google_sheet_localize 0.3.05 → 0.3.06

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: 1e04803161feae7160efc0cf2a6ede75d3da00289aff36c8e62ab039575ddd9a
4
- data.tar.gz: 6b5aca1a35a1aa1c7c6db035db442d863d3c08bcdadfd21a9d132c9f10f82e14
3
+ metadata.gz: 8cd7e38197a7a899f0babccc4dd007133de1f45a4f75cd8164161b77a380d0be
4
+ data.tar.gz: 6aae195e79318258190b3a8b1d2dd68977589c771f7a746ecb48e4e04522dd3a
5
5
  SHA512:
6
- metadata.gz: 8ff4552592d4f2786b00bd3ef1d5f7b75772bce584332e34387a47b6b10ffb4075b74ea1da2a8df3f0dc017edbdc8efc1d5ec580b0f7f5611a3a57a6223cd0fa
7
- data.tar.gz: bc45ffcc87acafbf00177d91dc4a4aa2bde9fd5c9ee1cdd99c29a7f0b51370ac28538283b5097214c83ec3dc31725a1cb210135939e04e85a216d67441da68b5
6
+ metadata.gz: b3d4cee30ff65e35d313138b8deb8644596dc517d1c2f4517b073506a9cd5e546b082cc3f899fda617188197a29f5fbe05c4395786a48c0fcc8dc6d3dbdbe973
7
+ data.tar.gz: b1a107ece3531c4ee3ccdb57fec4c108540ea4f14689a1a1d5fa14b083f33621687f4afbc7f284d60301f3c4416c4a4cca55a151602eacefa6947a6cca5cd015
@@ -187,7 +187,7 @@ module Fastlane
187
187
  swiftFilepath = "#{swiftPath}/#{swiftFilename}"
188
188
 
189
189
  File.open(swiftFilepath, "w") do |f|
190
- f.write("import Foundation\n\n// swiftlint:disable all\npublic struct Localization {\n")
190
+ f.write("import Foundation\n\n// swiftlint:disable all\npublic class Localization: NSObject {\n")
191
191
  filteredItems.each { |item|
192
192
 
193
193
  identifier = item['identifier']
@@ -220,7 +220,7 @@ module Fastlane
220
220
 
221
221
  if arguments.count == 0
222
222
  f.write(self.createComment(item['comment'], item['text']))
223
- f.write("public static let #{constantName} = localized(identifier: \"#{identifier}\")\n")
223
+ f.write("@objc public static let #{constantName} = localized(identifier: \"#{identifier}\")\n")
224
224
  else
225
225
  f.write(self.createComment(item['comment'], item['text']))
226
226
  f.write(self.createiOSFunction(constantName, identifier, arguments))
@@ -477,7 +477,7 @@ module Fastlane
477
477
  end
478
478
 
479
479
  def self.createiOSFunction(constantName, identifier, arguments)
480
- functionTitle = "public static func #{constantName}("
480
+ functionTitle = "@objc public static func #{constantName}("
481
481
 
482
482
  arguments.each_with_index do |item, index|
483
483
  functionTitle = functionTitle + "_ arg#{index}: #{item[:type]}"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GoogleSheetLocalize
3
- VERSION = "0.3.05"
3
+ VERSION = "0.3.06"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-google_sheet_localize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.05
4
+ version: 0.3.06
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Hahn