deploygate 0.8.6 → 0.9.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: 78a68445adce138ce74a627acc6f31cbab4d841eb42bd3cf859948a57b7101ab
4
- data.tar.gz: a4b69205f86a86a59d26e7bf2233f8cd3cd8a686f09ef83ab994436615a92043
3
+ metadata.gz: adf14ae1f32fecc9f1ea43039f92b32666c3a1eac168c4fa0ff34e05f1b97076
4
+ data.tar.gz: e1659f8923152038701e75382bf2aa1547cadea45bf6d276507d3a644a521498
5
5
  SHA512:
6
- metadata.gz: 44da777df37680c6005f5cdf17162dc5af6b27ee8a6be8ee007d19e1c1b7a77ddc3f82ac1f2cc94051bedd0206117200249e82d9d98b5923518e872d9b3cfc29
7
- data.tar.gz: 89466928832a91a6bf35de91a60817793ee7032698878a64daa1f2149d87612cfb2f6b6d4adfb265560d9171c4ea8f7a2cf67b04ec08a74d4a7091241af999b0
6
+ metadata.gz: 1d5a10525fb53f0716c6f881af75fbef60a83c5dc87bd9665d3506ca532edc0313b64634483806bff3368f8f844194ded2e2f83866bee5e36c1460ae6333c38d
7
+ data.tar.gz: 4ee64348e03fc576418bb5f76056cec7981abb978a06684a2fe99b0d96e664c049ed135b19b5d1009fd80ec8ed1232fe1ae7a6119b4d4404b36b5a431725e41e
@@ -18,4 +18,5 @@ jobs:
18
18
  with:
19
19
  ruby-version: ${{ matrix.ruby_version }}
20
20
  bundler-cache: true
21
- - run: bundle exec rake
21
+ - run: gem update --system 3.4.22 # The latest of Ruby 2.x support
22
+ - run: bundle exec rake
@@ -13,9 +13,10 @@ jobs:
13
13
  - uses: ruby/setup-ruby@v1
14
14
  with:
15
15
  bundler-cache: true
16
+ - run: gem update --system 3.4.22 # The latest of Ruby 2.x support
16
17
  - run: bundle exec rake build
17
18
  - id: gem
18
- run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)"
19
+ run: echo "result=$(find pkg -name 'deploygate-*.gem' -type f | head -1)" >> $GITHUB_OUTPUT
19
20
  - run: |
20
21
  gem push '${{ steps.gem.outputs.result }}'
21
22
  env:
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in deploygate.gemspec
4
4
  gemspec
5
+
6
+ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.1.0")
7
+ gem "multi_xml", "~> 0.6.0"
8
+ end
data/deploygate.gemspec CHANGED
@@ -25,7 +25,7 @@ POST_INSTALL_MESSAGE
25
25
  spec.add_runtime_dependency 'commander', '~> 4.4'
26
26
  spec.add_runtime_dependency 'plist', '~> 3.1'
27
27
  spec.add_runtime_dependency 'xcodeproj', '~> 1.7'
28
- spec.add_runtime_dependency 'highline', '~> 1.7'
28
+ spec.add_runtime_dependency 'highline', '~> 2.0'
29
29
  spec.add_runtime_dependency 'uuid', '~> 2.3'
30
30
  spec.add_runtime_dependency 'gem_update_checker', '~> 0.2'
31
31
  spec.add_runtime_dependency 'activesupport', '~> 4.2'
@@ -35,10 +35,10 @@ POST_INSTALL_MESSAGE
35
35
  spec.add_runtime_dependency 'net-ping', '~> 2.0'
36
36
  spec.add_runtime_dependency 'socket.io-client-simple', '~> 1.2'
37
37
  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'
39
39
 
40
40
  # ios build
41
- spec.add_runtime_dependency 'fastlane', '~> 2.148.1'
41
+ spec.add_runtime_dependency 'fastlane', '~> 2.212.1'
42
42
 
43
43
  spec.add_development_dependency 'bundler', '>= 2.1.4', '< 3.0'
44
44
  spec.add_development_dependency 'rake', '~> 12.0'
@@ -24,7 +24,7 @@ module DeployGate
24
24
  { :file => file ,
25
25
  :message => message,
26
26
  :distribution_key => distribution_key,
27
- :disable_notify => disable_notify ? 'yes' : 'no',
27
+ :disable_notify => disable_notify,
28
28
  :dg_command => command || '',
29
29
  :env_ci => env_ci
30
30
  }) { process_block.call unless process_block.nil? }
@@ -16,10 +16,10 @@ module DeployGate
16
16
 
17
17
  def setup
18
18
  # sentry config
19
- Raven.configure do |config|
19
+ Sentry.init do |config|
20
20
  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]
23
23
  end
24
24
 
25
25
  # set Ctrl-C trap
@@ -163,7 +163,7 @@ module DeployGate
163
163
  version = Gym::Xcode.xcode_version
164
164
  tags[:xcode_version] = version if version.present?
165
165
 
166
- Raven.capture_exception(error, tags: tags)
166
+ Sentry.capture_exception(error, tags: tags)
167
167
  puts HighLine.color(I18n.t('command_builder.error_handling.thanks'), HighLine::GREEN)
168
168
  end
169
169
  end
@@ -1,4 +1,4 @@
1
1
  module DeployGate
2
- VERSION = '0.8.6'
2
+ VERSION = '0.9.1'
3
3
  VERSION_CODE = Gem::Version.new(VERSION).segments.reverse.each_with_index.map { |v, i| 100 ** i * v }.reduce(&:+)
4
4
  end
data/lib/deploygate.rb CHANGED
@@ -22,7 +22,7 @@ require "webrick"
22
22
  require "net/ping"
23
23
  require "socket.io-client-simple"
24
24
  require "workers"
25
- require "sentry-raven"
25
+ require "sentry-ruby"
26
26
 
27
27
  require "i18n"
28
28
  I18n.load_path = Dir[File.join(File.dirname(__FILE__), '../config/locales/*.yml')]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploygate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - deploygate
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2024-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.7'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.7'
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: uuid
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -221,33 +221,33 @@ dependencies:
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0.6'
223
223
  - !ruby/object:Gem::Dependency
224
- name: sentry-raven
224
+ name: sentry-ruby
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '2.8'
229
+ version: '5.8'
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '2.8'
236
+ version: '5.8'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: fastlane
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: 2.148.1
243
+ version: 2.212.1
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: 2.148.1
250
+ version: 2.212.1
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: bundler
253
253
  requirement: !ruby/object:Gem::Requirement
@@ -425,8 +425,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
425
425
  - !ruby/object:Gem::Version
426
426
  version: '0'
427
427
  requirements: []
428
- rubygems_version: 3.0.9
429
- signing_key:
428
+ rubygems_version: 3.4.22
429
+ signing_key:
430
430
  specification_version: 4
431
431
  summary: A command-line interface for DeployGate
432
432
  test_files:
@@ -449,4 +449,3 @@ test_files:
449
449
  - spec/deploygate/xcode/member_centers/provisioning_profile_spec.rb
450
450
  - spec/spec_helper.rb
451
451
  - spec/test_files/DeployGateSample.apk
452
- ...