fastlane-plugin-appmetrica 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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9674ae538cf32deea5c0925d03448e0a4ee4528d79a05baa7c4b19256255a8b4
|
4
|
+
data.tar.gz: 5c92a6a6a6e99d4a0f8aa3609c9af20932c33ca9a38afae82aba73126539caa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6f30dc84543fa645c9ccb5aa0f365f70f5fd7fcd7d6089e3b9c97434188d988e5747c6620da608ebec58ac1cb32c7439b1017d1badb20fe8c81063be95b562
|
7
|
+
data.tar.gz: e668b995bd367435b27955691da9f3fba4a2a36a1d41c3faa01155c0ca3d55fd114c071a9cba80dcd083ed29db6c245f5df86709cc55114b9f525e3e3eebfd71
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ fastlane add_plugin appmetrica
|
|
13
13
|
## About AppMetrica Plugin
|
14
14
|
|
15
15
|
Upload dSYM symbolication files to AppMetrica.
|
16
|
-
Documentation could be found at [AppMetrica official site](https://appmetrica.yandex.ru/docs/
|
16
|
+
Documentation could be found at [AppMetrica official site](https://appmetrica.yandex.ru/docs/crashes/upload-dsym.html)
|
17
17
|
|
18
18
|
## Example
|
19
19
|
|
@@ -16,7 +16,11 @@ module Fastlane
|
|
16
16
|
package_output_path = File.absolute_path(params[:package_output_path])
|
17
17
|
end
|
18
18
|
|
19
|
-
files =
|
19
|
+
files = []
|
20
|
+
files += params[:files] if params[:files]
|
21
|
+
files << Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH] if Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH]
|
22
|
+
files += Actions.lane_context[SharedValues::DSYM_PATHS] if Actions.lane_context[SharedValues::DSYM_PATHS]
|
23
|
+
|
20
24
|
files = files.map do |file|
|
21
25
|
self.process_file(file, temp_dir) unless file.nil?
|
22
26
|
end
|
@@ -32,8 +36,10 @@ module Fastlane
|
|
32
36
|
|
33
37
|
def self.process_file(file_path, temp_dir)
|
34
38
|
if File.extname(file_path) == ".zip"
|
35
|
-
|
36
|
-
|
39
|
+
output_path = File.join(temp_dir, SecureRandom.uuid)
|
40
|
+
Dir.mkdir(output_path)
|
41
|
+
Actions.sh("unzip -o #{file_path.shellescape} -d #{output_path.shellescape} 2>/dev/null")
|
42
|
+
return output_path
|
37
43
|
end
|
38
44
|
return File.absolute_path(file_path)
|
39
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-appmetrica
|
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
|
- Yandex, LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|