fastlane 2.71.0.beta.20171225010003 → 2.71.0.beta.20171226010004

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: dda1abbf058902ab2cd4df71211ef4dcc07f04cf
4
- data.tar.gz: 4e6a2d3dcbb2753d4a6d5b93f4976b98ce832148
3
+ metadata.gz: 4eda9a491c584574e2508446b0d446b59b81bdef
4
+ data.tar.gz: 2788662f4c37ebeee72924e0375a0feff772f347
5
5
  SHA512:
6
- metadata.gz: d905e855bd71ffa729b8d09531cde67c3a1c0d42599afcb2a17db6c8ac07ae27661ef49480577c39497860251976db69537bcf64f987e84f3b8cfb7386cdc67e
7
- data.tar.gz: 443220b86d72ea055b897a5ab1901ca0249abd6e670d137525ce0ec67608af53e5fdc0ce58edf6478190700df0defd840d4fbfc043d45e2aa886656971e1f35a
6
+ metadata.gz: b28525cf49b15d94e3a50116f64f7655ae796c854b1bd8f15b4aac68e65de28ef67864a148ced922f23e9c398163169252bd75d2ce2b359fc70da1a4270edc86
7
+ data.tar.gz: 7a7f398cca3c7a4d27f69f3f5e6bc1a75157dd5756acca5b88c5b09afc4085b0b99b436c184744ac8e37ccc49c353e004cff9cbdf15f996895d1f9cf12087452
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.71.0.beta.20171225010003'.freeze
2
+ VERSION = '2.71.0.beta.20171226010004'.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
@@ -1362,6 +1362,7 @@ func frameScreenshots(white: String? = nil,
1362
1362
  forceDeviceType: String? = nil,
1363
1363
  useLegacyIphone5s: Bool = false,
1364
1364
  useLegacyIphone6s: Bool = false,
1365
+ forceOrientationBlock: String? = nil,
1365
1366
  path: String = "./") {
1366
1367
  let command = RubyCommand(commandID: "", methodName: "frame_screenshots", className: nil, args: [RubyCommand.Argument(name: "white", value: white),
1367
1368
  RubyCommand.Argument(name: "silver", value: silver),
@@ -1370,6 +1371,7 @@ func frameScreenshots(white: String? = nil,
1370
1371
  RubyCommand.Argument(name: "force_device_type", value: forceDeviceType),
1371
1372
  RubyCommand.Argument(name: "use_legacy_iphone5s", value: useLegacyIphone5s),
1372
1373
  RubyCommand.Argument(name: "use_legacy_iphone6s", value: useLegacyIphone6s),
1374
+ RubyCommand.Argument(name: "force_orientation_block", value: forceOrientationBlock),
1373
1375
  RubyCommand.Argument(name: "path", value: path)])
1374
1376
  _ = runner.executeCommand(command)
1375
1377
  }
@@ -1380,6 +1382,7 @@ func frameit(white: String? = nil,
1380
1382
  forceDeviceType: String? = nil,
1381
1383
  useLegacyIphone5s: Bool = false,
1382
1384
  useLegacyIphone6s: Bool = false,
1385
+ forceOrientationBlock: String? = nil,
1383
1386
  path: String = "./") {
1384
1387
  let command = RubyCommand(commandID: "", methodName: "frameit", className: nil, args: [RubyCommand.Argument(name: "white", value: white),
1385
1388
  RubyCommand.Argument(name: "silver", value: silver),
@@ -1388,6 +1391,7 @@ func frameit(white: String? = nil,
1388
1391
  RubyCommand.Argument(name: "force_device_type", value: forceDeviceType),
1389
1392
  RubyCommand.Argument(name: "use_legacy_iphone5s", value: useLegacyIphone5s),
1390
1393
  RubyCommand.Argument(name: "use_legacy_iphone6s", value: useLegacyIphone6s),
1394
+ RubyCommand.Argument(name: "force_orientation_block", value: forceOrientationBlock),
1391
1395
  RubyCommand.Argument(name: "path", value: path)])
1392
1396
  _ = runner.executeCommand(command)
1393
1397
  }
@@ -149,6 +149,12 @@ module FastlaneCore
149
149
 
150
150
  # if code_gen_default_value is nil, use the default value if it isn't a `code_gen_sensitive` value
151
151
  def update_code_gen_default_value_if_able!
152
+ # we don't support default values for procs
153
+ if @data_type == :string_callback
154
+ @code_gen_default_value = nil
155
+ return
156
+ end
157
+
152
158
  if @code_gen_default_value.nil?
153
159
  unless @code_gen_sensitive
154
160
 
@@ -41,9 +41,10 @@ module Frameit
41
41
  description: "Use iPhone 6s frames instead of iPhone 7 frames",
42
42
  default_value: false),
43
43
  FastlaneCore::ConfigItem.new(key: :force_orientation_block,
44
- type: Proc,
44
+ type: :string_callback,
45
45
  description: "[Advanced] A block to customize your screnshots' device orientation",
46
46
  display_in_shell: false,
47
+ optional: true,
47
48
  default_value: proc do |filename|
48
49
  f = filename.downcase
49
50
  if f.end_with?("force_landscapeleft")
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.71.0.beta.20171225010003
4
+ version: 2.71.0.beta.20171226010004
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-12-25 00:00:00.000000000 Z
18
+ date: 2017-12-26 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier