fastlane 2.63.0.beta.20171024010003 → 2.63.0.beta.20171025010003

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: 5f0fba1ca2e527c5d26fad1216b6c922ae9029ba
4
- data.tar.gz: 1af89ecd4ac47f0192d012a04b7a08f66f8d98f6
3
+ metadata.gz: 4d6c323f415554ca6fd05dfb85be168ec319348a
4
+ data.tar.gz: c3cf73db62fcd09fa02da097d09ca6f26c82c877
5
5
  SHA512:
6
- metadata.gz: 3a8dc0101448356888ddf312134bfe5f62a1903e9cca31cfa0e933891a0fffedb143d9d724597dbc0a363a4cbd90ddcac20d6f35fad701eec8eaf130bc140177
7
- data.tar.gz: d7365d1388b0f922f2008d13223fb6cea69831a25bbe8f436429fe4dbc5870fdc3f114a764c2dff3754592cdd29788774c59b729981e29dbea67898ea94595c1
6
+ metadata.gz: 7c538d70fb4b120625c06a2a0f1ff068dd03d7d7634b5b59b9bc5da0e2ee0e60392bb0ac01a8db6c14a23c7c66a4ecf240a53d279622faea893e79ca20998fef
7
+ data.tar.gz: 92d08776084b131b3d25309e40244995a0a2e55f766738970ee8cdd043a662f39eadbf2b0cbc5738f48a9dd8c31444f223564b1424a3859b4e9edd0cf53342e7
@@ -1,2 +1,2 @@
1
- json_key_file "[[JSON_KEY_FILE]]" # Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one
1
+ json_key_file "[[JSON_KEY_FILE]]" # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
2
2
  package_name "[[PACKAGE_NAME]]" # e.g. com.krausefx.app
@@ -69,5 +69,5 @@ end
69
69
  # More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
70
70
  # All available actions: https://docs.fastlane.tools/actions
71
71
 
72
- # fastlane reports which actions are used. No personal data is recorded.
73
- # Learn more at https://github.com/fastlane/fastlane#metrics
72
+ # fastlane reports which actions are used. No personal data is recorded.
73
+ # Learn more at https://docs.fastlane.tools/#metrics
@@ -62,5 +62,5 @@ end
62
62
  # More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
63
63
  # All available actions: https://docs.fastlane.tools/actions
64
64
 
65
- # fastlane reports which actions are used. No personal data is recorded.
66
- # Learn more at https://github.com/fastlane/fastlane#metrics
65
+ # fastlane reports which actions are used. No personal data is recorded.
66
+ # Learn more at https://docs.fastlane.tools/#metrics
@@ -11,7 +11,7 @@ module Fastlane
11
11
 
12
12
  if command_name == "archive" && params[:frameworks].count > 0
13
13
  cmd.concat params[:frameworks]
14
- elsif command_name == "update" && params[:dependencies].count > 0
14
+ elsif (command_name == "update" || command_name == "build") && params[:dependencies].count > 0
15
15
  cmd.concat params[:dependencies]
16
16
  end
17
17
 
@@ -65,7 +65,7 @@ module Fastlane
65
65
  UI.user_error!("Please pass a valid command. Use one of the following: #{available_commands.join(', ')}") unless available_commands.include? value
66
66
  end),
67
67
  FastlaneCore::ConfigItem.new(key: :dependencies,
68
- description: "Carthage dependencies to update",
68
+ description: "Carthage dependencies to update or build",
69
69
  default_value: [],
70
70
  is_string: false,
71
71
  type: Array),
@@ -174,7 +174,7 @@ module Fastlane
174
174
  frameworks: ["MyFramework1", "MyFramework2"], # Specify which frameworks to archive (only for the archive command)
175
175
  output: "MyFrameworkBundle.framework.zip", # Specify the output archive name (only for the archive command)
176
176
  command: "bootstrap", # One of: build, bootstrap, update, archive. (default: bootstrap)
177
- dependencies: ["Alamofire", "Notice"], # Specify which dependencies to update (only for the update command)
177
+ dependencies: ["Alamofire", "Notice"], # Specify which dependencies to update or build (only for update and build commands)
178
178
  use_ssh: false, # Use SSH for downloading GitHub repositories.
179
179
  use_submodules: false, # Add dependencies as Git submodules.
180
180
  use_binaries: true, # Check out dependency repositories even when prebuilt frameworks exist
@@ -28,7 +28,7 @@ Put a gorgeous device frame around your iOS and macOS screenshots just by runnin
28
28
 
