fastlane 2.46.0.beta.20170707010003 → 2.46.0.beta.20170708010003

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: 6e00429ef1b28603fdbfe7c8368c85ca4606e88c
4
- data.tar.gz: b0f9498b9f87e7840610f97203916a89387fd262
3
+ metadata.gz: 0a4fca885d0544fe2b443967cbd3e87eccbd0973
4
+ data.tar.gz: 726c63eca2d779ba9e6811e6ea1146ce646da6d1
5
5
  SHA512:
6
- metadata.gz: c6845f3a01f6481a6310d9119c1343c578da978b3d9784fbf4957f6e45b461c3c7dbe5f688650a06fe5dce208d50c0596c6ad6159470de725f711fb42e96f11c
7
- data.tar.gz: 8f2e1419c76a93a4344f0bdc99f7aed1edb1627f68097d675721ef74bf649c0f1b82d088aabde3b6eda7ccfc4bb26c1afe4bf5b01307d96740b5ae2e789ea873
6
+ metadata.gz: 20c5be4f167435c0ee5d429e6fef55ae9a1f9b800d239f4b42234afd9d10a69c745f29c87fe96b5f346f9b2e8140a4a77267706992220c03a394de46205f183b
7
+ data.tar.gz: 27480fc0ac20dbbfaabac8e8a9569367270f79dc1119d295408c093a3e5646b50eb442c9e7c788db2c3197692296104ff673dae977426639b5629f9708351eb8
@@ -5,6 +5,8 @@ module Fastlane
5
5
  OPTIONS = [
6
6
  :package_name,
7
7
  :track,
8
+ :key,
9
+ :issuer,
8
10
  :json_key,
9
11
  :json_key_data,
10
12
  :root_url
@@ -26,18 +26,23 @@ module Fastlane
26
26
  # Since Xcode 9 you need to explicitly provide the provisioning profile per app target
27
27
  # If the user used sigh we can match the profiles from sigh
28
28
  values[:export_options] ||= {}
29
- values[:export_options][:provisioningProfiles] ||= {}
30
- Actions.lane_context[SharedValues::SIGH_PROFILE_PATHS].each do |profile_path|
31
- begin
32
- profile = FastlaneCore::ProvisioningProfile.parse(profile_path)
33
- profile_team_id = profile["TeamIdentifier"].first
34
- next if profile_team_id != values[:export_team_id] && !values[:export_team_id].nil?
35
- bundle_id = profile["Entitlements"]["application-identifier"].gsub "#{profile_team_id}.", ""
36
- values[:export_options][:provisioningProfiles][bundle_id] = profile["Name"]
37
- rescue => ex
38
- UI.error("Couldn't load profile at path: #{profile_path}")
39
- UI.error(ex)
40
- UI.verbose(ex.backtrace.join("\n"))
29
+ if values[:export_options].kind_of?(Hash)
30
+ # It's not always a hash, because the user might have passed a string path to a ready plist file
31
+ # If that's the case, we won't set the provisioning profiles
32
+ # see https://github.com/fastlane/fastlane/issues/9684
33
+ values[:export_options][:provisioningProfiles] ||= {}
34
+ Actions.lane_context[SharedValues::SIGH_PROFILE_PATHS].each do |profile_path|
35
+ begin
36
+ profile = FastlaneCore::ProvisioningProfile.parse(profile_path)
37
+ profile_team_id = profile["TeamIdentifier"].first
38
+ next if profile_team_id != values[:export_team_id] && !values[:export_team_id].nil?
39
+ bundle_id = profile["Entitlements"]["application-identifier"].gsub "#{profile_team_id}.", ""
40
+ values[:export_options][:provisioningProfiles][bundle_id] = profile["Name"]
41
+ rescue => ex
42
+ UI.error("Couldn't load profile at path: #{profile_path}")
43
+ UI.error(ex)
44
+ UI.verbose(ex.backtrace.join("\n"))
45
+ end
41
46
  end
42
47
  end
43
48
  end
@@ -222,13 +222,15 @@ Slather is available at https://github.com/SlatherOrg/slather
222
222
  is_string: false,
223
223
  default_value: false),
224
224
  FastlaneCore::ConfigItem.new(key: :binary_basename,
225
- env_name: "FL_SLATHER_BINARY_BASENAME",
226
- description: "Basename of the binary file, this should match the name of your bundle excluding its extension (i.e. YourApp [for YourApp.app bundle])",
227
- default_value: false),
225
+ env_name: "FL_SLATHER_BINARY_BASENAME",
226
+ description: "Basename of the binary file, this should match the name of your bundle excluding its extension (i.e. YourApp [for YourApp.app bundle])",
227
+ is_string: false,
228
+ default_value: false),
228
229
  FastlaneCore::ConfigItem.new(key: :binary_file,
229
- env_name: "FL_SLATHER_BINARY_FILE",
230
- description: "Binary file name to be used for code coverage",
231
- default_value: false),
230
+ env_name: "FL_SLATHER_BINARY_FILE",
231
+ description: "Binary file name to be used for code coverage",
232
+ is_string: false,
233
+ default_value: false),
232
234
  FastlaneCore::ConfigItem.new(key: :source_files,
233
235
  env_name: "FL_SLATHER_SOURCE_FILES",
234
236
  description: "A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.46.0.beta.20170707010003'.freeze
2
+ VERSION = '2.46.0.beta.20170708010003'.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
@@ -60,7 +60,9 @@ module Gym
60
60
  # each target of your app
61
61
  # rubocop:disable Style/MultilineBlockChain
62
62
  def self.detect_selected_provisioning_profiles
63
- return if Gym.config[:export_options] && Gym.config[:export_options][:provisioningProfiles]
63
+ if Gym.config[:export_options] && Gym.config[:export_options].kind_of?(Hash) && Gym.config[:export_options][:provisioningProfiles]
64
+ return
65
+ end
64
66
 
65
67
  require 'xcodeproj'
66
68
 
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.46.0.beta.20170707010003
4
+ version: 2.46.0.beta.20170708010003
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-07 00:00:00.000000000 Z
18
+ date: 2017-07-08 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier