fastlane 1.32.4 → 1.33.0

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: e9f8728dbdba8545e885c23487560e138d904ddd
4
- data.tar.gz: da67b235548ca7ae36dd6161e708676c1370b548
3
+ metadata.gz: aef11084878d3858296d2ba09d57b98d54c08b9c
4
+ data.tar.gz: efdd863ee7ef1435ba35b7e664562b65a075da3c
5
5
  SHA512:
6
- metadata.gz: 342552eadc512f107a9eca6bf8c2c614e0b6586762c3793da673f08018499fec7c0ad66ae297d98cd6d74f3f3b7a9b5c0ce711ddc36eb3402ce53ee28e27e9e6
7
- data.tar.gz: f78c007e5a9aadcefdd653ece0cf90c42f80530a764e694ca4fa1c5d2be45c7217311b608db642c69c7821ab6fb77a2673dc5511fe2ec25d514bf6fb5a95768e
6
+ metadata.gz: db182de4a01c9f621d4ee589ab60d3ab371f858c8e38aff77f4be545e9f81af3662cf58d89b62643e13ff39696a51a7a22bacb732b473cf11ca5dbb15fdb124a
7
+ data.tar.gz: 0d94ff07239554ade5c3ae5ef10d67e612edfa31a047cff3908e69ca50dd2056713cf8546ddc0f57221ec6d180de8f1c112422b1d1805b2b7aea5206268d10a3
@@ -78,7 +78,7 @@ module Fastlane
78
78
  #
79
79
  # platform == :ios
80
80
  #
81
- # [:ios, :mac].include? platform
81
+ # [:ios, :mac].include?(platform)
82
82
  #
83
83
 
84
84
  platform == :ios
@@ -51,7 +51,7 @@ module Fastlane
51
51
  #
52
52
  # platform == :ios
53
53
  #
54
- # [:ios, :android].include? platform
54
+ # [:ios, :mac].include?(platform)
55
55
  #
56
56
  raise "Implementing `is_supported?` for all actions is mandatory. Please update #{self}".red
57
57
  end
@@ -28,6 +28,13 @@ module Fastlane
28
28
  command << " ~/Library/Keychains/#{escaped_name}"
29
29
 
30
30
  commands << Fastlane::Actions.sh(command, log: false)
31
+
32
+ if params[:add_to_search_list]
33
+ keychains = Action.sh("security list-keychains -d user").shellsplit
34
+ keychains << File.expand_path(params[:name], "~/Library/Keychains")
35
+ commands << Fastlane::Actions.sh("security list-keychains -s #{keychains.shelljoin}", log: false)
36
+ end
37
+
31
38
  commands
32
39
  end
33
40
 
@@ -64,7 +71,11 @@ module Fastlane
64
71
  FastlaneCore::ConfigItem.new(key: :lock_after_timeout,
65
72
  description: 'Lock keychain after timeout interval',
66
73
  is_string: false,
67
- default_value: false)
74
+ default_value: false),
75
+ FastlaneCore::ConfigItem.new(key: :add_to_search_list,
76
+ description: 'Add keychain to search list',
77
+ is_string: false,
78
+ default_value: true)
68
79
  ]
69
80
  end
70
81
 
@@ -29,6 +29,13 @@ module Fastlane
29
29
  return false
30
30
  end
31
31
 
32
+ def self.is_hg?
33
+ Actions.sh 'hg status'
34
+ return true
35
+ rescue
36
+ return false
37
+ end
38
+
32
39
  def self.run(params)
33
40
  if is_svn?
34
41
  Helper.log.info "Detected repo: svn"
@@ -39,6 +46,13 @@ module Fastlane
39
46
  elsif is_git?
40
47
  Helper.log.info "Detected repo: git"
41
48
  command = 'git rev-parse --short HEAD'
49
+ elsif is_hg?
50
+ Helper.log.info "Detected repo: hg"
51
+ if params[:use_hg_revision_number]
52
+ command = 'hg parent --template {rev}'
53
+ else
54
+ command = 'hg parent --template "{node|short}"'
55
+ end
42
56
  else
43
57
  raise "No repository detected"
44
58
  end
@@ -58,6 +72,12 @@ module Fastlane
58
72
 
59
73
  def self.available_options
60
74
  [
75
+ FastlaneCore::ConfigItem.new(key: :use_hg_revision_number,
76
+ env_name: "USE_HG_REVISION_NUMBER",
77
+ description: "Use hg revision number instead of hash (ignored for non-hg repos)",
78
+ optional: true,
79
+ is_string: false,
80
+ default_value: false)
61
81
  ]
62
82
  end
63
83
 
@@ -66,8 +86,8 @@ module Fastlane
66
86
  ]
67
87
  end
68
88
 
69
- def self.author
70
- 'pbrooks'
89
+ def self.authors
90
+ ["pbrooks", "armadsen"]
71
91
  end
72
92
  end
73
93
  end
@@ -10,8 +10,6 @@ module Fastlane
10
10
  class SighAction < Action
11
11
  def self.run(values)
12
12
  require 'sigh'
13
- require 'sigh/options'
14
- require 'sigh/manager'
15
13
  require 'credentials_manager/appfile_config'
16
14
 
17
15
  begin
@@ -59,7 +57,6 @@ module Fastlane
59
57
 
60
58
  def self.available_options
61
59
  require 'sigh'
62
- require 'sigh/options'
63
60
  Sigh::Options.available_options
64
61
  end
65
62
 
@@ -31,7 +31,7 @@ module Fastlane
31
31
  raise 'No SLACK_URL given.'.red
32
32
  end
33
33
 
34
- notifier = Slack::Notifier.new url
34
+ notifier = Slack::Notifier.new(url)
35
35
 
36
36
  notifier.username = 'fastlane'
37
37
  if options[:channel].to_s.length > 0
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '1.32.4'
2
+ VERSION = '1.33.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.4
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2015-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: '1.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: xcodeproj
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ dependencies:
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 0.22.1
179
+ version: 0.22.2
180
180
  - - "<"
181
181
  - !ruby/object:Gem::Version
182
182
  version: 1.0.0
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- version: 0.22.1
189
+ version: 0.22.2
190
190
  - - "<"
191
191
  - !ruby/object:Gem::Version
192
192
  version: 1.0.0
@@ -336,20 +336,20 @@ dependencies:
336
336
  requirements:
337
337
  - - ">="
338
338
  - !ruby/object:Gem::Version
339
- version: 0.10.8
339
+ version: 1.0.0
340
340
  - - "<"
341
341
  - !ruby/object:Gem::Version
342
- version: 1.0.0
342
+ version: 2.0.0
343
343
  type: :runtime
344
344
  prerelease: false
345
345
  version_requirements: !ruby/object:Gem::Requirement
346
346
  requirements:
347
347
  - - ">="
348
348
  - !ruby/object:Gem::Version
349
- version: 0.10.8
349
+ version: 1.0.0
350
350
  - - "<"
351
351
  - !ruby/object:Gem::Version
352
- version: 1.0.0
352
+ version: 2.0.0
353
353
  - !ruby/object:Gem::Dependency
354
354
  name: produce
355
355
  requirement: !ruby/object:Gem::Requirement