fastlane 2.64.0.beta.20171101010004 → 2.64.0.beta.20171102010003

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: 84e6b7a46ac0790cb80d6b81d37ba17b37cedd56
4
- data.tar.gz: c07dc23dc7c778069615349c9362dc0e9fe9cc3b
3
+ metadata.gz: e5a64f1879a1492c26965299dbe073d75ca16fd5
4
+ data.tar.gz: 6243e5fa99e7979aa834f9aacafa2d6ea5561b23
5
5
  SHA512:
6
- metadata.gz: dd227d9e63303cb05401b7524e7b9976864e2df9fab2ac3252ec94c04f787a2f6a59bebfdcd551416a9a5ce1d37dfd6ff3783cfa933cfddb850da3d14c3201bc
7
- data.tar.gz: 19c0a761f22a433b825960a96333d9cda756bb40393ef4dadb9ddf41440ce92508d227361ce99e06b53c4e700b53606454665f01d6a8cb3fb459eb70b763e988
6
+ metadata.gz: db93fc52cdfab7a9cd167cc51e8e8a684aeb4dda9dc4440013813c17f57664828de1c047611ddd5e056dd83cc96967942a596090f1416377808bf98b586e6f36
7
+ data.tar.gz: dc093ed211e0d49b0886362b3af74acc1aab8f990c9f98cb3cebaf24fad4d8f3157a99727721f7cbb67c218aefb5eb3be730d5045eea504721af456332207cc9
@@ -115,11 +115,21 @@ module Deliver
115
115
  end
116
116
 
117
117
  def is_messages?
118
- return [ScreenSize::IOS_40_MESSAGES, ScreenSize::IOS_47_MESSAGES, ScreenSize::IOS_55_MESSAGES, ScreenSize::IOS_58_MESSAGES, ScreenSize::IOS_IPAD_MESSAGES, ScreenSize::IOS_IPAD_PRO_MESSAGES].include?(self.screen_size)
118
+ return [
119
+ ScreenSize::IOS_40_MESSAGES,
120
+ ScreenSize::IOS_47_MESSAGES,
121
+ ScreenSize::IOS_55_MESSAGES,
122
+ ScreenSize::IOS_58_MESSAGES,
123
+ ScreenSize::IOS_IPAD_MESSAGES,
124
+ ScreenSize::IOS_IPAD_PRO_MESSAGES
125
+ ].include?(self.screen_size)
119
126
  end
120
127
 
121
128
  def self.device_messages
122
129
  return {
130
+ ScreenSize::IOS_58_MESSAGES => [
131
+ [1125, 2436]
132
+ ],
123
133
  ScreenSize::IOS_55_MESSAGES => [
124
134
  [1080, 1920],
125
135
  [1242, 2208]
@@ -2,6 +2,7 @@ require 'fastlane_core'
2
2
  require 'credentials_manager'
3
3
 
4
4
  module Deliver
5
+ # rubocop:disable Metrics/ClassLength
5
6
  class Options
6
7
  def self.available_options
7
8
  user = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id)
@@ -111,6 +112,15 @@ module Deliver
111
112
  description: "Should the app be automatically released once it's approved?",
112
113
  is_string: false,
113
114
  default_value: false),
115
+ FastlaneCore::ConfigItem.new(key: :auto_release_date,
116
+ env_name: "DELIVER_AUTO_RELEASE_DATE",
117
+ description: "Date in milliseconds for automatically releasing on pending approval",
118
+ is_string: false,
119
+ optional: true,
120
+ conflicting_options: [:automatic_release],
121
+ conflict_block: proc do |value|
122
+ UI.user_error!("You can't use 'auto_release_date' and '#{value.key}' options together.")
123
+ end),
114
124
  FastlaneCore::ConfigItem.new(key: :phased_release,
115
125
  description: "Enable the phased release feature of iTC",
116
126
  optional: true,
@@ -322,8 +332,15 @@ module Deliver
322
332
  env_name: "DELIVER_IGNORE_LANGUAGE_DIRECTORY_VALIDATION",
323
333
  description: "Ignore errors when invalid languages are found in metadata and screeenshot directories",
324
334
  default_value: false,
325
- is_string: false)
335
+ is_string: false),
336
+ FastlaneCore::ConfigItem.new(key: :precheck_include_in_app_purchases,
337
+ env_name: "PRECHECK_INCLUDE_IN_APP_PURCHASES",
338
+ description: "Should precheck check in-app purchases?",
339
+ is_string: false,
340
+ optional: true,
341
+ default_value: true)
326
342
  ]
327
343
  end
328
344
  end
345
+ # rubocop:enable Metrics/ClassLength
329
346
  end
@@ -49,6 +49,7 @@ module Deliver
49
49
 
50
50
  precheck_options = {
51
51
  default_rule_level: options[:precheck_default_rule_level],
52
+ include_in_app_purchases: options[:precheck_include_in_app_purchases],
52
53
  app_identifier: options[:app_identifier],
53
54
  username: options[:username]
54
55
  }
