fastlane 2.26.0 → 2.26.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/cert/lib/cert/options.rb +0 -10
  3. data/cert/lib/cert/runner.rb +2 -9
  4. data/credentials_manager/lib/credentials_manager/appfile_config.rb +1 -1
  5. data/deliver/lib/deliver/setup.rb +1 -1
  6. data/fastlane/lib/.DS_Store +0 -0
  7. data/fastlane/lib/assets/.DS_Store +0 -0
  8. data/fastlane/lib/fastlane/action.rb +1 -1
  9. data/fastlane/lib/fastlane/actions/badge.rb +1 -1
  10. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
  11. data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/git_branch.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/gradle.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/hg_ensure_clean_status.rb +1 -1
  15. data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +2 -2
  16. data/fastlane/lib/fastlane/actions/slack.rb +1 -1
  17. data/fastlane/lib/fastlane/plugins/plugin_manager.rb +1 -1
  18. data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +1 -1
  19. data/fastlane/lib/fastlane/setup/setup_android.rb +1 -1
  20. data/fastlane/lib/fastlane/version.rb +1 -1
  21. data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +1 -1
  22. data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
  23. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +2 -2
  24. data/fastlane_core/lib/fastlane_core/ui/ui.rb +1 -1
  25. data/gym/lib/gym/error_handler.rb +1 -1
  26. data/sigh/lib/assets/resign.sh +1 -1
  27. data/sigh/lib/sigh/runner.rb +1 -1
  28. data/snapshot/lib/snapshot/runner.rb +2 -2
  29. data/spaceship/lib/spaceship/tunes/language_converter.rb +2 -2
  30. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 242634a3c8d2c1d9b29756ee9cd63e73cea7bb3e
4
- data.tar.gz: 76e23d95a85f4a2665f79189fd92941dd867a475
3
+ metadata.gz: 47e42ebb924cb29d6e9b5b4cb3883e5aa38e1d48
4
+ data.tar.gz: 0f8319c2f3fcf9c6adcffc3585fd3d2e426c7a05
5
5
  SHA512:
6
- metadata.gz: 4882fc626f48cd38b595292cfa9453d98c938af5b2f8c3bf8ebadcd05b375cf9dadbb220694b9781ffbd051a18d29eff04e79d2579da4327298fbb082ee3196c
7
- data.tar.gz: 69e5d4a9caca2872d3a533091b81dd1407c3ec89ae50ab69247220774ed99cbc6d57aebf03b8d4fbd73375a7fe19e39760c55826e4433d4e1151cc5d0ced96c1
6
+ metadata.gz: 8dfaf944648a8b236959c526ff963fec16d4b85c673b8d00bed14d6a3d4b08e026c81ca2ae2b29de85ec11ecf77acb40be638720ac42c2f8662c5e534d6e22bc
7
+ data.tar.gz: 786b84b3a96be5ac63697ebf77d14a64dd7d5afe9f0797e9b6f7753a2c6bfd63e5183a0300c9e599bf9d3e8aabdf09c926c7b402b41756703342abdc1a9ea763
@@ -13,16 +13,6 @@ module Cert
13
13
  description: "Create a development certificate instead of a distribution one",
14
14
  is_string: false,
15
15
  default_value: false),