29
29
  The complete and updated list of supported devices and colors can be found [here](https://github.com/fastlane/frameit-frames/tree/gh-pages/latest)
30
30
 
31
- Here is a nice gif, that shows ``_frameit_`` in action:
31
+ Here is a nice gif, that shows ```frameit``` in action:
32
32
 
33
33
  ![img/actions/FrameitGit.gif](/img/actions/FrameitGit.gif?raw=1)
34
34
 
@@ -47,7 +47,7 @@ Here is a nice gif, that shows ``_frameit_`` in action:
47
47
  <h5 align="center">The <code>frameit</code> 2.0 update was kindly sponsored by <a href="https://mindnode.com/">MindNode</a>, seen in the screenshots above.</h5>
48
48
 
49
49
 
50
- The first time that ``_frameit_`` is executed the frames will be downloaded automatically. Originally the frames are coming from [Facebook frameset](http://facebook.design/devices) and they are kept on this repo: https://github.com/fastlane/frameit-frames
50
+ The first time that ```frameit``` is executed the frames will be downloaded automatically. Originally the frames are coming from [Facebook frameset](http://facebook.design/devices) and they are kept on this repo: https://github.com/fastlane/frameit-frames
51
51
 
52
52
  More information about this process and how to update the frames can be found [here](https://github.com/fastlane/fastlane/tree/master/frameit/frames_generator)
53
53
 
@@ -1,7 +1,7 @@
1
1
  module Fastlane
2
2
  module Actions
3
3
  module SharedValues
4
- GIT_BRANCH_ENV_VARS = %w(GIT_BRANCH BRANCH_NAME TRAVIS_BRANCH BITRISE_GIT_BRANCH CI_BUILD_REF_NAME CI_COMMIT_REF_NAME).freeze
4
+ GIT_BRANCH_ENV_VARS = %w(GIT_BRANCH BRANCH_NAME TRAVIS_BRANCH BITRISE_GIT_BRANCH CI_BUILD_REF_NAME CI_COMMIT_REF_NAME WERCKER_GIT_BRANCH).freeze
5
5
  end
6
6
 
7
7
  class GitBranchAction < Action
@@ -9,7 +9,7 @@ module Fastlane
9
9
  AUTOGENERATED_LINE = "# Autogenerated by fastlane\n#\n# Ensure this file is checked in to source control!\n\n"
10
10
  GEMFILE_SOURCE_LINE = "source \"https://rubygems.org\"\n"
11
11
  FASTLANE_PLUGIN_PREFIX = "fastlane-plugin-"
12
- TROUBLESHOOTING_URL = "https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md"
12
+ TROUBLESHOOTING_URL = "https://docs.fastlane.tools/plugins/plugins-troubleshooting/"
13
13
 
14
14
  #####################################################
15
15
  # @!group Reading the files and their paths
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.63.0.beta.20171024010003'.freeze
2
+ VERSION = '2.63.0.beta.20171025010003'.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
@@ -1,5 +1,5 @@
1
1
  # For more information about this configuration visit
2
- # https://github.com/fastlane/fastlane/tree/master/gym#gymfile
2
+ # https://docs.fastlane.tools/actions/gym/#gymfile
3
3
 
4
4
  # In general, you can use the options available
5
5
  # fastlane gym --help
@@ -168,7 +168,7 @@ module Gym
168
168
  end
169
169
 
170
170
  # xcodebuild will not use provisioning profiles
171
- # if we doens't specify signingStyle as manual
171
+ # if we don't specify signingStyle as manual
172
172
  if Helper.xcode_at_least?("9.0") && hash[:provisioningProfiles]
173
173
  hash[:signingStyle] = 'manual'
174
174
  end
@@ -1,5 +1,5 @@
1
1
  # For more information about this configuration visit
2
- # https://github.com/fastlane/fastlane/tree/master/precheck#precheckfile
2
+ # https://docs.fastlane.tools/actions/precheck
3
3
 
4
4
  # In general, you can use the options available
5
5
  # fastlane precheck --help
@@ -1,5 +1,5 @@
1
1
  # For more information about this configuration visit
2
- # https://github.com/fastlane/fastlane/tree/master/scan#scanfile
2
+ # https://docs.fastlane.tools/actions/scan/#scanfile
3
3
 
4
4
  # In general, you can use the options available
5
5
  # fastlane scan --help
@@ -122,6 +122,16 @@ module Sigh
122
122
  pt = %w(macos tvos ios)
123
123
  UI.user_error!("Unsupported platform, must be: #{pt}") unless pt.include?(value)
124
124
  end),
125
+ FastlaneCore::ConfigItem.new(key: :readonly,
126
+ env_name: "SIGH_READONLY",
127
+ description: "Only fetch existing profile, don't generate new ones",
128
+ optional: true,
129
+ is_string: false,
130
+ default_value: false,
131
+ conflicting_options: [:force],
132
+ conflict_block: proc do |value|
133
+ UI.user_error!("You can't enable both :force and :readonly")
134
+ end),
125
135
  FastlaneCore::ConfigItem.new(key: :template_name,
126
136
  env_name: "SIGH_PROVISIONING_PROFILE_TEMPLATE_NAME",
127
137
  description: "The name of provisioning profile template. If the developer account has provisioning profile templates, template name can be found by inspecting the Entitlements drop-down while creating/editing a provisioning profile",
@@ -30,6 +30,7 @@ module Sigh
30
30
  profile = create_profile!
31
31
  end
32
32
  else
33
+ UI.user_error!("No matching provisioning profile found and can not create a new one because you enabled `readonly`") if Sigh.config[:readonly]
33
34
  UI.important "No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you"
34
35
  ensure_app_exists!
35
36
  profile = create_profile!
@@ -29,7 +29,7 @@ languages([
29
29
  # project "./Project.xcodeproj"
30
30
  # workspace "./Project.xcworkspace"
31
31
 
32
- # Arguments to pass to the app on launch. See https://github.com/fastlane/fastlane/tree/master/snapshot#launch-arguments
32
+ # Arguments to pass to the app on launch. See https://docs.fastlane.tools/actions/snapshot/#launch-arguments
33
33
  # launch_arguments(["-favColor red"])
34
34
 
35
35
  # For more information about all available options run
@@ -7,7 +7,7 @@ module Snapshot
7
7
 
8
8
  class SimulatorZoomFix
9
9
  def self.patch
10
- UI.message "Patching all simulators '#{config_path}' to scale to 100%"
10
+ UI.message "Patching simulators '#{config_path}' to scale to 100%"
11
11
 
12
12
  FastlaneCore::DeviceManager.simulators.each do |simulator|
13
13
  simulator_name = simulator.name.tr("\s", "-")
@@ -48,7 +48,7 @@ module Snapshot
48
48
  end
49
49
 
50
50
  def launch_simultaneously(devices, language, locale, launch_arguments)
51
- prepare_for_launch(language, locale, launch_arguments)
51
+ prepare_for_launch(devices, language, locale, launch_arguments)
52
52
 
53
53
  add_media(devices, :photo, launcher_config.add_photos) if launcher_config.add_photos
54
54
  add_media(devices, :video, launcher_config.add_videos) if launcher_config.add_videos
@@ -18,7 +18,7 @@ module Snapshot
18
18
  @current_number_of_retries_due_to_failing_simulator || 0
19
19
  end
20
20
 
21
- def prepare_for_launch(language, locale, launch_arguments)
21
+ def prepare_for_launch(device_types, language, locale, launch_arguments)
22
22
  screenshots_path = TestCommandGenerator.derived_data_path
23
23
  FileUtils.rm_rf(File.join(screenshots_path, "Logs"))
24
24
  FileUtils.rm_rf(screenshots_path) if launcher_config.clean
@@ -31,10 +31,10 @@ module Snapshot
31
31
  File.write(File.join(CACHE_DIR, "locale.txt"), locale || "")
32
32
  File.write(File.join(CACHE_DIR, "snapshot-launch_arguments.txt"), launch_arguments.last)
33
33
 
34
- prepare_simulators_for_launch(language: language, locale: locale)
34
+ prepare_simulators_for_launch(device_types, language: language, locale: locale)
35
35
  end
36
36
 
37
- def prepare_simulators_for_launch(language: nil, locale: nil)
37
+ def prepare_simulators_for_launch(device_types, language: nil, locale: nil)
38
38
  # Kill and shutdown all currently running simulators so that the following settings
39
39
  # changes will be picked up when they are started again.
40
40
  Snapshot.kill_simulator # because of https://github.com/fastlane/snapshot/issues/337
@@ -43,8 +43,7 @@ module Snapshot
43
43
  Fixes::SimulatorZoomFix.patch
44
44
  Fixes::HardwareKeyboardFix.patch
45
45
 
46
- devices = launcher_config.devices || []
47
- devices.each do |type|
46
+ device_types.each do |type|
48
47
  if launcher_config.erase_simulator || launcher_config.localize_simulator
49
48
  erase_simulator(type)
50
49
  if launcher_config.localize_simulator
@@ -46,7 +46,7 @@ module Snapshot
46
46
 
47
47
  # Returns true if it succeeded
48
48
  def launch_one_at_a_time(language, locale, device_type, launch_arguments)
49
- prepare_for_launch(language, locale, launch_arguments)
49
+ prepare_for_launch([device_type], language, locale, launch_arguments)
50
50
 
51
51
  add_media([device_type], :photo, launcher_config.add_photos) if launcher_config.add_photos
52
52
  add_media([device_type], :video, launcher_config.add_videos) if launcher_config.add_videos
@@ -350,7 +350,7 @@ module Spaceship
350
350
  # })
351
351
  #
352
352
  # Available Values
353
- # https://github.com/fastlane/fastlane/blob/master/deliver/Reference.md
353
+ # https://docs.fastlane.tools/actions/deliver/#reference
354
354
  def update_rating(hash)
355
355
  raise "Must be a hash" unless hash.kind_of?(Hash)
356
356
 
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.63.0.beta.20171024010003
4
+ version: 2.63.0.beta.20171025010003
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-10-24 00:00:00.000000000 Z
18
+ date: 2017-10-25 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier