fastlane-plugin-deploy_file_provider 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +52 -0
- data/lib/fastlane/plugin/deploy_file_provider/actions/deploy_file_provider_action.rb +296 -0
- data/lib/fastlane/plugin/deploy_file_provider/helper/deploy_file_provider_helper.rb +64 -0
- data/lib/fastlane/plugin/deploy_file_provider/version.rb +5 -0
- data/lib/fastlane/plugin/deploy_file_provider.rb +16 -0
- metadata +147 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 99c1e4b27dbd9a788554a42d914e996e6212b44c
|
4
|
+
data.tar.gz: f3a37c6a4c1e34a5a092808b19a330590829e5fb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e44d0be528e915fa72d38821f41121913a85b481efed8fa131a624397e10f44dc3ff7dd3133a6156e52cbe6a7d9217a3b3e6a677d21e186d3c0a7a6b3e9ee635
|
7
|
+
data.tar.gz: 7667c0939c34510fef679ed9bb56e9edc99bbda24433527a93741d622636b11d56627720af2ca32b89f3e0deedff9f8b36780dcae0beb6bede76e2975c5bec52
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Kamil Krzyk <krzyk.kamil@gmail.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# deploy_file_provider plugin
|
2
|
+
|
3
|
+
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-deploy_file_provider)
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-deploy_file_provider`, add it to your project by running:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
fastlane add_plugin deploy_file_provider
|
11
|
+
```
|
12
|
+
|
13
|
+
## About deploy_file_provider
|
14
|
+
|
15
|
+
Prepares metadata files with structure ready for AppStore, PlayStore deploy
|
16
|
+
|
17
|
+
**Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
22
|
+
|
23
|
+
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
24
|
+
|
25
|
+
## Run tests for this plugin
|
26
|
+
|
27
|
+
To run both the tests, and code style validation, run
|
28
|
+
|
29
|
+
```
|
30
|
+
rake
|
31
|
+
```
|
32
|
+
|
33
|
+
To automatically fix many of the styling issues, use
|
34
|
+
```
|
35
|
+
rubocop -a
|
36
|
+
```
|
37
|
+
|
38
|
+
## Issues and Feedback
|
39
|
+
|
40
|
+
For any other issues and feedback about this plugin, please submit it to this repository.
|
41
|
+
|
42
|
+
## Troubleshooting
|
43
|
+
|
44
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.
|
45
|
+
|
46
|
+
## Using `fastlane` Plugins
|
47
|
+
|
48
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md).
|
49
|
+
|
50
|
+
## About `fastlane`
|
51
|
+
|
52
|
+
`fastlane` is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
@@ -0,0 +1,296 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
|
6
|
+
class MetaData
|
7
|
+
attr_accessor :description, :language, :releaseNotesiOS, :releaseNotesAndroid
|
8
|
+
end
|
9
|
+
|
10
|
+
class DeployFileProviderAction < Action
|
11
|
+
RUN_VARIANT_ANDROID = "android"
|
12
|
+
RUN_VARIANT_IOS = "ios"
|
13
|
+
|
14
|
+
JSON_DIR = "fastlane/"
|
15
|
+
JSON_NAME = "update.json"
|
16
|
+
|
17
|
+
|
18
|
+
ANDROID_ROOT = "fastlane/metadata/android/"
|
19
|
+
|
20
|
+
ANDROID_CHANGELOG_DIR = "changelogs/"
|
21
|
+
#ANDROID_CHANGELOG_FILENAME -> changes depending on build, fetched from api
|
22
|
+
|
23
|
+
ANDROID_FULL_DESCRIPTION_DIR = ""
|
24
|
+
ANDROID_FULL_DESCRIPTION_FILENAME = "full_description.txt"
|
25
|
+
|
26
|
+
ANDROID_METADATA_LOC = {
|
27
|
+
"german" => "de-DE/",
|
28
|
+
"english" => "en-GB/",
|
29
|
+
"spanish" => "es-ES/",
|
30
|
+
"french" => "fr-FR/",
|
31
|
+
"italian" => "it-IT/",
|
32
|
+
"polish" => "pl-PL/",
|
33
|
+
"portugese" => "pt-PT/",
|
34
|
+
"romanian" => "ro/",
|
35
|
+
"russian" => "ru-RU/",
|
36
|
+
"turkish" => "tr-TR/"
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
IOS_ROOT = "fastlane/metadata/"
|
41
|
+
|
42
|
+
IOS_RELEASE_NOTES_DIR = ""
|
43
|
+
IOS_RELEASE_NOTES_FILENAME = "release_notes.txt"
|
44
|
+
|
45
|
+
IOS_DESCRIPTION_DIR = ""
|
46
|
+
IOS_DESCRIPTION_FILENAME = "description.txt"
|
47
|
+
|
48
|
+
IOS_METADATA_LOC = {
|
49
|
+
"german" => "de-DE/",
|
50
|
+
"english" => "en-GB/",
|
51
|
+
"spanish" => "es-ES/",
|
52
|
+
"french" => "fr-FR/",
|
53
|
+
"italian" => "it/",
|
54
|
+
"portugese" => "pt-PT/",
|
55
|
+
"russian" => "ru/",
|
56
|
+
"turkish" => "tr/"
|
57
|
+
}
|
58
|
+
|
59
|
+
def self.run(params)
|
60
|
+
logStep("Attempting to fetch JSON with metadata updates.")
|
61
|
+
countryMetaData = fetchMetadataUpdates(params)
|
62
|
+
|
63
|
+
if countryMetaData.empty?
|
64
|
+
throwError("Couldn't fetch metadata updates. Plugin won't run!")
|
65
|
+
else
|
66
|
+
logStep("Fetch successfull!")
|
67
|
+
|
68
|
+
platform = "#{params[:platform]}".downcase
|
69
|
+
if platform.eql? RUN_VARIANT_ANDROID
|
70
|
+
logStep("The deploy_file_provider plugin runs for platform: " + platform + ".")
|
71
|
+
prepareFilesFor_Android(params, countryMetaData)
|
72
|
+
elsif platform.eql? RUN_VARIANT_IOS
|
73
|
+
logStep("The deploy_file_provider plugin runs for platform: " + platform + ".")
|
74
|
+
prepareFilesFor_iOS(countryMetaData)
|
75
|
+
else
|
76
|
+
throwError("Unknown platform. Plugin won't run!")
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def self.fetchMetadataUpdates(params)
|
82
|
+
descriptionsArray = Helper::DeployFileProviderHelper.get_descriptions_array(params)
|
83
|
+
return metaDataObjectsArray(descriptionsArray)
|
84
|
+
end
|
85
|
+
|
86
|
+
def self.metaDataObjectsArray(array)
|
87
|
+
tempArray = []
|
88
|
+
array.each do |row|
|
89
|
+
tempMetaData = MetaData.new
|
90
|
+
tempMetaData.language = row[0]
|
91
|
+
tempMetaData.description = row[1]
|
92
|
+
tempMetaData.releaseNotesiOS = row[2]
|
93
|
+
tempMetaData.releaseNotesAndroid = row[3]
|
94
|
+
tempArray << tempMetaData
|
95
|
+
end
|
96
|
+
return tempArray
|
97
|
+
end
|
98
|
+
|
99
|
+
def self.prepareFilesFor_Android(params, countryMetaData)
|
100
|
+
logStep("Attempting to fetch JSON with Android .apk versionCode.")
|
101
|
+
android_apk_version_code = Helper::DeployFileProviderHelper.get_android_version(params)
|
102
|
+
if android_apk_version_code == nil || android_apk_version_code.empty?
|
103
|
+
throwError("Provided version code: " + android_apk_version_code + ", can't be used to create changelog filename.")
|
104
|
+
else
|
105
|
+
logStep("Fetch successfull!")
|
106
|
+
end
|
107
|
+
android_changelog_filename = android_apk_version_code + ".txt"
|
108
|
+
|
109
|
+
if (locationExists(ANDROID_ROOT))
|
110
|
+
numOfLanguagesToHandle = ANDROID_METADATA_LOC.size
|
111
|
+
numOfLanguagesProcessed = 0
|
112
|
+
|
113
|
+
for i in 0 ... countryMetaData.size
|
114
|
+
languageKey = countryMetaData[i].language.downcase
|
115
|
+
unless ANDROID_METADATA_LOC.key?(languageKey)
|
116
|
+
next
|
117
|
+
end
|
118
|
+
|
119
|
+
fulldescription_metaDataDir = [
|
120
|
+
ANDROID_ROOT,
|
121
|
+
ANDROID_METADATA_LOC[languageKey],
|
122
|
+
ANDROID_FULL_DESCRIPTION_DIR].join
|
123
|
+
logStep("Attempting to prepare " + ANDROID_FULL_DESCRIPTION_FILENAME + " for language: " + languageKey + " - in location: " + fulldescription_metaDataDir)
|
124
|
+
|
125
|
+
if (locationExists(fulldescription_metaDataDir))
|
126
|
+
file = fulldescription_metaDataDir + ANDROID_FULL_DESCRIPTION_FILENAME
|
127
|
+
|
128
|
+
if File.exists?(file)
|
129
|
+
File.delete(file)
|
130
|
+
end
|
131
|
+
|
132
|
+
newFullDescriptionFile = File.new(file, "w")
|
133
|
+
begin
|
134
|
+
newFullDescriptionFile.puts(countryMetaData[i].description)
|
135
|
+
ensure
|
136
|
+
newFullDescriptionFile.close
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
changelog_metaDataDir = [
|
141
|
+
ANDROID_ROOT,
|
142
|
+
ANDROID_METADATA_LOC[languageKey],
|
143
|
+
ANDROID_CHANGELOG_DIR].join
|
144
|
+
logStep("Attempting to prepare changelog file with name: " + android_changelog_filename + " for language: " + languageKey + " - in location: " + changelog_metaDataDir)
|
145
|
+
|
146
|
+
if (locationExists(changelog_metaDataDir))
|
147
|
+
file = changelog_metaDataDir + android_changelog_filename
|
148
|
+
|
149
|
+
if File.exists?(file)
|
150
|
+
File.delete(file)
|
151
|
+
end
|
152
|
+
|
153
|
+
newChangeLogFile = File.new(file, "w")
|
154
|
+
begin
|
155
|
+
newChangeLogFile.puts(countryMetaData[i].releaseNotesAndroid)
|
156
|
+
ensure
|
157
|
+
newChangeLogFile.close
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
numOfLanguagesProcessed += 1
|
162
|
+
logStep("---- Files updated")
|
163
|
+
end
|
164
|
+
|
165
|
+
if numOfLanguagesProcessed != numOfLanguagesToHandle
|
166
|
+
throwError("Android expected to receive metadata for: #{numOfLanguagesToHandle} languages, but received for: #{numOfLanguagesProcessed}!")
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
def self.prepareFilesFor_iOS(countryMetaData)
|
172
|
+
if (locationExists(IOS_ROOT))
|
173
|
+
|
174
|
+
numOfLanguagesToHandle = IOS_METADATA_LOC.size
|
175
|
+
numOfLanguagesProcessed = 0
|
176
|
+
|
177
|
+
for i in 0 ... countryMetaData.size
|
178
|
+
languageKey = countryMetaData[i].language.downcase
|
179
|
+
unless IOS_METADATA_LOC.key?(languageKey)
|
180
|
+
next
|
181
|
+
end
|
182
|
+
|
183
|
+
description_metaDataDir = [
|
184
|
+
IOS_ROOT,
|
185
|
+
IOS_METADATA_LOC[languageKey],
|
186
|
+
IOS_DESCRIPTION_DIR].join
|
187
|
+
logStep("Attempting to prepare " + IOS_DESCRIPTION_FILENAME + " for language: " + languageKey + " - in location: " + description_metaDataDir)
|
188
|
+
|
189
|
+
if (locationExists(description_metaDataDir))
|
190
|
+
file = description_metaDataDir + IOS_DESCRIPTION_FILENAME
|
191
|
+
|
192
|
+
if File.exists?(file)
|
193
|
+
File.delete(file)
|
194
|
+
end
|
195
|
+
|
196
|
+
newFullDescriptionFile = File.new(file, "w")
|
197
|
+
begin
|
198
|
+
newFullDescriptionFile.puts(countryMetaData[i].description)
|
199
|
+
ensure
|
200
|
+
newFullDescriptionFile.close
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
releasenotes_metaDataDir = [
|
205
|
+
IOS_ROOT,
|
206
|
+
IOS_METADATA_LOC[languageKey],
|
207
|
+
IOS_RELEASE_NOTES_DIR].join
|
208
|
+
logStep("Attempting to prepare " + IOS_RELEASE_NOTES_FILENAME + " file for language: " + languageKey + " - in location: " + releasenotes_metaDataDir)
|
209
|
+
|
210
|
+
if (locationExists(releasenotes_metaDataDir))
|
211
|
+
file = description_metaDataDir + IOS_RELEASE_NOTES_FILENAME
|
212
|
+
|
213
|
+
if File.exists?(file)
|
214
|
+
File.delete(file)
|
215
|
+
end
|
216
|
+
|
217
|
+
newReleaseNotesFile = File.new(file, "w")
|
218
|
+
begin
|
219
|
+
newReleaseNotesFile.puts(countryMetaData[i].releaseNotesiOS)
|
220
|
+
ensure
|
221
|
+
newReleaseNotesFile.close
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
numOfLanguagesProcessed += 1
|
226
|
+
logStep("---- Files updated")
|
227
|
+
end
|
228
|
+
|
229
|
+
if numOfLanguagesProcessed != numOfLanguagesToHandle
|
230
|
+
throwError("iOS expected to receive metadata for: #{numOfLanguagesToHandle} languages, but received for: #{numOfLanguagesProcessed}!")
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
def self.logStep(message)
|
236
|
+
UI.message("Step: ".blue + message.blue)
|
237
|
+
end
|
238
|
+
|
239
|
+
def self.throwError(message)
|
240
|
+
UI.message("Error: ".red + message.red)
|
241
|
+
raise Exception, "Lane was stopped by script"
|
242
|
+
end
|
243
|
+
|
244
|
+
def self.locationExists(path)
|
245
|
+
if File.directory?(path)
|
246
|
+
return true
|
247
|
+
else
|
248
|
+
throwError("Could not find location '" + path + "'. Did you fetch metdata from store before launching plugin?")
|
249
|
+
return false
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
def self.description
|
254
|
+
"Prepares metadata files with structure ready for AppStore, PlayStore deploy"
|
255
|
+
end
|
256
|
+
|
257
|
+
def self.authors
|
258
|
+
["Kamil Krzyk, Przemysław Wośko"]
|
259
|
+
end
|
260
|
+
|
261
|
+
def self.available_options
|
262
|
+
[
|
263
|
+
FastlaneCore::ConfigItem.new(key: :platform,
|
264
|
+
env_name: "DEPLOY_FOR_PLATFORM",
|
265
|
+
description: "For which platform files should be prepared",
|
266
|
+
is_string: true,
|
267
|
+
optional: false),
|
268
|
+
FastlaneCore::ConfigItem.new(key: :apiCredentialsPath,
|
269
|
+
env_name: "API_CREDENTIALS_PATH",
|
270
|
+
description: "File that contains your OAuth2.0 data",
|
271
|
+
is_string: true,
|
272
|
+
optional: false),
|
273
|
+
FastlaneCore::ConfigItem.new(key: :spreadsheetId,
|
274
|
+
env_name: "SPREADSHEET_ID",
|
275
|
+
description: "Your spreadsheet id",
|
276
|
+
is_string: true,
|
277
|
+
optional: false),
|
278
|
+
FastlaneCore::ConfigItem.new(key: :spreadsheetApplicationName,
|
279
|
+
env_name: "SPREADSHEET_APPLICATION_NAME",
|
280
|
+
description: "Your google plafrom application name",
|
281
|
+
is_string: true,
|
282
|
+
optional: false),
|
283
|
+
FastlaneCore::ConfigItem.new(key: :credentialsPath,
|
284
|
+
env_name: "SPREADSHEET_APPLICATION_NAME",
|
285
|
+
description: "Sphreadsheet OAuth2 credentials url",
|
286
|
+
is_string: true,
|
287
|
+
optional: false)
|
288
|
+
]
|
289
|
+
end
|
290
|
+
|
291
|
+
def self.is_supported?(platform)
|
292
|
+
platform == :android || platform == :ios
|
293
|
+
end
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'google/apis/sheets_v4'
|
2
|
+
require 'googleauth'
|
3
|
+
require 'googleauth/stores/file_token_store'
|
4
|
+
|
5
|
+
require 'fileutils'
|
6
|
+
|
7
|
+
|
8
|
+
module Fastlane
|
9
|
+
module Helper
|
10
|
+
class DeployFileProviderHelper
|
11
|
+
|
12
|
+
OOB_URI = 'urn:ietf:wg:oauth:2.0:oob'
|
13
|
+
SCOPE = Google::Apis::SheetsV4::AUTH_SPREADSHEETS_READONLY
|
14
|
+
credentials = ''
|
15
|
+
|
16
|
+
def self.authorizedService(params)
|
17
|
+
client_secret_path_param = params[:apiCredentialsPath]
|
18
|
+
application_name = params[:spreadsheetApplicationName]
|
19
|
+
credentials_path = params[:credentialsPath]
|
20
|
+
|
21
|
+
service = Google::Apis::SheetsV4::SheetsService.new
|
22
|
+
service.client_options.application_name = application_name
|
23
|
+
client_id = Google::Auth::ClientId.from_file(client_secret_path_param)
|
24
|
+
token_store = Google::Auth::Stores::FileTokenStore.new(file: credentials_path)
|
25
|
+
authorizer = Google::Auth::UserAuthorizer.new(
|
26
|
+
client_id, SCOPE, token_store)
|
27
|
+
user_id = 'default'
|
28
|
+
credentials = authorizer.get_credentials(user_id)
|
29
|
+
service.authorization = credentials
|
30
|
+
return service
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.get_descriptions_array(params)
|
34
|
+
spreadsheet_id = params[:spreadsheetId]
|
35
|
+
service = self.authorizedService(params)
|
36
|
+
|
37
|
+
range = 'Master!B1:K7'
|
38
|
+
response = service.get_spreadsheet_values(spreadsheet_id, range)
|
39
|
+
puts 'No data found.' if response.values.empty?
|
40
|
+
return self.parse_json(response)
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.get_android_version(params)
|
44
|
+
spreadsheet_id = params[:spreadsheetId]
|
45
|
+
service = self.authorizedService(params)
|
46
|
+
|
47
|
+
range = 'Android!B1'
|
48
|
+
response = service.get_spreadsheet_values(spreadsheet_id, range)
|
49
|
+
puts 'No android version provided!'.red if response.values.empty?
|
50
|
+
return response.values[0][0]
|
51
|
+
end
|
52
|
+
|
53
|
+
def self.parse_json(response)
|
54
|
+
transposed = response.values.transpose
|
55
|
+
size = transposed.size
|
56
|
+
array = Array.new()
|
57
|
+
transposed.each do |row|
|
58
|
+
dictionary = {:language => row[0], :description => row[1], :releaseNotesiOS => row[2], :releaseNotesAndroid => row[3]}
|
59
|
+
array << dictionary
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'fastlane/plugin/deploy_file_provider/version'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module DeployFileProvider
|
5
|
+
# Return all .rb files inside the "actions" and "helper" directory
|
6
|
+
def self.all_classes
|
7
|
+
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
# By default we want to import all available actions and helpers
|
13
|
+
# A plugin can contain any number of actions and plugins
|
14
|
+
Fastlane::DeployFileProvider.all_classes.each do |current|
|
15
|
+
require current
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fastlane-plugin-deploy_file_provider
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kamil Krzyk
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: google-api-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: fastlane
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.103.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.103.0
|
111
|
+
description:
|
112
|
+
email: krzyk.kamil@gmail.com
|
113
|
+
executables: []
|
114
|
+
extensions: []
|
115
|
+
extra_rdoc_files: []
|
116
|
+
files:
|
117
|
+
- LICENSE
|
118
|
+
- README.md
|
119
|
+
- lib/fastlane/plugin/deploy_file_provider.rb
|
120
|
+
- lib/fastlane/plugin/deploy_file_provider/actions/deploy_file_provider_action.rb
|
121
|
+
- lib/fastlane/plugin/deploy_file_provider/helper/deploy_file_provider_helper.rb
|
122
|
+
- lib/fastlane/plugin/deploy_file_provider/version.rb
|
123
|
+
homepage:
|
124
|
+
licenses:
|
125
|
+
- MIT
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
requirements: []
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 2.5.1
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: Prepares metadata files with structure ready for AppStore, PlayStore deploy
|
147
|
+
test_files: []
|