fastlane 2.124.0.beta.20190525200111 → 2.124.0.beta.20190526200015

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
  SHA1:
3
- metadata.gz: a464691cf02d07359a5eac3a1299aa93c26d14c7
4
- data.tar.gz: 4598377045732f46e631fe8e12cd695ebc28aab0
3
+ metadata.gz: d04c10e35793561326bc8281c1fa8db42df855f6
4
+ data.tar.gz: 82e2d423fad919004f417a343b315403726b80be
5
5
  SHA512:
6
- metadata.gz: 27ff3477d38ba1d40b1f502700c93841261a9a456b9c43c812f91d6da82896c68331ca5f648bbc00ab19be5ac56cd4121ac52508f45cdfc55693af08bd76d217
7
- data.tar.gz: 0f00032043a7d87fbcb4557a02b21ec7fdf129dd22c6c69042c23a1cf699bdabbf2037ac5e4c48b41d40d41626a2201d28cce72e4ee3fdc7f71a870efb51780b
6
+ metadata.gz: 0dfa9191fa30742a0046c4dc6e0cafb7f2e3775a78f1cd08c745f379d6e405bdccc37e79ec1bbe8eaffe09a014d0a8634a273338b0b32fdeff34988d07209bb6
7
+ data.tar.gz: 74b252dd3e079268e1d8b6e1f39977005837a96feaa414c5dbe689c271db1fcc34a3e4cd38c4c4e51fb590c2808c19d6f3ec021e6f8c4ebcb0cc2929e0a56542
@@ -52,20 +52,37 @@ module Fastlane
52
52
  commands << Fastlane::Actions.sh(command, log: false)
53
53
 
54
54
  if params[:add_to_search_list]
55
- keychains = Action.sh("security list-keychains -d user").shellsplit
56
- keychains << File.expand_path(keychain_path)
57
- commands << Fastlane::Actions.sh("security list-keychains -s #{keychains.shelljoin}", log: false)
55
+ keychains = list_keychains
56
+ expanded_path = resolved_keychain_path(keychain_path)
57
+ if keychains.include?(expanded_path)
58
+ UI.important("Found keychain '#{expanded_path}' in list-keychains, adding to search list skipped")
59
+ else
60
+ keychains << expanded_path
61
+ commands << Fastlane::Actions.sh("security list-keychains -s #{keychains.shelljoin}", log: false)
62
+ end
58
63
  end
59
64
 
60
65
  commands
61
66
  end
62
67
 
68
+ def self.list_keychains
69
+ Action.sh("security list-keychains -d user").shellsplit
70
+ end
71
+
63
72
  def self.exists?(keychain_path)
73
+ !resolved_keychain_path(keychain_path).nil?
74
+ end
75
+
76
+ # returns the expanded and resolved path for the keychain, or nil if not found
77
+ def self.resolved_keychain_path(keychain_path)
64
78
  keychain_path = File.expand_path(keychain_path)
65
79
 
66
80
  # Creating Keychains using the security
67
81
  # CLI appends `-db` to the file name.
68
- File.exist?("#{keychain_path}-db") || File.exist?(keychain_path)
82
+ ["#{keychain_path}-db", keychain_path].each do |path|
83
+ return path if File.exist?(path)
84
+ end
85
+ nil
69
86
  end
70
87
 
71
88
  def self.description
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.124.0.beta.20190525200111'.freeze
2
+ VERSION = '2.124.0.beta.20190526200015'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -120,7 +120,7 @@ module Supply
120
120
  private_key: key.to_s,
121
121
  client_email: params[:issuer]
122
122
  }
123
- service_account_json = StringIO.new(MultiJson.dump(cred_json))
123
+ service_account_json = StringIO.new(JSON.dump(cred_json))
124
124
  service_account_json
125
125
  else
126
126
  UI.user_error!("No authentication parameters were specified. These must be provided in order to authenticate with Google")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.124.0.beta.20190525200111
4
+ version: 2.124.0.beta.20190526200015
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-05-25 00:00:00.000000000 Z
30
+ date: 2019-05-26 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -441,20 +441,6 @@ dependencies:
441
441
  - - "~>"
442
442
  - !ruby/object:Gem::Version
443
443
  version: 4.5.1
444
- - !ruby/object:Gem::Dependency
445
- name: multi_json
446
- requirement: !ruby/object:Gem::Requirement
447
- requirements:
448
- - - ">="
449
- - !ruby/object:Gem::Version
450
- version: '0'
451
- type: :runtime
452
- prerelease: false
453
- version_requirements: !ruby/object:Gem::Requirement
454
- requirements:
455
- - - ">="
456
- - !ruby/object:Gem::Version
457
- version: '0'
458
444
  - !ruby/object:Gem::Dependency
459
445
  name: multi_xml
460
446
  requirement: !ruby/object:Gem::Requirement
@@ -1707,24 +1693,24 @@ metadata:
1707
1693
  post_install_message:
1708
1694
  rdoc_options: []
1709
1695
  require_paths:
1710
- - deliver/lib
1696
+ - credentials_manager/lib
1711
1697
  - gym/lib
1712
- - sigh/lib
1713
- - produce/lib
1714
- - screengrab/lib
1715
- - frameit/lib
1716
- - fastlane/lib
1717
1698
  - precheck/lib
1718
- - snapshot/lib
1719
- - credentials_manager/lib
1720
- - pem/lib
1721
- - spaceship/lib
1722
1699
  - scan/lib
1723
- - supply/lib
1724
1700
  - cert/lib
1725
- - pilot/lib
1701
+ - fastlane/lib
1726
1702
  - fastlane_core/lib
1703
+ - deliver/lib
1704
+ - pilot/lib
1705
+ - screengrab/lib
1706
+ - supply/lib
1707
+ - pem/lib
1708
+ - spaceship/lib
1709
+ - produce/lib
1727
1710
  - match/lib
1711
+ - snapshot/lib
1712
+ - frameit/lib
1713
+ - sigh/lib
1728
1714
  required_ruby_version: !ruby/object:Gem::Requirement
1729
1715
  requirements:
1730
1716
  - - ">="