deploygate 0.8.5 → 0.8.6

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: 205fe31f4fd075fe324796f70e1bacbd271415654c97813ac7bfd9dabcf72a88
4
- data.tar.gz: 1d489557b2810cfdf378d8566cd7ac6723842c7ed2d9c29505f601d810db70b4
3
+ metadata.gz: 78a68445adce138ce74a627acc6f31cbab4d841eb42bd3cf859948a57b7101ab
4
+ data.tar.gz: a4b69205f86a86a59d26e7bf2233f8cd3cd8a686f09ef83ab994436615a92043
5
5
  SHA512:
6
- metadata.gz: 2d09762f900f984318f51724d8f047bb783f25f3082120f7ad16c2b229dbfe17c3933a1d59621a4fafcccf7009124b5c9b7cef8a254b8cd37cad6ff286618327
7
- data.tar.gz: 6b9b2c2845aa72e70872df1663f331aa83eca0ec956970ac93e6e4c724d92e7c2168b208d80910c52508bf3875bb9278c9739653aeda1c0a4031a5225e70acc2
6
+ metadata.gz: 44da777df37680c6005f5cdf17162dc5af6b27ee8a6be8ee007d19e1c1b7a77ddc3f82ac1f2cc94051bedd0206117200249e82d9d98b5923518e872d9b3cfc29
7
+ data.tar.gz: 89466928832a91a6bf35de91a60817793ee7032698878a64daa1f2149d87612cfb2f6b6d4adfb265560d9171c4ea8f7a2cf67b04ec08a74d4a7091241af999b0
@@ -17,9 +17,9 @@ jobs:
17
17
  - id: gem
18
18
  run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)"
19
19
  - run: |
20
- curl --data-binary '@${{ steps.gem.outputs.result }}' \
21
- -H 'Authorization: ${{ secrets.RUBYGEMS_API_KEY }}' \
22
- "https://rubygems.org/api/v1/gems"
20
+ gem push '${{ steps.gem.outputs.result }}'
21
+ env:
22
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
23
23
  - uses: slackapi/slack-github-action@v1.16.0
24
24
  with:
25
25
  payload: "{\"text\": \"Released a deploygate gem in <https://rubygems.org/gems/deploygate/|RubyGems>\"}"
@@ -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...'
@@ -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
@@ -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 '--user STRING', String, I18n.t('command_builder.add_devices.user')
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.add_devices.distribution_key')
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 '--xcodeproj STRING', I18n.t('command_builder.add_devices.xcodeproj')
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
@@ -1,4 +1,4 @@
1
1
  module DeployGate
2
- VERSION = '0.8.5'
2
+ VERSION = '0.8.6'
3
3
  VERSION_CODE = Gem::Version.new(VERSION).segments.reverse.each_with_index.map { |v, i| 100 ** i * v }.reduce(&:+)
4
4
  end
@@ -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 = gym.detect_configuration_for_archive
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|
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.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - deploygate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json