fastlane 2.27.0.beta.20170407010056 → 2.27.0.beta.20170408010009
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cert/lib/cert/runner.rb +1 -1
- data/credentials_manager/lib/credentials_manager/appfile_config.rb +1 -1
- data/deliver/lib/deliver/setup.rb +1 -1
- data/fastlane/lib/fastlane/action.rb +1 -1
- data/fastlane/lib/fastlane/actions/badge.rb +1 -1
- data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
- data/fastlane/lib/fastlane/actions/ensure_git_status_clean.rb +1 -1
- data/fastlane/lib/fastlane/actions/git_branch.rb +1 -1
- data/fastlane/lib/fastlane/actions/gradle.rb +1 -1
- data/fastlane/lib/fastlane/actions/hg_ensure_clean_status.rb +1 -1
- data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +2 -2
- data/fastlane/lib/fastlane/actions/slack.rb +1 -1
- data/fastlane/lib/fastlane/plugins/plugin_manager.rb +1 -1
- data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +1 -1
- data/fastlane/lib/fastlane/setup/setup_android.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +2 -2
- data/fastlane_core/lib/fastlane_core/ui/ui.rb +1 -1
- data/gym/lib/gym/error_handler.rb +1 -1
- data/sigh/lib/assets/resign.sh +1 -1
- data/sigh/lib/sigh/runner.rb +1 -1
- data/snapshot/lib/snapshot/runner.rb +2 -2
- data/spaceship/lib/spaceship/tunes/language_converter.rb +2 -2
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7c4c1864ddcb75242cf7fb3887f766c8fca9952
|
4
|
+
data.tar.gz: 31c2ef25a28fed70d4a9887acc63c53c9bb989cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa037f1827c3072357d0474610a1a08f1b8f739c6de45ecea3698ef323e01d4d6da9391941268bd25045fe22c5b44d8abe35c8769970958b6dfb3764eb11e806
|
7
|
+
data.tar.gz: cb8f5df13c35996d93fd4d648dc995492c9e04e2b6d2d4eea599f3e7d6f2d1403eacddf4c916afa949a2a7461aea48870e85f56f3b62d77be5db159a13593fb5
|
data/cert/lib/cert/runner.rb
CHANGED
@@ -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
|
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"
|
@@ -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
|
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,
|
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
|
@@ -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,
|
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
|
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-
|
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
|
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
|
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,
|
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
|
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
|
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
|
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
|
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
|
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}':")
|
@@ -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
|
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?
|
@@ -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
|
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
|
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
|
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
|
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`
|
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
|
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
|
data/sigh/lib/assets/resign.sh
CHANGED
@@ -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
|
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
|
data/sigh/lib/sigh/runner.rb
CHANGED
@@ -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
|
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
|
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
|
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
|
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
|
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.27.0.beta.
|
4
|
+
version: 2.27.0.beta.20170408010009
|
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-
|
17
|
+
date: 2017-04-08 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slack-notifier
|
@@ -1297,23 +1297,23 @@ metadata:
|
|
1297
1297
|
post_install_message:
|
1298
1298
|
rdoc_options: []
|
1299
1299
|
require_paths:
|
1300
|
-
- supply/lib
|
1301
1300
|
- fastlane_core/lib
|
1302
|
-
- match/lib
|
1303
|
-
- cert/lib
|
1304
|
-
- produce/lib
|
1305
|
-
- snapshot/lib
|
1306
|
-
- sigh/lib
|
1307
|
-
- deliver/lib
|
1308
|
-
- screengrab/lib
|
1309
1301
|
- spaceship/lib
|
1310
1302
|
- pilot/lib
|
1311
|
-
-
|
1312
|
-
- fastlane/lib
|
1313
|
-
- scan/lib
|
1303
|
+
- screengrab/lib
|
1314
1304
|
- credentials_manager/lib
|
1305
|
+
- match/lib
|
1315
1306
|
- gym/lib
|
1307
|
+
- pem/lib
|
1308
|
+
- snapshot/lib
|
1316
1309
|
- frameit/lib
|
1310
|
+
- fastlane/lib
|
1311
|
+
- deliver/lib
|
1312
|
+
- produce/lib
|
1313
|
+
- cert/lib
|
1314
|
+
- supply/lib
|
1315
|
+
- scan/lib
|
1316
|
+
- sigh/lib
|
1317
1317
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1318
1318
|
requirements:
|
1319
1319
|
- - ">="
|