xcode-install 2.6.2 → 2.6.3

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
- SHA1:
3
- metadata.gz: 4e45dbf2c73f7fe5538235f1d0e2a15133cbdcf3
4
- data.tar.gz: 10b891505b95ca2aae2ec5fbf5c81efd6670fa24
2
+ SHA256:
3
+ metadata.gz: b60930769ecae6b8166b5ee65484c7dad696eeec05d9d676d7c70cebc2e997d6
4
+ data.tar.gz: aceb18cccea8e1d4a5cef03fd816cb5426076b60d8ad30de53ec4c68f7ef9acd
5
5
  SHA512:
6
- metadata.gz: 13db8601597f362be77d74d9db24ccacbb5f8226f8c07da95491e940e44f71cc56936dc18a209ce8f81909c19ae2c30381b8fa92bfe10332ddebc9fcac2d0632
7
- data.tar.gz: 9f417f5336ca75d6c34b48154be3a8d9d6e066f1631fd98b02398756fe49fc3c78fb9f292ba580f3f43c40d099b5977c483ff6259f4477a45532ac9f16d80150
6
+ metadata.gz: 705c75e6e751ec1c639b0fbc9a574a765e132025d90856c1b1a8853780ac2a8c40ee9986a722e0faffc06203cce22138b7a68cf2271b28c0ce185672f3589cd4
7
+ data.tar.gz: 466641097ef0c566b9a2d03c18b16be36430fc65cf229441456bd610f0868871db2f825cf405a15eff5d4d826d730da3b96935f692e695bf2aa3a61b1ef2edcb
@@ -8,8 +8,10 @@ require 'xcode/install/command'
8
8
  require 'xcode/install/version'
9
9
  require 'shellwords'
10
10
  require 'open3'
11
+ require 'fastlane'
12
+ require 'fastlane/helper/sh_helper'
11
13
  require 'fastlane/action'
12
- require 'fastlane/actions/verify_build'
14
+ require 'fastlane/actions/verify_xcode'
13
15
 
14
16
  module XcodeInstall
15
17
  CACHE_DIR = Pathname.new("#{ENV['HOME']}/Library/Caches/XcodeInstall")
@@ -576,9 +578,6 @@ HELP
576
578
  end
577
579
 
578
580
  class InstalledXcode
579
- TEAM_IDENTIFIER = '59GAB85EFG'.freeze
580
- AUTHORITY = 'Software Signing'.freeze
581
-
582
581
  attr_reader :path
583
582
  attr_reader :version
584
583
  attr_reader :bundle_version
@@ -687,10 +686,10 @@ HELP
687
686
  end
688
687
 
689
688
  def verify_app_cert
690
- cert_info = Fastlane::Actions::VerifyBuildAction.gather_cert_info(@path.to_s)
691
- apple_team_identifier_result = cert_info['team_identifier'] == TEAM_IDENTIFIER
692
- apple_authority_result = cert_info['authority'].include?(AUTHORITY)
693
- apple_team_identifier_result && apple_authority_result
689
+ Fastlane::Actions::VerifyXcodeAction.run(xcode_path: @path.to_s)
690
+ true
691
+ rescue
692
+ false
694
693
  end
695
694
  end
696
695
 
@@ -1,3 +1,3 @@
1
1
  module XcodeInstall
2
- VERSION = '2.6.2'.freeze
2
+ VERSION = '2.6.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcode-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.2
4
+ version: 2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Bügling
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-31 00:00:00.000000000 Z
11
+ date: 2019-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: claide
@@ -159,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  requirements: []
162
- rubyforge_project:
163
- rubygems_version: 2.5.2.3
162
+ rubygems_version: 3.0.6
164
163
  signing_key:
165
164
  specification_version: 4
166
165
  summary: Xcode installation manager.