deploygate 0.8.5 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pull_request.yml +2 -1
- data/.github/workflows/release.yml +5 -4
- data/config/locales/en.yml +0 -3
- data/deploygate.gemspec +3 -3
- data/lib/deploygate/add_devices_server.rb +1 -1
- data/lib/deploygate/api/v1/push.rb +1 -1
- data/lib/deploygate/command_builder.rb +9 -7
- data/lib/deploygate/version.rb +1 -1
- data/lib/deploygate/xcode/analyze.rb +2 -1
- data/lib/deploygate.rb +1 -1
- metadata +12 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2669c914e21a76d6f95ec3e9805ae72f47ec0bc8fbf086ab2980fc9d21a8ac2b
|
4
|
+
data.tar.gz: 9abb804fc443e9f8c44e6cb524023f0e8beffa75b4861a8926212b5a786bc681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aba0aff7a36314c2ef9a866b5611573d2e8a8802e015b174a56e7794b1fce08631cbe93800583a655b4b1317b2328505d07654f4ac7fe401a2806418faef31a5
|
7
|
+
data.tar.gz: d28f72b321e978998010542dff5761957891691490ddb477558aec53f84405e7dd6f38302ee5f5033565fae821b2edaa2da17a94100e1dffbd7f1476cfdc0960
|
@@ -13,13 +13,14 @@ jobs:
|
|
13
13
|
- uses: ruby/setup-ruby@v1
|
14
14
|
with:
|
15
15
|
bundler-cache: true
|
16
|
+
- run: gem update --system
|
16
17
|
- run: bundle exec rake build
|
17
18
|
- id: gem
|
18
|
-
run: echo "
|
19
|
+
run: echo "result=$(find pkg -name 'deploygate-*.gem' -type f | head -1)" >> $GITHUB_OUTPUT
|
19
20
|
- run: |
|
20
|
-
|
21
|
-
|
22
|
-
|
21
|
+
gem push '${{ steps.gem.outputs.result }}'
|
22
|
+
env:
|
23
|
+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
23
24
|
- uses: slackapi/slack-github-action@v1.16.0
|
24
25
|
with:
|
25
26
|
payload: "{\"text\": \"Released a deploygate gem in <https://rubygems.org/gems/deploygate/|RubyGems>\"}"
|
data/config/locales/en.yml
CHANGED
@@ -21,11 +21,8 @@ en:
|
|
21
21
|
xcodeproj: 'The path to the target Xcode project file (iOS app only)'
|
22
22
|
add_devices:
|
23
23
|
description: 'Register devices to your Apple Developer account and refresh your provisioning profile. (iOS only) By default, it automatically finds new devices added to your application on DeployGate and ask you which device to register. You can also specify which device to register via command line options.'
|
24
|
-
user: 'Owner user or organization name'
|
25
24
|
udid: 'UDID to be registered'
|
26
25
|
device_name: 'Device name to be registered'
|
27
|
-
distribution_key: 'If you also want to update distribution page, set the last part of the URL of the page'
|
28
|
-
xcodeproj: 'The path to the target Xcode project file (iOS app only)'
|
29
26
|
server:
|
30
27
|
description: 'Start the add-devices server. When added new device automatically run add-devices command.'
|
31
28
|
connecting: 'Connecting...'
|
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', '~>
|
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-
|
38
|
+
spec.add_runtime_dependency 'sentry-ruby', '~> 5.8'
|
39
39
|
|
40
40
|
# ios build
|
41
|
-
spec.add_runtime_dependency 'fastlane', '~> 2.
|
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'
|
@@ -44,7 +44,7 @@ module DeployGate
|
|
44
44
|
puts HighLine.color(I18n.t('command_builder.add_devices.server.start_build'), HighLine::GREEN)
|
45
45
|
pool.perform do
|
46
46
|
DeployGate::Commands::AddDevices.register!(devices)
|
47
|
-
DeployGate::Commands::AddDevices.build!(bunlde_id, args, options)
|
47
|
+
DeployGate::Commands::AddDevices.build!(bunlde_id, member_center, args, options)
|
48
48
|
puts HighLine.color(I18n.t('command_builder.add_devices.server.finish_build'), HighLine::GREEN)
|
49
49
|
puts ''
|
50
50
|
end
|
@@ -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
|
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
|
-
|
19
|
+
Sentry.init do |config|
|
20
20
|
config.dsn = 'https://e0b4dda8fe2049a7b0d98c6d2759e067@sentry.io/1371610'
|
21
|
-
config.logger =
|
22
|
-
config.excluded_exceptions =
|
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
|
@@ -86,13 +86,15 @@ module DeployGate
|
|
86
86
|
command ADD_DEVICES do |c|
|
87
87
|
c.syntax = 'dg add-devices'
|
88
88
|
c.description = I18n.t('command_builder.add_devices.description')
|
89
|
-
c.option '--
|
89
|
+
c.option '--message STRING', String, I18n.t('command_builder.deploy.message')
|
90
|
+
c.option '--user STRING', String, I18n.t('command_builder.deploy.user')
|
90
91
|
c.option '--udid STRING', String, I18n.t('command_builder.add_devices.udid')
|
91
92
|
c.option '--device-name STRING', String, I18n.t('command_builder.add_devices.device_name')
|
92
|
-
c.option '--distribution-key STRING', String, I18n.t('command_builder.
|
93
|
+
c.option '--distribution-key STRING', String, I18n.t('command_builder.deploy.distribution_key')
|
93
94
|
c.option '--configuration STRING', String, I18n.t('command_builder.deploy.configuration')
|
94
95
|
c.option '--server', I18n.t('command_builder.add_devices.server.description')
|
95
|
-
c.option '--
|
96
|
+
c.option '--disable_notify', I18n.t('command_builder.deploy.disable_notify')
|
97
|
+
c.option '--xcodeproj STRING', I18n.t('command_builder.deploy.xcodeproj')
|
96
98
|
c.action do |args, options|
|
97
99
|
options.default :user => nil, :server => false, :command => 'add_devices'
|
98
100
|
begin
|
@@ -161,7 +163,7 @@ module DeployGate
|
|
161
163
|
version = Gym::Xcode.xcode_version
|
162
164
|
tags[:xcode_version] = version if version.present?
|
163
165
|
|
164
|
-
|
166
|
+
Sentry.capture_exception(error, tags: tags)
|
165
167
|
puts HighLine.color(I18n.t('command_builder.error_handling.thanks'), HighLine::GREEN)
|
166
168
|
end
|
167
169
|
end
|
data/lib/deploygate/version.rb
CHANGED
@@ -91,7 +91,8 @@ module DeployGate
|
|
91
91
|
|
92
92
|
def resolve_build_configuration(&block)
|
93
93
|
gym = Gym::CodeSigningMapping.new(project: @project)
|
94
|
-
specified_configuration =
|
94
|
+
specified_configuration = @build_configuration.presence ||
|
95
|
+
gym.detect_configuration_for_archive
|
95
96
|
|
96
97
|
Xcodeproj::Project.open(@xcodeproj).targets.each do |target|
|
97
98
|
target.build_configuration_list.build_configurations.each do |build_configuration|
|
data/lib/deploygate.rb
CHANGED
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.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- deploygate
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-09 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: '
|
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: '
|
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-
|
224
|
+
name: sentry-ruby
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - "~>"
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
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: '
|
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.
|
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.
|
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.
|
429
|
-
signing_key:
|
428
|
+
rubygems_version: 3.4.8
|
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
|
-
...
|