fastlane 2.118.0.beta.20190308200057 → 2.118.0.beta.20190309200014
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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3975190e06ff4d2cb4deff79ce4371145b6b9270
|
4
|
+
data.tar.gz: 7f118e4b20687863b6467aab23cc05afa90edeb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1484610059064c95fd36543564e31614bc8a781f69d25b4a52c2aefc3655bfa6a973e2c8c3dc831a58a1d1403d2b38ed628cc73551b7ae7e74b6071033b7d6a1
|
7
|
+
data.tar.gz: 8dab0578678cf2ab5b4a46e1ba04f0369262755eb6d1d55e285737dc41579f7ea0878e1f5c8caf18a24b47f894aa0ee372e0df68a7252356390684aa074a61e4
|
@@ -11,20 +11,20 @@ module Fastlane
|
|
11
11
|
escaped_password = params[:password].shellescape
|
12
12
|
|
13
13
|
if params[:name]
|
14
|
-
|
15
|
-
keychain_path = "~/Library/Keychains/#{escaped_name}"
|
14
|
+
keychain_path = "~/Library/Keychains/#{params[:name]}"
|
16
15
|
else
|
17
|
-
keychain_path = params[:path]
|
16
|
+
keychain_path = params[:path]
|
18
17
|
end
|
18
|
+
escaped_keychain_path = keychain_path.shellescape
|
19
19
|
|
20
|
-
if
|
20
|
+
if escaped_keychain_path.nil?
|
21
21
|
UI.user_error!("You either have to set :name or :path")
|
22
22
|
end
|
23
23
|
|
24
24
|
commands = []
|
25
25
|
|
26
|
-
if !exists?(
|
27
|
-
commands << Fastlane::Actions.sh("security create-keychain -p #{escaped_password} #{
|
26
|
+
if !exists?(escaped_keychain_path)
|
27
|
+
commands << Fastlane::Actions.sh("security create-keychain -p #{escaped_password} #{escaped_keychain_path}", log: false)
|
28
28
|
elsif params[:require_create]
|
29
29
|
UI.abort_with_message!("`require_create` option passed, but found keychain '#{keychain_path}', failing create_keychain action")
|
30
30
|
else
|
@@ -38,21 +38,22 @@ module Fastlane
|
|
38
38
|
Actions.lane_context[Actions::SharedValues::ORIGINAL_DEFAULT_KEYCHAIN] = Fastlane::Actions.sh("security default-keychain", log: false).strip
|
39
39
|
rescue
|
40
40
|
end
|
41
|
-
commands << Fastlane::Actions.sh("security default-keychain -s #{
|
41
|
+
commands << Fastlane::Actions.sh("security default-keychain -s #{escaped_keychain_path}", log: false)
|
42
42
|
end
|
43
43
|
|
44
|
-
commands << Fastlane::Actions.sh("security unlock-keychain -p #{escaped_password} #{
|
44
|
+
commands << Fastlane::Actions.sh("security unlock-keychain -p #{escaped_password} #{escaped_keychain_path}", log: false) if params[:unlock]
|
45
45
|
|
46
46
|
command = "security set-keychain-settings"
|
47
47
|
command << " -t #{params[:timeout]}" if params[:timeout]
|
48
48
|
command << " -l" if params[:lock_when_sleeps]
|
49
49
|
command << " -u" if params[:lock_after_timeout]
|
50
|
-
command << " #{
|
50
|
+
command << " #{escaped_keychain_path}"
|
51
51
|
|
52
52
|
commands << Fastlane::Actions.sh(command, log: false)
|
53
53
|
|
54
54
|
if params[:add_to_search_list]
|
55
55
|
keychains = Action.sh("security list-keychains -d user").shellsplit
|
56
|
+
# Do not use 'escaped_keychain_path' here because .shelljoin will cause double escaping
|
56
57
|
keychains << File.expand_path(keychain_path)
|
57
58
|
commands << Fastlane::Actions.sh("security list-keychains -s #{keychains.shelljoin}", log: false)
|
58
59
|
end
|
@@ -60,12 +61,12 @@ module Fastlane
|
|
60
61
|
commands
|
61
62
|
end
|
62
63
|
|
63
|
-
def self.exists?(
|
64
|
-
|
64
|
+
def self.exists?(escaped_keychain_path)
|
65
|
+
escaped_keychain_path = File.expand_path(escaped_keychain_path)
|
65
66
|
|
66
67
|
# Creating Keychains using the security
|
67
68
|
# CLI appends `-db` to the file name.
|
68
|
-
File.exist?("#{
|
69
|
+
File.exist?("#{escaped_keychain_path}-db") || File.exist?(escaped_keychain_path)
|
69
70
|
end
|
70
71
|
|
71
72
|
def self.description
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.118.0.beta.
|
2
|
+
VERSION = '2.118.0.beta.20190309200014'.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
|
@@ -6,7 +6,7 @@ module FastlaneCore
|
|
6
6
|
def self.import_file(path, keychain_path, keychain_password: "", certificate_password: "", output: FastlaneCore::Globals.verbose?)
|
7
7
|
UI.user_error!("Could not find file '#{path}'") unless File.exist?(path)
|
8
8
|
|
9
|
-
command = "security import #{path.shellescape} -k
|
9
|
+
command = "security import #{path.shellescape} -k #{keychain_path.shellescape}"
|
10
10
|
command << " -P #{certificate_password.shellescape}"
|
11
11
|
command << " -T /usr/bin/codesign" # to not be asked for permission when running a tool like `gym` (before Sierra)
|
12
12
|
command << " -T /usr/bin/security"
|
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.118.0.beta.
|
4
|
+
version: 2.118.0.beta.20190309200014
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Dee
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-03-
|
30
|
+
date: 2019-03-09 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1687,24 +1687,24 @@ metadata:
|
|
1687
1687
|
post_install_message:
|
1688
1688
|
rdoc_options: []
|
1689
1689
|
require_paths:
|
1690
|
-
-
|
1690
|
+
- supply/lib
|
1691
|
+
- screengrab/lib
|
1692
|
+
- spaceship/lib
|
1693
|
+
- produce/lib
|
1691
1694
|
- sigh/lib
|
1692
1695
|
- snapshot/lib
|
1696
|
+
- match/lib
|
1697
|
+
- pem/lib
|
1693
1698
|
- frameit/lib
|
1699
|
+
- deliver/lib
|
1700
|
+
- gym/lib
|
1694
1701
|
- fastlane/lib
|
1702
|
+
- scan/lib
|
1703
|
+
- cert/lib
|
1695
1704
|
- pilot/lib
|
1696
|
-
- gym/lib
|
1697
|
-
- produce/lib
|
1698
|
-
- pem/lib
|
1699
|
-
- match/lib
|
1700
1705
|
- fastlane_core/lib
|
1701
|
-
-
|
1706
|
+
- credentials_manager/lib
|
1702
1707
|
- precheck/lib
|
1703
|
-
- deliver/lib
|
1704
|
-
- scan/lib
|
1705
|
-
- spaceship/lib
|
1706
|
-
- supply/lib
|
1707
|
-
- screengrab/lib
|
1708
1708
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1709
1709
|
requirements:
|
1710
1710
|
- - ">="
|