Skip to content

Commit 36ddbc4

Browse files
authored
Merge pull request #311 from DeployGate/work/update_fastlane_to_2_212_1
Update fastlane gem 2.148.1 -> 2.212.1
2 parents d27ab77 + 333acf1 commit 36ddbc4

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

deploygate.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ POST_INSTALL_MESSAGE
2525
spec.add_runtime_dependency 'commander', '~> 4.4'
2626
spec.add_runtime_dependency 'plist', '~> 3.1'
2727
spec.add_runtime_dependency 'xcodeproj', '~> 1.7'
28-
spec.add_runtime_dependency 'highline', '~> 1.7'
28+
spec.add_runtime_dependency 'highline', '~> 2.0'
2929
spec.add_runtime_dependency 'uuid', '~> 2.3'
3030
spec.add_runtime_dependency 'gem_update_checker', '~> 0.2'
3131
spec.add_runtime_dependency 'activesupport', '~> 4.2'
@@ -35,10 +35,10 @@ POST_INSTALL_MESSAGE
3535
spec.add_runtime_dependency 'net-ping', '~> 2.0'
3636
spec.add_runtime_dependency 'socket.io-client-simple', '~> 1.2'
3737
spec.add_runtime_dependency 'workers', '~> 0.6'
38-
spec.add_runtime_dependency 'sentry-raven', '~> 2.8'
38+
spec.add_runtime_dependency 'sentry-ruby', '~> 5.8'
3939

4040
# ios build
41-
spec.add_runtime_dependency 'fastlane', '~> 2.148.1'
41+
spec.add_runtime_dependency 'fastlane', '~> 2.212.1'
4242

4343
spec.add_development_dependency 'bundler', '>= 2.1.4', '< 3.0'
4444
spec.add_development_dependency 'rake', '~> 12.0'

lib/deploygate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
require "net/ping"
2323
require "socket.io-client-simple"
2424
require "workers"
25-
require "sentry-raven"
25+
require "sentry-ruby"
2626

2727
require "i18n"
2828
I18n.load_path = Dir[File.join(File.dirname(__FILE__), '../config/locales/*.yml')]

lib/deploygate/command_builder.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ class NotInternetConnectionError < DeployGate::RavenIgnoreException
1616

1717
def setup
1818
# sentry config
19-
Raven.configure do |config|
19+
Sentry.init do |config|
2020
config.dsn = 'https://e0b4dda8fe2049a7b0d98c6d2759e067@sentry.io/1371610'
21-
config.logger = Raven::Logger.new('/dev/null') # hide sentry log
22-
config.excluded_exceptions = Raven::Configuration::IGNORE_DEFAULT + [DeployGate::RavenIgnoreException.name]
21+
config.logger = Sentry::Logger.new('/dev/null') # hide sentry log
22+
config.excluded_exceptions = Sentry::Configuration::IGNORE_DEFAULT + [DeployGate::RavenIgnoreException.name]
2323
end
2424

2525
# set Ctrl-C trap
@@ -163,7 +163,7 @@ def error_handling(command, error)
163163
version = Gym::Xcode.xcode_version
164164
tags[:xcode_version] = version if version.present?
165165

166-
Raven.capture_exception(error, tags: tags)
166+
Sentry.capture_exception(error, tags: tags)
167167
puts HighLine.color(I18n.t('command_builder.error_handling.thanks'), HighLine::GREEN)
168168
end
169169
end

0 commit comments

Comments
 (0)