16
- FastlaneCore::ConfigItem.new(key: :generate_p12,
17
- env_name: "CERT_GENERATE_P12_FILE",
18
- description: "Generate a p12 file additionally to a PEM file",
19
- is_string: false,
20
- default_value: false),
21
- FastlaneCore::ConfigItem.new(key: :p12_password,
22
- env_name: "CERT_P12_PASSWORD",
23
- sensitive: true,
24
- description: "The password that is used for your p12 file",
25
- default_value: ""),
26
16
  FastlaneCore::ConfigItem.new(key: :force,
27
17
  env_name: "CERT_FORCE",
28
18
  description: "Create a certificate even if an existing certificate exists",
@@ -109,7 +109,7 @@ module Cert
109
109
  UI.error "Certificate #{certificate.id} (#{certificate.name}) can't be found on your local computer"
110
110
  end
111
111
 
112
- File.delete(path) # as apparantly this certificate is pretty useless without a private key
112
+ File.delete(path) # as apparently this certificate is pretty useless without a private key
113
113
  end
114
114
 
115
115
  UI.important "Couldn't find an existing certificate... creating a new one"
@@ -160,18 +160,11 @@ module Cert
160
160
  request_path = File.expand_path(File.join(Cert.config[:output_path], "#{certificate.id}.certSigningRequest"))
161
161
  File.write(request_path, csr.to_pem)
162
162
 
163
- private_key_path = File.expand_path(File.join(Cert.config[:output_path], "#{certificate.id}.pkey"))
163
+ private_key_path = File.expand_path(File.join(Cert.config[:output_path], "#{certificate.id}.p12"))
164
164
  File.write(private_key_path, pkey)
165
165
 
166
166
  cert_path = store_certificate(certificate)
167
167
 
168
- if Cert.config[:generate_p12]
169
- p12_cert_path = File.expand_path(File.join(Cert.config[:output_path], "#{certificate.id}.p12"))
170
- p12 = OpenSSL::PKCS12.create(Cert.config[:p12_password], type_name, pkey, certificate.download)
171
- File.write(p12_cert_path, p12.to_der)
172
- UI.success "p12 certificate: #{p12_cert_path}"
173
- end
174
-
175
168
  # Import all the things into the Keychain
176
169
  keychain = File.expand_path(Cert.config[:keychain_path])
177
170
  password = Cert.config[:keychain_password]
@@ -168,7 +168,7 @@ module CredentialsManager
168
168
  # platform_name - Symbol representing a platform name.
169
169
  # block - Block to execute to override configuration values.
170
170
  #
171
- # Discussion If received paltform name does not match the platform name available as environment variable, no changes will
171
+ # Discussion If received platform name does not match the platform name available as environment variable, no changes will
172
172
  # be applied.
173
173
  def for_platform(platform_name)
174
174
  if ENV["FASTLANE_PLATFORM_NAME"] == platform_name.to_s
@@ -21,7 +21,7 @@ module Deliver
21
21
  UI.success("Successfully created new Deliverfile at path '#{file_path}'")
22
22
  end
23
23
 
24
- # This method takes care of creating a new 'deliver' folder, containg the app metadata
24
+ # This method takes care of creating a new 'deliver' folder, containing the app metadata
25
25
  # and screenshots folders
26
26
  def generate_deliver_file(deliver_path, options)
27
27
  v = options[:app].latest_version
Binary file
Binary file
@@ -98,7 +98,7 @@ module Fastlane
98
98
  Fastlane::Actions.sh_control_output(command, print_command: print_command, print_command_output: print_command_output, error_callback: error_callback)
99
99
  end
100
100
 
101
- # Documentation category, availabe values defined in AVAILABLE_CATEGORIES
101
+ # Documentation category, available values defined in AVAILABLE_CATEGORIES
102
102
  def self.category
103
103
  :undefined
104
104
  end
@@ -124,7 +124,7 @@ module Fastlane
124
124
  is_string: true),
