fastlane-plugin-appmetrica 0.1.3 → 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: 01084b91e602d14633b065586e2d8e9b71a7c2bbd3781a7e7006ca38ddc1e67a
4
- data.tar.gz: 3337eb2b9c298e5fb008a0e6c31b1d913bf07dcc55838ae75298fcac82eda868
3
+ metadata.gz: b57c262aa95867434873f3c31775be6b5821e15af67882a9454f8a16095e313d
4
+ data.tar.gz: 1f77844088ccfc9e132b5e460147cf9573b9ba4be057013e1a47fad78d71dccb
5
5
  SHA512:
6
- metadata.gz: fce2842b604c6859b5b041ecbd30076a7ba69aca0e18293776001ee0c43c64d858bf3745a7ef28461be45293dd1968e3d44765a3dc2fe4e882900e09ed6fb5c2
7
- data.tar.gz: 02214c3a0d121db03170db5a1e2b1eddfb797032a4362408ef30afcf90d314b68d563d7f1dbb349c0046376edeafa8a6b6b66544e054457e90430e049db1e6d9
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
- 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]
19
+ files = Array(params[:files]) +
20
+ Array(Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH]) +
21
+ Array(Actions.lane_context[SharedValues::DSYM_PATHS])
23
22
 
24
- files = files.map do |file|
25
- self.process_file(file, temp_dir) unless file.nil?
26
- end
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.nil?
28
+ cmd += files unless files.empty?
32
29
 
33
30
  UI.message("Starting helper")
34
31
  Actions.sh(cmd)
@@ -45,7 +42,7 @@ module Fastlane
45
42
  end
46
43
 
47
44
  def self.find_binary(params)
48
- params[:binary_path] ||= Dir["./Pods/**/helper"].last
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. "\
@@ -56,7 +53,7 @@ module Fastlane
56
53
 
57
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 outdatedcd, please upgrade to at least version "\
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: String),
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, "\
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Appmetrica
3
- VERSION = "0.1.3"
3
+ VERSION = "0.2.0"
4
4
  CLI_VERSION = "~> 0.0"
5
5
  end
6
6
  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.3
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: 2019-12-25 00:00:00.000000000 Z
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.0.6
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: []