fastlane 2.19.0.beta.20170223010028 → 2.19.0.beta.20170224010025

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: 1f1d47db5ce97473c74875f0b1b867485e1af075
4
- data.tar.gz: bf2719c072219e1a61e04af0ed5af2eac1b55a6a
3
+ metadata.gz: 446fe4080804de8e7da6cd47fd88fc0da6095cf6
4
+ data.tar.gz: 5cfe6b85cb8930802b13938f8cef7ace5ca3538a
5
5
  SHA512:
6
- metadata.gz: 9065e7b1e2aba27deb95a7c635157d43623ea60ff170974862d36e3fd377ad204012d2720b76b8511fc526755babb59ec5439738c6ba611aef8b7fc1ce8c5737
7
- data.tar.gz: 6ccdb9e5cd7e919f605f875e6fdaa1bdda57bf9627b79080c199fa1c5829d004ec87d95fc2e4e23c78b0fcff62995ebeb425168af4aea496972cef85380a6c2d
6
+ metadata.gz: b726e5f14062352ce75fc9dec3ebc12eaf9a8c00f96c8348b1baa5451bd665b61fc444ff45e0881b19df99dae734985847e79b2e40b007476771cc4647d372cf
7
+ data.tar.gz: beb48e2eb791c8a613f74d976ce73d60c34ecdc4573c34a0c94ead2a03c7846bb16123c101e8dd9c7e55cb398097ff4d2ce6582b17e2cea16c2be026eeb81daa
data/README.md CHANGED
@@ -157,4 +157,4 @@ Help us keep `fastlane` open and inclusive. Please read and follow our [Code of
157
157
 
158
158
  This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE) file.
159
159
 
160
- > This project and all fastlane tools are in no way affiliated with Apple Inc or Google. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
160
+ > This project and all fastlane tools are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
@@ -5,8 +5,19 @@ module Fastlane
5
5
  class DeleteKeychainAction < Action
6
6
  def self.run(params)
7
7
  original = Actions.lane_context[Actions::SharedValues::ORIGINAL_DEFAULT_KEYCHAIN]
8
+
9
+ if params[:name]
10
+ keychain_path = File.expand_path(File.join("~", "Library", "Keychains", params[:name]))
11
+ else
12
+ keychain_path = params[:keychain_path]
13
+ end
14
+
15
+ if keychain_path.nil?
16
+ UI.user_error!("You either have to set :name or :path")
17
+ end
18
+
8
19
  Fastlane::Actions.sh("security default-keychain -s #{original}", log: false) unless original.nil?
9
- Fastlane::Actions.sh "security delete-keychain #{params[:name].shellescape}", log: false
20
+ Fastlane::Actions.sh "security delete-keychain #{keychain_path.shellescape}", log: false
10
21
  end
11
22
 
12
23
  def self.details
@@ -22,13 +33,20 @@ module Fastlane
22
33
  FastlaneCore::ConfigItem.new(key: :name,
23
34
  env_name: "KEYCHAIN_NAME",
24
35
  description: "Keychain name",
25
- optional: false)
36
+ conflicting_options: [:keychain_path],
37
+ optional: true),
38
+ FastlaneCore::ConfigItem.new(key: :keychain_path,
39
+ env_name: "KEYCHAIN_PATH",
40
+ description: "Keychain path",
41
+ conflicting_options: [:name],
42
+ optional: true)
26
43
  ]
27
44
  end
28
45
 
29
46
  def self.example_code
30
47
  [
31
- 'delete_keychain(name: "KeychainName")'
48
+ 'delete_keychain(name: "KeychainName")',
49
+ 'delete_keychain(keychain_path: "/keychains/project.keychain")'
32
50
  ]
33
51
  end
34
52
 
@@ -37,7 +55,7 @@ module Fastlane
37
55
  end
38
56
 
39
57
  def self.authors
40
- ["gin0606"]
58
+ ["gin0606", "koenpunt"]
41
59
  end
42
60
 
43
61
  def self.is_supported?(platform)
@@ -52,7 +52,7 @@ module Fastlane
52
52
  def self.upload_dsym(params, path)
53
53
  UI.message("Uploading '#{path}'...")
54
54
  command = []
55
- command << params[:binary_path].shellescape
55
+ command << File.expand_path(params[:binary_path]).shellescape
56
56
  command << "-a #{params[:api_token]}"
57
57
  command << "-p #{params[:platform]}"
58
58
  command << File.expand_path(path).shellescape
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.19.0.beta.20170223010028'.freeze
2
+ VERSION = '2.19.0.beta.20170224010025'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -248,9 +248,10 @@ module Scan
248
248
  is_string: false,
249
249
  default_value: false),
250
250
  FastlaneCore::ConfigItem.new(key: :custom_report_file_name,
251
- description: "Sets custom full report file name",
252
- optional: true,
253
- is_string: true)
251
+ env_name: "SCAN_CUSTOM_REPORT_FILE_NAME",
252
+ description: "Sets custom full report file name",
253
+ optional: true,
254
+ is_string: true)
254
255
  ]
255
256
  end
256
257
  end
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.19.0.beta.20170223010028
4
+ version: 2.19.0.beta.20170224010025
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-02-23 00:00:00.000000000 Z
17
+ date: 2017-02-24 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -1294,23 +1294,23 @@ metadata: {}
1294
1294
  post_install_message:
1295
1295
  rdoc_options: []
1296
1296
  require_paths:
1297
- - credentials_manager/lib
1298
- - scan/lib
1299
- - supply/lib
1300
- - fastlane/lib
1301
1297
  - spaceship/lib
1302
- - match/lib
1298
+ - scan/lib
1303
1299
  - snapshot/lib
1304
- - fastlane_core/lib
1305
- - screengrab/lib
1306
- - pilot/lib
1307
- - produce/lib
1300
+ - fastlane/lib
1301
+ - sigh/lib
1308
1302
  - pem/lib
1303
+ - credentials_manager/lib
1304
+ - screengrab/lib
1309
1305
  - gym/lib
1310
1306
  - deliver/lib
1311
- - frameit/lib
1312
- - sigh/lib
1307
+ - supply/lib
1313
1308
  - cert/lib
1309
+ - frameit/lib
1310
+ - fastlane_core/lib
1311
+ - pilot/lib
1312
+ - produce/lib
1313
+ - match/lib
1314
1314
  required_ruby_version: !ruby/object:Gem::Requirement
1315
1315
  requirements:
1316
1316
  - - ">="