fastlane-plugin-uninow_sentry 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd67f71b0beffa5d88c996818c654692ed9e10e77f4f58313a20455ef475dc4a
4
- data.tar.gz: dbf13e29b9815332e1f7dbcf3e0fb19a468b59e6d859c65db682e31995d631dd
3
+ metadata.gz: 4281fb1833018327742aea6ad5d092659a78fde695515dc15050f81fa1546cd1
4
+ data.tar.gz: b30a4e76ce4d52a1357aca59f4eebb0b156adf4bc829d216bda273ab923fdb9d
5
5
  SHA512:
6
- metadata.gz: 931b1aa1f146edea3a2dc5b0de8e658958a0138cdbb536152cb6a7f280e328309dd57d120c8eabf4e3f7b103190dd9c2fe739b470c0b218e60a117d8b5f7102e
7
- data.tar.gz: 815776479d94d22234d194e37b7061dc5f05e32bf6858799f0c2d9d2515100cc712b6aead7f6a9655d3fbf234d27f308850fc2102a9a36fb70400d87bc62b2a7
6
+ metadata.gz: 44dd197b58178d8ec3f139e56260baa3a2ccd1b1aa997d010a75fd574686de54b5b349fc48e8296740dda7dd4a5ed0e06e5d1958d3b3058589e456349b7967c9
7
+ data.tar.gz: df2174dc938f7eda5d1060be44edf2e89c2ef2921218812852e6139c17a4b7603d1faf04b9eef898fca968e947228069a1795d638f5f4acc710b2f3dd17f9a60
@@ -1,7 +1,7 @@
1
1
  require 'fastlane/plugin/uninow_sentry/version'
2
2
 
3
3
  module Fastlane
4
- module Sentry
4
+ module UninowSentry
5
5
  # Return all .rb files inside the "actions" and "helper" directory
6
6
  def self.all_classes
7
7
  Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
@@ -11,6 +11,6 @@ end
11
11
 
12
12
  # By default we want to import all available actions and helpers
13
13
  # A plugin can contain any number of actions and plugins
14
- Fastlane::Sentry.all_classes.each do |current|
14
+ Fastlane::UninowSentry.all_classes.each do |current|
15
15
  require current
16
16
  end
@@ -4,8 +4,8 @@ module Fastlane
4
4
  def self.run(params)
5
5
  require 'shellwords'
6
6
 
7
- Helper::SentryHelper.check_sentry_cli!
8
- Helper::SentryConfig.parse_api_params(params)
7
+ Helper::UninowSentryHelper.check_sentry_cli!
8
+ Helper::UninowSentryConfig.parse_api_params(params)
9
9
 
10
10
  version = params[:version]
11
11
  version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
@@ -18,7 +18,7 @@ module Fastlane
18
18
  ]
19
19
  command.push("--finalize") if params[:finalize].nil?
20
20
 
21
- Helper::SentryHelper.call_sentry_cli(command)
21
+ Helper::UninowSentryHelper.call_sentry_cli(command)
22
22
  UI.success("Successfully created release: #{version}")
23
23
  end
24
24
 
@@ -38,7 +38,7 @@ module Fastlane
38
38
  end
39
39
 
40
40
  def self.available_options