125
125
  FastlaneCore::ConfigItem.new(key: :shield_no_resize,
126
126
  env_name: "FL_BADGE_SHIELD_NO_RESIZE",
127
- description: "Shield image will no longer be resized to aspect fill the full icon. Instead it will only be shrinked to not exceed the icon graphic",
127
+ description: "Shield image will no longer be resized to aspect fill the full icon. Instead it will only be shrunk to not exceed the icon graphic",
128
128
  optional: true,
129
129
  is_string: false,
130
130
  verify_block: proc do |value|
@@ -25,7 +25,7 @@ module Fastlane
25
25
  missing = artifacts.reject { |a| File.exist?(a) }
26
26
  UI.user_error! "Not all files were present in copy artifacts. Missing #{missing.join(', ')}" unless missing.empty?
27
27
  else
28
- # If we don't fail on non-existant files, don't try to copy non-existant files
28
+ # If we don't fail on non-existent files, don't try to copy non-existent files
29
29
  artifacts.select! { |artifact| File.exist?(artifact) }
30
30
  end
31
31
 
@@ -13,7 +13,7 @@ module Fastlane
13
13
  UI.success('Git status is clean, all good! 💪')
14
14
  Actions.lane_context[SharedValues::GIT_REPO_WAS_CLEAN_ON_START] = true
15
15
  else
16
- UI.user_error!("Git repository is dirty! Please ensure the repo is in a clean state by commiting/stashing/discarding all changes first.")
16
+ UI.user_error!("Git repository is dirty! Please ensure the repo is in a clean state by committing/stashing/discarding all changes first.")
17
17
  end
18
18
  end
19
19
 
@@ -15,7 +15,7 @@ module Fastlane
15
15
  #####################################################
16
16
 
17
17
  def self.description
18
- "Returns the name of the current git branch, possibly as controled by CI ENV vars"
18
+ "Returns the name of the current git branch, possibly as managed by CI ENV vars"
19
19
  end
20
20
 
21
21
  def self.details
@@ -127,7 +127,7 @@ module Fastlane
127
127
  is_string: false),
128
128
  FastlaneCore::ConfigItem.new(key: :serial,
129
129
  env_name: 'FL_ANDROID_SERIAL',
130
- description: 'Android serial, wich device should be used for this command',
130
+ description: 'Android serial, which device should be used for this command',
131
131
  is_string: true,
132
132
  default_value: ''),
133
133
  FastlaneCore::ConfigItem.new(key: :print_command,
@@ -12,7 +12,7 @@ module Fastlane
12
12
  UI.success('Mercurial status is clean, all good! 😎')
13
13
  Actions.lane_context[SharedValues::HG_REPO_WAS_CLEAN_ON_START] = true
14
14
  else
15
- UI.user_error!('Mercurial repository is dirty! Please ensure the repo is in a clean state by commiting/stashing/discarding all changes first.')
15
+ UI.user_error!('Mercurial repository is dirty! Please ensure the repo is in a clean state by committing/stashing/discarding all changes first.')
16
16
  end
17
17
  end
18
18
 
@@ -50,7 +50,7 @@ module Fastlane
50
50
  is_string: false,
51
51
  default_value: true),
52
52
  FastlaneCore::ConfigItem.new(key: :verbose,
53
- description: "Allow ouput detail in console",
53
+ description: "Allow output detail in console",
54
54
  optional: true,
55
55
  is_string: false),
