fastlane-plugin-flurry 0.1.0 → 0.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 753e4ccd06c6fe38d9e1eb09f80dfad7bce0bfa1
|
4
|
+
data.tar.gz: 3fe5540295a6b607f53e321356fa9c3567b27aa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ef3b19020f4e0edbfb38f569130ce089b3d011765c186d883fef4c8af2cd6c332d9feb77667b2214cac90014f8bafb30927e20d175e9d2c2a43ab17708a16b5
|
7
|
+
data.tar.gz: 814808409c3ccc68ca474e5cbfe7f92e7ff131aac1e70f8ec1c833e8337d1cb742f397c814310074e702e42843edec182243bb87d237af7e78b170846ea52f71
|
@@ -18,19 +18,28 @@ module Fastlane
|
|
18
18
|
api_key = params[:api_key]
|
19
19
|
auth_token = params[:auth_token]
|
20
20
|
timeout_in_s = params[:timeout_in_s]
|
21
|
-
# Params - dSYM
|
22
|
-
dsym_path = params[:dsym_path]
|
23
21
|
project_id = find_project(api_key, auth_token)
|
24
22
|
|
25
|
-
|
26
|
-
|
27
|
-
|
23
|
+
# Params - dSYM
|
24
|
+
dsym_path = params[:dsym_paths] || []
|
25
|
+
dsym_path += [params[:dsym_path]]
|
26
|
+
|
27
|
+
if dsym_path.size == 0
|
28
|
+
UI.user_error! "Couldn't find any DSYMs. Please pass them using the dsym_path option)"
|
29
|
+
end
|
30
|
+
|
31
|
+
dsym_path.compact.map do | single_dsym_path |
|
32
|
+
if single_dsym_path.end_with?('.zip')
|
33
|
+
UI.message("Extracting '#{single_dsym_path}'...")
|
34
|
+
single_dsym_path = unzip_file(single_dsym_path)
|
35
|
+
end
|
36
|
+
|
37
|
+
tar_zip_file = tar_zip_file(single_dsym_path)
|
38
|
+
upload_id = create_upload(tar_zip_file.size, project_id, auth_token)
|
39
|
+
send_to_upload_service(tar_zip_file.path, project_id, upload_id, auth_token)
|
40
|
+
check_upload_status(project_id, upload_id, auth_token, timeout_in_s)
|
28
41
|
end
|
29
42
|
|
30
|
-
tar_zip_file = tar_zip_file(dsym_path)
|
31
|
-
upload_id = create_upload(tar_zip_file.size, project_id, auth_token)
|
32
|
-
send_to_upload_service(tar_zip_file.path, project_id, upload_id, auth_token)
|
33
|
-
check_upload_status(project_id, upload_id, auth_token, timeout_in_s)
|
34
43
|
UI.message "Successfully Uploaded the provided dSYMs to Flurry."
|
35
44
|
end
|
36
45
|
|
@@ -182,6 +191,12 @@ module Fastlane
|
|
182
191
|
UI.user_error!("Couldn't find file at path '#{File.expand_path(value)}'") unless File.exist?(value)
|
183
192
|
UI.user_error!('Symbolication file needs to be dSYM or zip') unless value.end_with?('.dSYM', '.zip')
|
184
193
|
end),
|
194
|
+
FastlaneCore::ConfigItem.new(key: :dsym_paths,
|
195
|
+
env_name: 'FLURRY_DSYM_PATHS',
|
196
|
+
description: 'Path to an array of your symbols file. For iOS and Mac provide path to app.dSYM.zip',
|
197
|
+
default_value: Actions.lane_context[SharedValues::DSYM_PATHS],
|
198
|
+
is_string: false,
|
199
|
+
optional: true),
|
185
200
|
FastlaneCore::ConfigItem.new(key: :timeout_in_s,
|
186
201
|
env_name: 'TIMEOUT_IN_S',
|
187
202
|
description: 'Upload Timeout in Seconds',
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-flurry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akash Duseja
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: pry
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,4 +145,3 @@ signing_key:
|
|
131
145
|
specification_version: 4
|
132
146
|
summary: Upload dSYM symbolication files to Flurry
|
133
147
|
test_files: []
|
134
|
-
has_rdoc:
|