41
- Helper::SentryConfig.common_api_config_items + [
41
+ Helper::UninowSentryConfig.common_api_config_items + [
42
42
  FastlaneCore::ConfigItem.new(key: :version,
43
43
  description: "Release version to create on Sentry"),
44
44
  FastlaneCore::ConfigItem.new(key: :finalize,
@@ -4,8 +4,8 @@ module Fastlane
4
4
  def self.run(params)
5
5
  require 'shellwords'
6
6
 
7
- Helper::SentryHelper.check_sentry_cli!
8
- Helper::SentryConfig.parse_api_params(params)
7
+ Helper::UninowSentryHelper.check_sentry_cli!
8
+ Helper::UninowSentryConfig.parse_api_params(params)
9
9
 
10
10
  version = params[:version]
11
11
  version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
@@ -17,7 +17,7 @@ module Fastlane
17
17
  version
18
18
  ]
19
19
 
20
- Helper::SentryHelper.call_sentry_cli(command)
20
+ Helper::UninowSentryHelper.call_sentry_cli(command)
21
21
  UI.success("Successfully finalized release: #{version}")
22
22
  end
23
23
 
@@ -37,7 +37,7 @@ module Fastlane
37
37
  end
38
38
 
39
39
  def self.available_options
40
- Helper::SentryConfig.common_api_config_items + [
40
+ Helper::UninowSentryConfig.common_api_config_items + [
41
41
  FastlaneCore::ConfigItem.new(key: :version,
42
42
  description: "Release version to finalize on Sentry"),
43
43
  FastlaneCore::ConfigItem.new(key: :app_identifier,
@@ -4,8 +4,8 @@ module Fastlane
4
4
  def self.run(params)
5
5
  require 'shellwords'
6
6
 
7
- Helper::SentryHelper.check_sentry_cli!
8
- Helper::SentryConfig.parse_api_params(params)
7
+ Helper::UninowSentryHelper.check_sentry_cli!
8
+ Helper::UninowSentryConfig.parse_api_params(params)
9
9
 
10
10
  version = params[:version]
11
11
  version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
@@ -21,7 +21,7 @@ module Fastlane
21
21
  command.push('--clear') if params[:clear]
22
22
  command.push('--commit').push(params[:commit]) unless params[:commit].nil?
23
23
 
24
- Helper::SentryHelper.call_sentry_cli(command)
24
+ Helper::UninowSentryHelper.call_sentry_cli(command)
25
25
  UI.success("Successfully set commits for release: #{version}")
26
26
  end
27
27
 
@@ -41,7 +41,7 @@ module Fastlane
41
41
  end
42
42
 
43
43
  def self.available_options
44
- Helper::SentryConfig.common_api_config_items + [
44
+ Helper::UninowSentryConfig.common_api_config_items + [
45
45
  FastlaneCore::ConfigItem.new(key: :version,
46
46
  description: "Release version on Sentry"),
47
47
  FastlaneCore::ConfigItem.new(key: :app_identifier,
@@ -2,8 +2,8 @@ module Fastlane
2
2
  module Actions
3
3
  class SentryUploadDsymAction < Action
4
4
  def self.run(params)
5
- Helper::SentryHelper.check_sentry_cli!
6
- Helper::SentryConfig.parse_api_params(params)
5
+ Helper::UninowSentryHelper.check_sentry_cli!
6
+ Helper::UninowSentryConfig.parse_api_params(params)
7
7
 
8
8
  # Params - dSYM
9
9
  dsym_path = params[:dsym_path]
@@ -23,7 +23,7 @@ module Fastlane
23
23
  command.push(params[:info_plist]) unless params[:info_plist].nil?
24
24
  command += dsym_paths
25
25
 
26
- Helper::SentryHelper.call_sentry_cli(command)
26
+ Helper::UninowSentryHelper.call_sentry_cli(command)
27
27
  UI.success("Successfully uploaded dSYMs!")
28
28
  end
29
29
 
@@ -44,7 +44,7 @@ module Fastlane
44
44
  end
45
45
 
46
46
  def self.available_options
47
- Helper::SentryConfig.common_api_config_items + [
47
+ Helper::UninowSentryConfig.common_api_config_items + [
48
48
  FastlaneCore::ConfigItem.new(key: :dsym_path,
49
49
  env_name: "SENTRY_DSYM_PATH",
50
50
  description: "Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip",
@@ -4,8 +4,8 @@ module Fastlane
4
4
  def self.run(params)
5
5
  require 'shellwords'
6
6
 
7
- Helper::SentryHelper.check_sentry_cli!
8
- Helper::SentryConfig.parse_api_params(params)
7
+ Helper::UninowSentryHelper.check_sentry_cli!
8
+ Helper::UninowSentryConfig.parse_api_params(params)
9
9
 
10
10
  file = params[:file]
11
11
 
@@ -23,7 +23,7 @@ module Fastlane
23
23
  command.push(params[:file_url]) unless params[:file_url].nil?
24
24
  command.push("--dist").push(params[:dist]) unless params[:dist].nil?
25
25
 
26
- Helper::SentryHelper.call_sentry_cli(command)
26
+ Helper::UninowSentryHelper.call_sentry_cli(command)
27
27
  UI.success("Successfully uploaded files to release: #{version}")
28
28
  end
29
29
 
@@ -43,7 +43,7 @@ module Fastlane
43
43
  end
44
44
 
45
45
  def self.available_options
46
- Helper::SentryConfig.common_api_config_items + [
46
+ Helper::UninowSentryConfig.common_api_config_items + [
47
47
  FastlaneCore::ConfigItem.new(key: :version,
48
48
  description: "Release version on Sentry"),
49
49
  FastlaneCore::ConfigItem.new(key: :dist,
@@ -2,8 +2,8 @@ module Fastlane
2
2
  module Actions
3
3
  class SentryUploadProguardAction < Action
4
4
  def self.run(params)
5
- Helper::SentryHelper.check_sentry_cli!
6
- Helper::SentryConfig.parse_api_params(params)
5
+ Helper::UninowSentryHelper.check_sentry_cli!
6
+ Helper::UninowSentryConfig.parse_api_params(params)
7
7
 
8
8
  # Params - mapping & manifest
9
9
  mapping_path = params[:mapping_path]
@@ -21,7 +21,7 @@ module Fastlane
21
21
  mapping_path
22
22
  ]
23
23
 
24
- Helper::SentryHelper.call_sentry_cli(command)
24
+ Helper::UninowSentryHelper.call_sentry_cli(command)
25
25
  UI.success("Successfully uploaded mapping file!")
26
26
  end
27
27
 
@@ -41,7 +41,7 @@ module Fastlane
41
41
  end
42
42
 
43
43
  def self.available_options
44
- Helper::SentryConfig.common_api_config_items + [
44
+ Helper::UninowSentryConfig.common_api_config_items + [
45
45
  FastlaneCore::ConfigItem.new(key: :mapping_path,
46
46
  env_name: "ANDROID_MAPPING_PATH",
47
47
  description: "Path to your proguard mapping.txt file",
@@ -4,8 +4,8 @@ module Fastlane
4
4
  def self.run(params)
5
5
  require 'shellwords'
6
6
 
7
- Helper::SentryHelper.check_sentry_cli!
8
- Helper::SentryConfig.parse_api_params(params)
7
+ Helper::UninowSentryHelper.check_sentry_cli!
8
+ Helper::UninowSentryConfig.parse_api_params(params)
9
9
 
10
10
  version = params[:version]
11
11
  sourcemap = params[:sourcemap]
@@ -40,7 +40,7 @@ module Fastlane
40
40
 
41
41
  command.push('--ignore-file').push(params[:ignore_file]) unless params[:ignore_file].nil?
42
42
 
43
- Helper::SentryHelper.call_sentry_cli(command)
43
+ Helper::UninowSentryHelper.call_sentry_cli(command)
44
44
  UI.success("Successfully uploaded files to release: #{version}")
45
45
  end
46
46
 
@@ -60,7 +60,7 @@ module Fastlane
60
60
  end
61
61
 
62
62
  def self.available_options
63
- Helper::SentryConfig.common_api_config_items + [
63
+ Helper::UninowSentryConfig.common_api_config_items + [
64
64
  FastlaneCore::ConfigItem.new(key: :version,
65
65
  description: "Release version on Sentry"),
66
66
  FastlaneCore::ConfigItem.new(key: :dist,
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Helper
3
- class SentryConfig
3
+ class UninowSentryConfig
4
4
  def self.common_api_config_items
5
5
  [
6
6
  FastlaneCore::ConfigItem.new(key: :url,
@@ -1,9 +1,9 @@
1
1
  module Fastlane
2
2
  module Helper
3
- class SentryHelper
3
+ class UninowSentryHelper
4
4
  def self.check_sentry_cli!
5
5
  unless `which sentry-cli`.include?('sentry-cli')
6
- UI.error("You have to install sentry-cli version #{Fastlane::Sentry::CLI_VERSION} to use this plugin")
6
+ UI.error("You have to install sentry-cli version #{Fastlane::UninowSentry::CLI_VERSION} to use this plugin")
7
7
  UI.error("")
8
8
  UI.error("Install it using:")
9
9
  UI.command("brew install getsentry/tools/sentry-cli")
@@ -14,9 +14,9 @@ module Fastlane
14
14
  end
15
15
 
16
16
  sentry_cli_version = Gem::Version.new(`sentry-cli --version`.scan(/(?:\d+\.?){3}/).first)
17
- required_version = Gem::Version.new(Fastlane::Sentry::CLI_VERSION)
17
+ required_version = Gem::Version.new(Fastlane::UninowSentry::CLI_VERSION)
18
18
  if sentry_cli_version < required_version
19
- UI.user_error!("Your sentry-cli is outdated, please upgrade to at least version #{Fastlane::Sentry::CLI_VERSION} and start your lane again!")
19
+ UI.user_error!("Your sentry-cli is outdated, please upgrade to at least version #{Fastlane::UninowSentry::CLI_VERSION} and start your lane again!")
20
20
  end
21
21
 
22
22
  UI.success("sentry-cli #{sentry_cli_version} installed!")
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
- module UniNowSentry
3
- VERSION = "2.0.4"
2
+ module UninowSentry
3
+ VERSION = "2.0.5"
4
4
  CLI_VERSION = "1.48.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-uninow_sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Krusch
@@ -96,8 +96,8 @@ files:
96
96
  - lib/fastlane/plugin/uninow_sentry/actions/uninow_sentry_upload_file.rb
97
97
  - lib/fastlane/plugin/uninow_sentry/actions/uninow_sentry_upload_proguard.rb
98
98
  - lib/fastlane/plugin/uninow_sentry/actions/uninow_sentry_upload_sourcemap.rb
99
- - lib/fastlane/plugin/uninow_sentry/helper/sentry_config.rb
100
- - lib/fastlane/plugin/uninow_sentry/helper/sentry_helper.rb
99
+ - lib/fastlane/plugin/uninow_sentry/helper/uninow_sentry_config.rb
100
+ - lib/fastlane/plugin/uninow_sentry/helper/uninow_sentry_helper.rb
101
101
  - lib/fastlane/plugin/uninow_sentry/version.rb
102
102
  homepage: https://github.com/tom-krusch/sentry-fastlane-plugin
103
103
  licenses: