fastlane 2.20.0.beta.20170308010036 → 2.20.0.beta.20170309010049

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: f5b7e80afbf0a46363e022eb59db7e2cd0def9ce
4
- data.tar.gz: 2f3f0ecd5fe834827b734315f04123246fc2edad
3
+ metadata.gz: 9859dce13f2bb27fd377aadaace8c09c61d72210
4
+ data.tar.gz: a4d35e6753aceb63a87f53c0afa65611332f92ea
5
5
  SHA512:
6
- metadata.gz: 7340ea94173e66696f1cd6fb9efd3251214002f1deb665693f81a3bfc0a3dacbb368d2976d68bd809d6a57a0ab159b8f840e96d2e31ca82f220b8535ad4e7e47
7
- data.tar.gz: 6f8dfbda7724098710a2f7c396592e3a89ad2a46cdba3ce1ff9dc7e17f52cf173bf6e295e7908bda1f34625345b54f4f3e07b8e6556e51376304b29afcfaa834
6
+ metadata.gz: 5929593376d9fb023c6307cfc0381e24ffbfbe26a94822600f69a97e6be095f583df6e3881d529199d7a40cdad942f0ea82e32ba914894024836d04c38a86c95
7
+ data.tar.gz: 4df98b54f1ec6ae4776cc3392c0add5d41140ce72bbc6763e145f69119e58227c27dce6965dbccadbcc3db57a7fa7f1ced229bfa769ece351d02b14d858cacf5
@@ -190,7 +190,7 @@ module Deliver
190
190
  short_option: "-l",
191
191
  verify_block: proc do |value|
192
192
  UI.user_error!("Could not find png file at path '#{File.expand_path(value)}'") unless File.exist?(value)
193
- UI.user_error!("'#{value}' doesn't seem to be a png file") unless value.end_with?(".png")
193
+ UI.user_error!("'#{value}' doesn't seem to be one of the supported files. supported: #{Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.join(',')}") unless Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.include?(File.extname(value).downcase)
194
194
  end),
195
195
  FastlaneCore::ConfigItem.new(key: :apple_watch_app_icon,
196
196
  description: "Metadata: The path to the Apple Watch app icon",
@@ -198,7 +198,7 @@ module Deliver
198
198
  short_option: "-q",
199
199
  verify_block: proc do |value|
200
200
  UI.user_error!("Could not find png file at path '#{File.expand_path(value)}'") unless File.exist?(value)
201
- UI.user_error!("'#{value}' doesn't seem to be a png file") unless value.end_with?(".png")
201
+ UI.user_error!("'#{value}' doesn't seem to be one of the supported files. supported: #{Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.join(',')}") unless Deliver::UploadAssets::SUPPORTED_ICON_EXTENSIONS.include?(File.extname(value).downcase)
202
202
  end),
203
203
  FastlaneCore::ConfigItem.new(key: :copyright,
204
204
  description: "Metadata: The copyright notice",
@@ -1,5 +1,6 @@
1
1
  module Deliver
2
2
  class UploadAssets
3
+ SUPPORTED_ICON_EXTENSIONS = [".png", ".jpg", ".jpeg"]
3
4
  def upload(options)
4
5
  return if options[:edit_live]
5
6
  app = options[:app]
@@ -24,7 +24,7 @@ module Fastlane
24
24
  cmd << '--verbose' if params[:verbose]
25
25
  cmd << '--no-ansi' unless params[:ansi]
26
26
 
27
- Actions.sh(cmd.join(' '))
27
+ Actions.sh(cmd.join(' '), error_callback: params[:error_callback])
28
28
  end
29
29
 
30
30
  def self.description
@@ -75,7 +75,12 @@ module Fastlane
75
75
  is_string: true,
76
76
  verify_block: proc do |value|
77
77
  UI.user_error!("Could not find Podfile") unless File.exist?(value) || Helper.test?
78
- end)
78
+ end),
79
+ FastlaneCore::ConfigItem.new(key: :error_callback,
80
+ description: 'A callback invoked with the command output if there is a non-zero exit status',
81
+ optional: true,
82
+ is_string: false,
83
+ default_value: nil)
79
84
  ]
80
85
  # Please don't add a version parameter to the `cocoapods` action. If you need to specify a version when running
81
86
  # `cocoapods`, please start using a Gemfile and lock the version there
@@ -32,10 +32,10 @@ module Fastlane
32
32
  is_string: false,
33
33
  default_value: true),
34
34
  FastlaneCore::ConfigItem.new(key: :error_callback,
35
- description: 'A callback invoked with the command ouptut if there is a non-zero exit status',
35
+ description: 'A callback invoked with the command output if there is a non-zero exit status',
36
36
  optional: true,
37
- is_string: true,
38
- default_value: 'nil')
37
+ is_string: false,
38
+ default_value: nil)
39
39
  ]
40
40
  end
41
41
 
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.20.0.beta.20170308010036'.freeze
2
+ VERSION = '2.20.0.beta.20170309010049'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  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.20.0.beta.20170308010036
4
+ version: 2.20.0.beta.20170309010049
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-03-08 00:00:00.000000000 Z
17
+ date: 2017-03-09 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
- - pem/lib
1298
- - produce/lib
1299
- - fastlane/lib
1300
- - deliver/lib
1301
- - cert/lib
1302
- - scan/lib
1303
- - supply/lib
1304
- - screengrab/lib
1305
- - gym/lib
1306
- - frameit/lib
1307
- - credentials_manager/lib
1308
1297
  - fastlane_core/lib
1298
+ - frameit/lib
1299
+ - screengrab/lib
1309
1300
  - snapshot/lib
1301
+ - cert/lib
1302
+ - deliver/lib
1303
+ - credentials_manager/lib
1310
1304
  - spaceship/lib
1305
+ - supply/lib
1311
1306
  - sigh/lib
1312
- - match/lib
1307
+ - scan/lib
1308
+ - produce/lib
1309
+ - fastlane/lib
1313
1310
  - pilot/lib
1311
+ - gym/lib
1312
+ - pem/lib
1313
+ - match/lib
1314
1314
  required_ruby_version: !ruby/object:Gem::Requirement
1315
1315
  requirements:
1316
1316
  - - ">="