fastlane-plugin-appmetrica 0.1.2 → 0.2.0
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: b57c262aa95867434873f3c31775be6b5821e15af67882a9454f8a16095e313d
|
4
|
+
data.tar.gz: 1f77844088ccfc9e132b5e460147cf9573b9ba4be057013e1a47fad78d71dccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd019072602b8dd61a6fb74622042f61a3564a5839da01f2d24bb2296bb53e225e42b17595310682dd99ebe86f353de828dcd2dd70f07df6aba3eaf03ef15a55
|
7
|
+
data.tar.gz: 8437073c9e1d83c769f4cb14e5b417de3124dfa80b4455c87f2e1ea3c9a5cbec687097f87c89d68a760c8e8a57c1f828ae8f9901d273e559e8072813267b5fc3
|
@@ -16,19 +16,16 @@ module Fastlane
|
|
16
16
|
package_output_path = File.absolute_path(params[:package_output_path])
|
17
17
|
end
|
18
18
|
|
19
|
-
files = []
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
files = files.map do |file|
|
25
|
-
self.process_file(file, temp_dir) unless file.nil?
|
26
|
-
end
|
19
|
+
files = Array(params[:files]) +
|
20
|
+
Array(Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH]) +
|
21
|
+
Array(Actions.lane_context[SharedValues::DSYM_PATHS])
|
22
|
+
|
23
|
+
files = files.compact.map { |file| self.process_file(file, temp_dir) }
|
27
24
|
|
28
25
|
cmd = [params[:binary_path], "--post-api-key=#{params[:post_api_key]}"]
|
29
26
|
cmd << "--verbose" if params[:verbose]
|
30
27
|
cmd << "--package-output-path=#{package_output_path.shellescape}" unless package_output_path.nil?
|
31
|
-
cmd += files unless files.
|
28
|
+
cmd += files unless files.empty?
|
32
29
|
|
33
30
|
UI.message("Starting helper")
|
34
31
|
Actions.sh(cmd)
|
@@ -45,18 +42,18 @@ module Fastlane
|
|
45
42
|
end
|
46
43
|
|
47
44
|
def self.find_binary(params)
|
48
|
-
params[:binary_path] ||= Dir["./Pods
|
45
|
+
params[:binary_path] ||= Dir["./Pods/**/*MobileMetrica/helper"].last
|
49
46
|
|
50
47
|
unless params[:binary_path]
|
51
48
|
UI.user_error!("Failed to find 'helper' binary. Install YandexMobileMetrica 3.8.0 pod or higher. "\
|
52
49
|
"You may specify the location of the binary by using the binary_path option")
|
53
50
|
end
|
54
51
|
|
55
|
-
params[:binary_path] = File.expand_path(params[:binary_path])
|
52
|
+
params[:binary_path] = File.expand_path(params[:binary_path]).shellescape
|
56
53
|
|
57
|
-
cli_version = Gem::Version.new(`#{params[:binary_path]
|
54
|
+
cli_version = Gem::Version.new(`#{params[:binary_path]} --version`.strip)
|
58
55
|
unless Gem::Requirement.new(Fastlane::Appmetrica::CLI_VERSION) =~ cli_version
|
59
|
-
UI.user_error!("Your 'helper' is
|
56
|
+
UI.user_error!("Your 'helper' is outdated, please upgrade to at least version "\
|
60
57
|
"#{Fastlane::Appmetrica::CLI_VERSION} and start again!")
|
61
58
|
end
|
62
59
|
end
|
@@ -97,7 +94,7 @@ module Fastlane
|
|
97
94
|
FastlaneCore::ConfigItem.new(key: :verbose,
|
98
95
|
description: "Verbose mode. Displays additional information",
|
99
96
|
optional: true,
|
100
|
-
type:
|
97
|
+
type: Boolean),
|
101
98
|
FastlaneCore::ConfigItem.new(key: :files,
|
102
99
|
description: "An optional list of dSYM files or directories that "\
|
103
100
|
"contain these files to upload. If not specified, "\
|
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.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yandex, LLC
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 2.131.0
|
139
|
-
description:
|
139
|
+
description:
|
140
140
|
email: appmetrica@yandex-team.ru
|
141
141
|
executables: []
|
142
142
|
extensions: []
|
@@ -151,7 +151,7 @@ homepage: https://github.com/yandexmobile/metrica-plugin-fastlane
|
|
151
151
|
licenses:
|
152
152
|
- Nonstandard
|
153
153
|
metadata: {}
|
154
|
-
post_install_message:
|
154
|
+
post_install_message:
|
155
155
|
rdoc_options: []
|
156
156
|
require_paths:
|
157
157
|
- lib
|
@@ -166,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
rubygems_version: 3.
|
170
|
-
signing_key:
|
169
|
+
rubygems_version: 3.2.22
|
170
|
+
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: Upload dSYM symbolication files to AppMetrica
|
173
173
|
test_files: []
|