@@ -115,6 +115,7 @@ module Deliver
115
115
  end
116
116
 
117
117
  v.release_on_approval = options[:automatic_release]
118
+ v.auto_release_date = options[:auto_release_date] unless options[:auto_release_date].nil?
118
119
  v.toggle_phased_release(enabled: !!options[:phased_release]) unless options[:phased_release].nil?
119
120
 
120
121
  set_trade_representative_contact_information(v, options)
@@ -4,4 +4,4 @@ apple_id "[[APPLE_ID]]" # Your Apple email address
4
4
  team_id "[[DEV_PORTAL_TEAM_ID]]" # Developer Portal Team ID
5
5
  [[ITC_TEAM]]
6
6
  # you can even provide different app identifiers, Apple IDs and team names per lane:
7
- # More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md
7
+ # More information: https://docs.fastlane.tools/advanced/#appfile
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.64.0.beta.20171101010004'.freeze
2
+ VERSION = '2.64.0.beta.20171102010003'.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
@@ -56,7 +56,7 @@ module Frameit
56
56
  end
57
57
 
58
58
  @image = frame.composite(image, "png") do |c|
59
- c.compose "Over"
59
+ c.compose "DstOver"
60
60
  c.geometry offset['offset']
61
61
  end
62
62
 
@@ -21,6 +21,8 @@ module Frameit
21
21
  def device_name
22
22
  sizes = Deliver::AppScreenshot::ScreenSize
23
23
  case @screen_size
24
+ when sizes::IOS_58
25
+ return 'iPhone X'
24
26
  when sizes::IOS_55
25
27
  return Frameit.config[:use_legacy_iphone6s] ? 'iPhone 6s Plus' : 'iPhone 7 Plus'
26
28
  when sizes::IOS_47
@@ -49,9 +51,9 @@ module Frameit
49
51
  return @color
50
52
  end
51
53
 
52
- # Is the device a 3x device? (e.g. 6 Plus)
54
+ # Is the device a 3x device? (e.g. iPhone 6 Plus, iPhone X)
53
55
  def triple_density?
54
- (screen_size == Deliver::AppScreenshot::ScreenSize::IOS_55)
56
+ (screen_size == Deliver::AppScreenshot::ScreenSize::IOS_55 || screen_size == Deliver::AppScreenshot::ScreenSize::IOS_58)
55
57
  end
56
58
 
57
59
  # Super old devices (iPhone 4)
@@ -22,6 +22,7 @@ module PEM
22
22
  env_name: "PEM_ACTIVE_DAYS_LIMIT",
23
23
  description: "If the current certificate is active for less than this number of days, generate a new one. Default value is 30 days",
24
24
  default_value: 30,
25
+ is_string: false,
25
26
  verify_block: proc do |value|
26
27
  UI.user_error!("Value of active_days_limit must be a positive integer or left blank") unless value.kind_of?(Integer) && value > 0
27
28
  end),
@@ -112,7 +112,7 @@ open class Snapshot: NSObject {
112
112
  do {
113
113
  let launchArguments = try String(contentsOf: path, encoding: String.Encoding.utf8)
114
114
  let regex = try NSRegularExpression(pattern: "(\\\".+?\\\"|\\S+)", options: [])
115
- let matches = regex.matches(in: launchArguments, options: [], range: NSRange(location: 0, length: launchArguments.characters.count))
115
+ let matches = regex.matches(in: launchArguments, options: [], range: NSRange(location: 0, length: launchArguments.count))
116
116
  let results = matches.map { result -> String in
117
117
  (launchArguments as NSString).substring(with: result.range)
118
118
  }
@@ -153,7 +153,7 @@ open class Snapshot: NSObject {
153
153
 
154
154
  let networkLoadingIndicator = XCUIApplication().otherElements.deviceStatusBars.networkLoadingIndicators.element
155
155
  let networkLoadingIndicatorDisappeared = XCTNSPredicateExpectation(predicate: NSPredicate(format: "exists == false"), object: networkLoadingIndicator)
156
- let _ = XCTWaiter.wait(for: [networkLoadingIndicatorDisappeared], timeout: timeout)
156
+ _ = XCTWaiter.wait(for: [networkLoadingIndicatorDisappeared], timeout: timeout)
157
157
  }
158
158
 
159
159
  class func pathPrefix() throws -> URL? {
@@ -242,4 +242,4 @@ private extension CGFloat {
242
242
 
243
243
  // Please don't remove the lines below
244
244
  // They are used to detect outdated configuration files
245
- // SnapshotHelperVersion [1.6]
245
+ // SnapshotHelperVersion [1.7]
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.64.0.beta.20171101010004
4
+ version: 2.64.0.beta.20171102010003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-11-01 00:00:00.000000000 Z
18
+ date: 2017-11-02 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier