fastlane-plugin-onesky 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f01209a76cfd86ee3fdde349cf23ce589c2c9414
4
- data.tar.gz: 29f3e02daf777744c56c94b13fbbb6e3f58540ea
3
+ metadata.gz: 6dd82e303ffda1f7ea10e635add5e2f15a589186
4
+ data.tar.gz: 8f24ceef196828fdc2833f53db973ba7ed1ad4e3
5
5
  SHA512:
6
- metadata.gz: a18305dbeaa514607bad66a6ec8b833d5b59834b1493a8ba3f664ad2545f33d558d99eaad36a3e8303007cc0529cdce1781f3c404256e8dc7239e9f24a76eedb
7
- data.tar.gz: fe0b9d70207231419ad32283efbcaa6fd3da8cc5de219790d224a011a4ee9739aabaaf435080cb28f50f8a5e8de6cb832021cd668e468e49103817731c47e529
6
+ metadata.gz: d49750faecd0bfb4e3bbee79e1109f2bbd0b2424ac4230199355eae1b5bf149e50202463011df5e977868fa2b6e6ba9ac16f7ac7f051ca38422809550d362911
7
+ data.tar.gz: 76c33d1e11eb26ebe2ff5a593f56cd2b91123f9846020ac3e0a7b9f4737c93e778f5613dc121ae668b69fee92544b55259ebb41730d6285206bde00f3a42b110
data/README.md CHANGED
@@ -81,6 +81,46 @@ To automatically fix many of the styling issues, use
81
81
  rubocop -a
82
82
  ```
83
83
 
84
+ ## Goes well with `fastlane-plugin-localization`
85
+
86
+ This plugin works really well with the plugin [localization](https://github.com/vmalyi/fastlane-plugin-localization) by [@vmalyi](https://github.com/vmalyi). `fastlane-plugin-localization` helps you to extract your localization files form your XCode Projects using `xcodebuild`.
87
+
88
+ Here are example lanes to use `fastlane-plugin-localization` and `fastlane-plugin-onesky` to manage your translations:
89
+
90
+ ```Ruby
91
+ desc "Extracts and uploads base localization to OneSky"
92
+ lane :export_translations do
93
+ export_localizations(
94
+ destination_path: "./localizations",
95
+ project: "YourApp.xcodeproj"
96
+ )
97
+ onesky_upload(
98
+ public_key: "abc123abc123abc123abc123abc123abc",
99
+ secret_key: "xyz890xyz890xyz890xyz890xyz890xyz",
100
+ project_id: "1234",
101
+ strings_file_path: "./localizations/en.xliff",
102
+ strings_file_format: "XLIFF",
103
+ deprecate_missing: true
104
+ )
105
+ end
106
+
107
+ desc "Downloads current translations from OneSky and imports into the xcode project"
108
+ lane :download_translations do
109
+ onesky_download(
110
+ public_key: "abc123abc123abc123abc123abc123abc",
111
+ secret_key: "xyz890xyz890xyz890xyz890xyz890xyz",
112
+ project_id: "1234",
113
+ locale: "de",
114
+ filename: "en.xliff",
115
+ destination: "./localizations/de.xliff"
116
+ )
117
+ import_localizations(
118
+ source_path: "./localizations/de.xliff",
119
+ project: "YourApp.xcodeproj"
120
+ )
121
+ end
122
+ ```
123
+
84
124
  ## Issues and Feedback
85
125
 
86
126
  For any other issues and feedback about this plugin, please submit it to this repository.
@@ -102,4 +142,4 @@ The code for the upload action is based on the fastlane plugin `upload_to_onesky
102
142
  https://github.com/joshrlesch/fastlane-plugin-upload_to_onesky
103
143
 
104
144
 
105
- This plugin was developed for and during the work on the [Youpooly iOS App](https://www.youpooly.com).
145
+ This plugin was developed for and during the work on the [Youpooly iOS App](https://app.youpooly.com).
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Onesky
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-onesky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kiedrowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2017-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: onesky-ruby
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.6.6
144
+ rubygems_version: 2.6.11
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Helps to update the translations of your app using the OneSky service.