56
56
  FastlaneCore::ConfigItem.new(key: :allow_warnings,
@@ -101,7 +101,7 @@ module Fastlane
101
101
  def self.example_code
102
102
  [
103
103
  'pod_lib_lint',
104
- '# Allow ouput detail in console
104
+ '# Allow output detail in console
105
105
  pod_lib_lint(verbose: true)',
106
106
  '# Allow warnings during pod lint
107
107
  pod_lib_lint(allow_warnings: true)',
@@ -46,7 +46,7 @@ module Fastlane
46
46
  UI.success('Successfully sent Slack notification')
47
47
  else
48
48
  UI.verbose(result)
49
- UI.user_error!("Error pushing Slack message, maybe the integration has no permission to post on this channel? Try removing the channel parameter in your Fastfile, this is usually caused by a mispelled or changed group/channel name or an expired SLACK_URL")
49
+ UI.user_error!("Error pushing Slack message, maybe the integration has no permission to post on this channel? Try removing the channel parameter in your Fastfile, this is usually caused by a misspelled or changed group/channel name or an expired SLACK_URL")
50
50
  end
51
51
  end
52
52
 
@@ -220,7 +220,7 @@ module Fastlane
220
220
  UI.important("fastlane will create a new Gemfile at path '#{path_to_gemfile}'")
221
221
  end
222
222
 
223
- UI.important("This change is neccessary for fastlane plugins to work")
223
+ UI.important("This change is necessary for fastlane plugins to work")
224
224
 
225
225
  unless UI.confirm("Should fastlane modify the Gemfile at path '#{path_to_gemfile}' for you?")
226
226
  UI.important("Please add the following code to '#{path_to_gemfile}':")
@@ -56,7 +56,7 @@ Style/NumericLiteralPrefix:
56
56
  Style/TernaryParentheses:
57
57
  Enabled: false
58
58
 
59
- # sometimes it is usefull to have those empty methods
59
+ # sometimes it is useful to have those empty methods
60
60
  Style/EmptyMethod:
61
61
  Enabled: false
62
62
 
@@ -1,7 +1,7 @@
1
1
  module Fastlane
2
2
  class SetupAndroid < Setup
3
3
  def run
4
- response = UI.confirm('Do you have everything commited in version control? If not please do so now!')
4
+ response = UI.confirm('Do you have everything committed in version control? If not please do so now!')
5
5
  return unless response
6
6
 
7
7
  FastlaneCore::FastlaneFolder.create_folder! unless Helper.is_test?
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.26.0'.freeze
2
+ VERSION = '2.26.1'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -156,7 +156,7 @@ module FastlaneCore
156
156
  # Take a look at how `gym` uses this method
157
157
  #
158
158
  # @param config_file_name [String] The name of the configuration file to use (optional)
159
- # @param block_for_missing [Block] A ruby block that is called when there is an unkonwn method
159
+ # @param block_for_missing [Block] A ruby block that is called when there is an unknown method
160
160
  # in the configuration file
161
161
  def load_configuration_file(config_file_name = nil, block_for_missing = nil)
162
162
  return unless config_file_name
@@ -178,7 +178,7 @@ module FastlaneCore
178
178
  end
179
179
 
180
180
  def self.keychain_path(name)
181
- # Existing code expects that a keychain name will be expanded into a default path to Libary/Keychains
181
+ # Existing code expects that a keychain name will be expanded into a default path to Library/Keychains
182
182
  # in the user's home directory. However, this will not allow the user to pass an absolute path
183
183
  # for the keychain value
184
184
  #
@@ -306,7 +306,7 @@ module FastlaneCore
306
306
  # @param dir [String] the path in which the package file should be stored
307
307
  # @return (Bool) True if everything worked fine
308
308
  # @raise [Deliver::TransporterTransferError] when something went wrong
309
- # when transfering
309
+ # when transferring
310
310
  def download(app_id, dir = nil)
311
311
  dir ||= "/tmp"
312
312
 
@@ -340,7 +340,7 @@ module FastlaneCore
340
340
  # @param dir [String] the path in which the package file is located
341
341
  # @return (Bool) True if everything worked fine
342
342
  # @raise [Deliver::TransporterTransferError] when something went wrong
343
- # when transfering
343
+ # when transferring
344
344
  def upload(app_id, dir)
345
345
  actual_dir = File.join(dir, "#{app_id}.itmsp")
346
346
 
@@ -7,7 +7,7 @@ module FastlaneCore
7
7
  end
8
8
 
9
9
  def self.method_missing(method_sym, *args, &_block)
10
- # not using `responds` beacuse we don't care about methods like .to_s and so on
10
+ # not using `responds` because we don't care about methods like .to_s and so on
11
11
  interface_methods = Interface.instance_methods - Object.instance_methods
12
12
  UI.user_error!("Unknown method '#{method_sym}', supported #{interface_methods}") unless interface_methods.include?(method_sym)
13
13
 
@@ -108,7 +108,7 @@ module Gym
108
108
  UI.error("You enabled the legacy build API in _gym_")
109
109
  UI.error("This option has been deprecated for about a year")
110
110
  UI.error("and was removed with Xcode 8.3")
111
- UI.error("Please update your Fastfile to include the export_type too")
111
+ UI.error("Please update your Fastfile to include the export_method too")
112
112
  UI.error("more information about how to migrate away: https://github.com/fastlane/fastlane/releases/tag/2.24.0")
113
113
  UI.user_error!("Build failed. Please remove the `use_legacy_build_api` option in your Fastfile and try again", error_info: output)
114
114
  end
@@ -493,7 +493,7 @@ function resign {
493
493
  log "Profile team identifier is '$TEAM_IDENTIFIER'"
494
494
  fi
495
495
 
496
- # Make a copy of old embedded provisioning profile for futher use
496
+ # Make a copy of old embedded provisioning profile for further use
497
497
  cp -f "$APP_PATH/embedded.mobileprovision" "$TEMP_DIR/old-embedded.mobileprovision"
498
498
 
499
499
  # Replace embedded provisioning profile with new file
@@ -101,7 +101,7 @@ module Sigh
101
101
  return results.find_all do |current_profile|
102
102
  installed = false
103
103
 
104
- # Attempts to download all certificats from this profile
104
+ # Attempts to download all certificates from this profile
105
105
  # for checking if they are installed.
106
106
  # `cert.download_raw` can fail if the user is a
107
107
  # "member" and not an a "admin"
@@ -71,7 +71,7 @@ module Snapshot
71
71
  end
72
72
 
73
73
  # This is its own method so that it can re-try if the tests fail randomly
74
- # @return true/false depending on if the tests succeded
74
+ # @return true/false depending on if the tests succeeded
75
75
  def run_for_device_and_language(language, locale, device, launch_arguments, retries = 0)
76
76
  return launch(language, locale, device, launch_arguments)
77
77
  rescue => ex
@@ -133,7 +133,7 @@ module Snapshot
133
133
  puts ""
134
134
  end
135
135
 
136
- # Returns true if it succeded
136
+ # Returns true if it succeeded
137
137
  def launch(language, locale, device_type, launch_arguments)
138
138
  screenshots_path = TestCommandGenerator.derived_data_path
139
139
  FileUtils.rm_rf(File.join(screenshots_path, "Logs"))
@@ -20,7 +20,7 @@ module Spaceship
20
20
  (result || {}).fetch('name', nil)
21
21
  end
22
22
 
23
- # Converts the langauge "UK English" (user facing) to "English_UK" (value)
23
+ # Converts the language "UK English" (user facing) to "English_UK" (value)
24
24
  def from_itc_readable_to_itc(from)
25
25
  readable_mapping.each do |key, value|
26
26
  return key if value == from
@@ -28,7 +28,7 @@ module Spaceship
28
28
  nil
29
29
  end
30
30
 
31
- # Converts the langauge "English_UK" (value) to "UK English" (user facing)
31
+ # Converts the language "English_UK" (value) to "UK English" (user facing)
32
32
  def from_itc_to_itc_readable(from)
33
33
  readable_mapping[from]
34
34
  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.26.0
4
+ version: 2.26.1
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-04-06 00:00:00.000000000 Z
17
+ date: 2017-04-08 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -753,6 +753,8 @@ files:
753
753
  - deliver/lib/deliver/upload_price_tier.rb
754
754
  - deliver/lib/deliver/upload_screenshots.rb
755
755
  - fastlane/README.md
756
+ - fastlane/lib/.DS_Store
757
+ - fastlane/lib/assets/.DS_Store
756
758
  - fastlane/lib/assets/Actions.md.erb
757
759
  - fastlane/lib/assets/AppfileTemplate
758
760
  - fastlane/lib/assets/AppfileTemplateAndroid