fastlane 2.48.0.beta.20170721010003 → 2.48.0.beta.20170722010002

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: 9d09ddcec7123e2de5bbb1dd36b9889ee8e099ac
4
- data.tar.gz: 893dd6ba4e16a4841d222ea8cf3cdf4133876d8f
3
+ metadata.gz: 382ee7230667af0724fc05ad90d2a7d5e38a2932
4
+ data.tar.gz: 67d9981c96f9f90ed143fcebb24d4719b15af720
5
5
  SHA512:
6
- metadata.gz: c12b5ae6bcda6a076ae8ff41a6c33bb4fb13a94db88b55662ef6769d67283f879b957c8efa4ceaf7c8ccaa9dd1a3dc7ca40876f95c183faec50c97e26a750dbf
7
- data.tar.gz: d78301c1608a9ecabb7da2620a8696c62daead424cbf14ea361623c3aecc5fbcfbe95caf6dca4a4cf98b679216fab66b8ea393fa30b81cfd45f3b822fdf2b2d5
6
+ metadata.gz: e2ce4de57e88022a3b418cd3fc898c3fa142df2328ec61c953a0ec20b627c171e196084f377d40c229e1106e1abe4ff80b6eb32d9867aeb837a8353b8465bbd1
7
+ data.tar.gz: d7d0d1c900edc556273dd4b7adcd431dd13d12c2b7139e82e606a6f1de84cc25999022ee1a2a25da17dc33e2931c3a40b3fb205207b7b93ecda46eeeb8b80acf
@@ -108,7 +108,11 @@ module Fastlane
108
108
  FastlaneCore::ConfigItem.new(key: :target_filter,
109
109
  env_name: "FL_PROJECT_PROVISIONING_PROFILE_TARGET_FILTER",
110
110
  description: "A filter for the target name. Use a standard regex",
111
- optional: true),
111
+ optional: true,
112
+ is_string: false,
113
+ verify_block: proc do |value|
114
+ UI.user_error!("target_filter should be Regexp or String") unless [Regexp, String].any? { |type| value.kind_of?(type) }
115
+ end),
112
116
  FastlaneCore::ConfigItem.new(key: :build_configuration_filter,
113
117
  env_name: "FL_PROJECT_PROVISIONING_PROFILE_FILTER",
114
118
  description: "Legacy option, use 'target_filter' instead",
@@ -116,7 +120,11 @@ module Fastlane
116
120
  FastlaneCore::ConfigItem.new(key: :build_configuration,
117
121
  env_name: "FL_PROJECT_PROVISIONING_PROFILE_BUILD_CONFIGURATION",
118
122
  description: "A filter for the build configuration name. Use a standard regex. Applied to all configurations if not specified",
119
- optional: true),
123
+ optional: true,
124
+ is_string: false,
125
+ verify_block: proc do |value|
126
+ UI.user_error!("build_configuration should be Regexp or String") unless [Regexp, String].any? { |type| value.kind_of?(type) }
127
+ end),
120
128
  FastlaneCore::ConfigItem.new(key: :certificate,
121
129
  env_name: "FL_PROJECT_PROVISIONING_CERTIFICATE_PATH",
122
130
  description: "Path to apple root certificate",
@@ -88,7 +88,7 @@ module Fastlane
88
88
 
89
89
  corrections = []
90
90
 
91
- if !Gem.loaded_specs["did_you_mean"].nil? && Gem.loaded_specs["did_you_mean"].version >= Gem::Version.new('1.1.0')
91
+ if defined?(DidYouMean::SpellChecker)
92
92
  spell_checker = DidYouMean::SpellChecker.new(dictionary: action_names)
93
93
  corrections << spell_checker.correct(filter).compact
94
94
  end
@@ -217,6 +217,7 @@ Layout/SpaceAroundOperators:
217
217
  - '**/spec/actions_specs/xcodebuild_spec.rb'
218
218
 
219
219
  AllCops:
220
+ TargetRubyVersion: 2.0
220
221
  Include:
221
222
  - '**/fastlane/Fastfile'
222
223
  Exclude:
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.48.0.beta.20170721010003'.freeze
2
+ VERSION = '2.48.0.beta.20170722010002'.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
  end
@@ -113,7 +113,7 @@ module Pilot
113
113
  tester = Spaceship::Tunes::Tester::Internal.find_by_app(app.apple_id, email)
114
114
  tester ||= Spaceship::Tunes::Tester::External.find_by_app(app.apple_id, email)
115
115
  else
116
- UI.user_error!("Account #{current_user.email} doesn't have a role that is allowed to administer app testers, current roles: #{current_user.roles}")
116
+ UI.user_error!("Account #{current_user.email_address} doesn't have a role that is allowed to administer app testers, current roles: #{current_user.roles}")
117
117
  tester = nil
118
118
  end
119
119
 
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.48.0.beta.20170721010003
4
+ version: 2.48.0.beta.20170722010002
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-07-21 00:00:00.000000000 Z
18
+ date: 2017-07-22 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier