fastlane 2.74.1 → 2.75.0.beta.20180109010003
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bin-proxy +2 -2
- data/bin/fastlane +5 -5
- data/cert/lib/cert/commands_generator.rb +1 -1
- data/cert/lib/cert/runner.rb +14 -14
- data/credentials_manager/lib/credentials_manager/account_manager.rb +11 -11
- data/credentials_manager/lib/credentials_manager/appfile_config.rb +11 -11
- data/credentials_manager/lib/credentials_manager/cli.rb +4 -4
- data/deliver/lib/deliver/app_screenshot.rb +19 -2
- data/deliver/lib/deliver/commands_generator.rb +2 -2
- data/deliver/lib/deliver/loader.rb +2 -2
- data/deliver/lib/deliver/options.rb +2 -2
- data/deliver/lib/deliver/setup.rb +1 -1
- data/deliver/lib/deliver/submit_for_review.rb +1 -1
- data/fastlane/lib/fastlane/action.rb +2 -2
- data/fastlane/lib/fastlane/actions/actions_helper.rb +5 -5
- data/fastlane/lib/fastlane/actions/add_extra_platforms.rb +2 -2
- data/fastlane/lib/fastlane/actions/add_git_tag.rb +1 -1
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +1 -1
- data/fastlane/lib/fastlane/actions/appaloosa.rb +4 -4
- data/fastlane/lib/fastlane/actions/appetize.rb +3 -3
- data/fastlane/lib/fastlane/actions/appetize_viewing_url_generator.rb +2 -2
- data/fastlane/lib/fastlane/actions/appium.rb +2 -2
- data/fastlane/lib/fastlane/actions/appledoc.rb +3 -3
- data/fastlane/lib/fastlane/actions/apteligent.rb +2 -2
- data/fastlane/lib/fastlane/actions/artifactory.rb +2 -2
- data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +1 -1
- data/fastlane/lib/fastlane/actions/build_ios_app.rb +1 -1
- data/fastlane/lib/fastlane/actions/capture_ios_screenshots.rb +1 -1
- data/fastlane/lib/fastlane/actions/carthage.rb +4 -4
- data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +4 -4
- data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +1 -1
- data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +1 -1
- data/fastlane/lib/fastlane/actions/cloc.rb +1 -1
- data/fastlane/lib/fastlane/actions/cocoapods.rb +1 -1
- data/fastlane/lib/fastlane/actions/commit_github_file.rb +4 -4
- data/fastlane/lib/fastlane/actions/commit_version_bump.rb +7 -7
- data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
- data/fastlane/lib/fastlane/actions/crashlytics.rb +2 -2
- data/fastlane/lib/fastlane/actions/debug.rb +2 -2
- data/fastlane/lib/fastlane/actions/delete_keychain.rb +1 -1
- data/fastlane/lib/fastlane/actions/deploygate.rb +7 -7
- data/fastlane/lib/fastlane/actions/docs/cert.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/deliver.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/frameit.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/gym.md +1 -3
- data/fastlane/lib/fastlane/actions/docs/match.md +4 -4
- data/fastlane/lib/fastlane/actions/docs/pem.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/precheck.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/produce.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/scan.md +0 -2
- data/fastlane/lib/fastlane/actions/docs/sigh.md +6 -6
- data/fastlane/lib/fastlane/actions/docs/snapshot.md +4 -4
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +1 -1
- data/fastlane/lib/fastlane/actions/dsym_zip.rb +1 -1
- data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +1 -1
- data/fastlane/lib/fastlane/actions/flock.rb +7 -7
- data/fastlane/lib/fastlane/actions/frame_screenshots.rb +1 -1
- data/fastlane/lib/fastlane/actions/gcovr.rb +5 -5
- data/fastlane/lib/fastlane/actions/get_build_number.rb +2 -2
- data/fastlane/lib/fastlane/actions/get_build_number_repository.rb +9 -9
- data/fastlane/lib/fastlane/actions/get_github_release.rb +2 -2
- data/fastlane/lib/fastlane/actions/get_info_plist_value.rb +1 -1
- data/fastlane/lib/fastlane/actions/get_version_number.rb +7 -7
- data/fastlane/lib/fastlane/actions/github_api.rb +2 -2
- data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +2 -2
- data/fastlane/lib/fastlane/actions/hockey.rb +5 -5
- data/fastlane/lib/fastlane/actions/ifttt.rb +4 -4
- data/fastlane/lib/fastlane/actions/increment_build_number.rb +3 -3
- data/fastlane/lib/fastlane/actions/increment_version_number.rb +4 -4
- data/fastlane/lib/fastlane/actions/install_on_device.rb +2 -2
- data/fastlane/lib/fastlane/actions/install_xcode_plugin.rb +2 -2
- data/fastlane/lib/fastlane/actions/installr.rb +6 -6
- data/fastlane/lib/fastlane/actions/ipa.rb +1 -1
- data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +1 -1
- data/fastlane/lib/fastlane/actions/lcov.rb +1 -1
- data/fastlane/lib/fastlane/actions/mailgun.rb +3 -3
- data/fastlane/lib/fastlane/actions/modify_services.rb +1 -1
- data/fastlane/lib/fastlane/actions/notification.rb +1 -1
- data/fastlane/lib/fastlane/actions/number_of_commits.rb +1 -1
- data/fastlane/lib/fastlane/actions/onesignal.rb +1 -1
- data/fastlane/lib/fastlane/actions/pod_push.rb +1 -1
- data/fastlane/lib/fastlane/actions/podio_item.rb +6 -6
- data/fastlane/lib/fastlane/actions/puts.rb +1 -1
- data/fastlane/lib/fastlane/actions/read_podspec.rb +1 -1
- data/fastlane/lib/fastlane/actions/recreate_schemes.rb +1 -1
- data/fastlane/lib/fastlane/actions/reset_git_repo.rb +1 -1
- data/fastlane/lib/fastlane/actions/restore_file.rb +1 -1
- data/fastlane/lib/fastlane/actions/rocket.rb +2 -2
- data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
- data/fastlane/lib/fastlane/actions/s3.rb +1 -1
- data/fastlane/lib/fastlane/actions/scp.rb +2 -2
- data/fastlane/lib/fastlane/actions/set_build_number_repository.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_changelog.rb +2 -2
- data/fastlane/lib/fastlane/actions/set_github_release.rb +4 -4
- data/fastlane/lib/fastlane/actions/set_info_plist_value.rb +2 -2
- data/fastlane/lib/fastlane/actions/set_pod_key.rb +1 -1
- data/fastlane/lib/fastlane/actions/setup_circle_ci.rb +4 -4
- data/fastlane/lib/fastlane/actions/setup_jenkins.rb +6 -6
- data/fastlane/lib/fastlane/actions/setup_travis.rb +2 -2
- data/fastlane/lib/fastlane/actions/slack.rb +3 -3
- data/fastlane/lib/fastlane/actions/slather.rb +2 -2
- data/fastlane/lib/fastlane/actions/spm.rb +2 -2
- data/fastlane/lib/fastlane/actions/ssh.rb +1 -1
- data/fastlane/lib/fastlane/actions/team_id.rb +1 -1
- data/fastlane/lib/fastlane/actions/team_name.rb +1 -1
- data/fastlane/lib/fastlane/actions/testfairy.rb +7 -7
- data/fastlane/lib/fastlane/actions/tryouts.rb +6 -6
- data/fastlane/lib/fastlane/actions/update_app_group_identifiers.rb +2 -2
- data/fastlane/lib/fastlane/actions/update_fastlane.rb +5 -5
- data/fastlane/lib/fastlane/actions/update_icloud_container_identifiers.rb +10 -10
- data/fastlane/lib/fastlane/actions/update_info_plist.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_project_provisioning.rb +1 -1
- data/fastlane/lib/fastlane/actions/update_url_schemes.rb +1 -1
- data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +4 -4
- data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +4 -4
- data/fastlane/lib/fastlane/actions/verify_build.rb +6 -6
- data/fastlane/lib/fastlane/actions/verify_pod_keys.rb +1 -1
- data/fastlane/lib/fastlane/actions/version_bump_podspec.rb +3 -3
- data/fastlane/lib/fastlane/actions/version_get_podspec.rb +2 -2
- data/fastlane/lib/fastlane/actions/xcode_select.rb +2 -2
- data/fastlane/lib/fastlane/actions/xcode_server_get_assets.rb +3 -3
- data/fastlane/lib/fastlane/actions/xcov.rb +1 -1
- data/fastlane/lib/fastlane/actions/xctool.rb +1 -1
- data/fastlane/lib/fastlane/actions/xcversion.rb +1 -1
- data/fastlane/lib/fastlane/actions/zip.rb +3 -3
- data/fastlane/lib/fastlane/auto_complete.rb +15 -15
- data/fastlane/lib/fastlane/cli_tools_distributor.rb +15 -15
- data/fastlane/lib/fastlane/command_line_handler.rb +1 -1
- data/fastlane/lib/fastlane/commands_generator.rb +26 -26
- data/fastlane/lib/fastlane/configuration_helper.rb +2 -2
- data/fastlane/lib/fastlane/documentation/actions_list.rb +47 -47
- data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
- data/fastlane/lib/fastlane/environment_printer.rb +5 -5
- data/fastlane/lib/fastlane/fast_file.rb +5 -5
- data/fastlane/lib/fastlane/fastlane_require.rb +2 -2
- data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +3 -3
- data/fastlane/lib/fastlane/helper/podspec_helper.rb +1 -1
- data/fastlane/lib/fastlane/helper/sh_helper.rb +2 -2
- data/fastlane/lib/fastlane/helper/xcversion_helper.rb +1 -1
- data/fastlane/lib/fastlane/lane.rb +6 -6
- data/fastlane/lib/fastlane/lane_list.rb +3 -3
- data/fastlane/lib/fastlane/lane_manager.rb +7 -7
- data/fastlane/lib/fastlane/lane_manager_base.rb +15 -15
- data/fastlane/lib/fastlane/markdown_table_formatter.rb +2 -2
- data/fastlane/lib/fastlane/new_action.rb +5 -5
- data/fastlane/lib/fastlane/one_off.rb +1 -1
- data/fastlane/lib/fastlane/plugins/plugin_generator.rb +5 -5
- data/fastlane/lib/fastlane/plugins/plugin_generator_ui.rb +2 -2
- data/fastlane/lib/fastlane/plugins/plugin_manager.rb +7 -7
- data/fastlane/lib/fastlane/plugins/plugin_search.rb +5 -5
- data/fastlane/lib/fastlane/plugins/plugin_update_manager.rb +4 -4
- data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +9 -8
- data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +37 -2
- data/fastlane/lib/fastlane/plugins/template/Gemfile +1 -1
- data/fastlane/lib/fastlane/plugins/template/Rakefile +1 -1
- data/fastlane/lib/fastlane/plugins/template/lib/fastlane/plugin/%plugin_name%/actions/%plugin_name%_action.rb.erb +3 -0
- data/fastlane/lib/fastlane/plugins/template/lib/fastlane/plugin/%plugin_name%/helper/%plugin_name%_helper.rb.erb +4 -0
- data/fastlane/lib/fastlane/plugins/template/spec/spec_helper.rb.erb +1 -1
- data/fastlane/lib/fastlane/runner.rb +9 -9
- data/fastlane/lib/fastlane/setup/crashlytics_beta.rb +9 -9
- data/fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb +7 -7
- data/fastlane/lib/fastlane/setup/crashlytics_beta_info_collector.rb +19 -19
- data/fastlane/lib/fastlane/setup/crashlytics_beta_ui.rb +3 -3
- data/fastlane/lib/fastlane/setup/setup_android.rb +4 -4
- data/fastlane/lib/fastlane/setup/setup_ios.rb +9 -9
- data/fastlane/lib/fastlane/supported_platforms.rb +1 -1
- data/fastlane/lib/fastlane/swift_fastlane_api_generator.rb +10 -6
- data/fastlane/lib/fastlane/swift_lane_manager.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/README.md +0 -26
- data/fastlane_core/lib/fastlane_core/analytics/analytics_ingester_client.rb +2 -2
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +1 -1
- data/fastlane_core/lib/fastlane_core/cert_checker.rb +2 -2
- data/fastlane_core/lib/fastlane_core/command_executor.rb +3 -3
- data/fastlane_core/lib/fastlane_core/configuration/config_item.rb +4 -4
- data/fastlane_core/lib/fastlane_core/configuration/configuration.rb +4 -4
- data/fastlane_core/lib/fastlane_core/configuration/configuration_file.rb +4 -4
- data/fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb +3 -3
- data/fastlane_core/lib/fastlane_core/device_manager.rb +2 -4
- data/fastlane_core/lib/fastlane_core/fastlane_folder.rb +1 -1
- data/fastlane_core/lib/fastlane_core/globals.rb +3 -3
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb +1 -1
- data/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb +2 -2
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +2 -2
- data/fastlane_core/lib/fastlane_core/pkg_file_analyser.rb +1 -1
- data/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb +1 -1
- data/fastlane_core/lib/fastlane_core/print_table.rb +5 -5
- data/fastlane_core/lib/fastlane_core/project.rb +7 -7
- data/fastlane_core/lib/fastlane_core/swag.rb +9 -9
- data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +49 -49
- data/fastlane_core/lib/fastlane_core/ui/github_issue_inspector_reporter.rb +18 -18
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +1 -1
- data/fastlane_core/lib/fastlane_core/update_checker/changelog.rb +7 -7
- data/fastlane_core/lib/fastlane_core/update_checker/update_checker.rb +11 -11
- data/frameit/lib/frameit/commands_generator.rb +2 -2
- data/frameit/lib/frameit/config_parser.rb +11 -11
- data/frameit/lib/frameit/dependency_checker.rb +7 -7
- data/frameit/lib/frameit/editor.rb +41 -41
- data/frameit/lib/frameit/frame_downloader.rb +12 -12
- data/frameit/lib/frameit/mac_editor.rb +2 -2
- data/frameit/lib/frameit/options.rb +1 -1
- data/frameit/lib/frameit/runner.rb +7 -7
- data/frameit/lib/frameit/screenshot.rb +5 -5
- data/frameit/lib/frameit/strings_parser.rb +6 -6
- data/frameit/lib/frameit/template_finder.rb +3 -3
- data/gym/lib/gym/commands_generator.rb +4 -4
- data/gym/lib/gym/detect_values.rb +1 -1
- data/gym/lib/gym/error_handler.rb +84 -84
- data/gym/lib/gym/generators/build_command_generator.rb +1 -1
- data/gym/lib/gym/runner.rb +24 -24
- data/gym/lib/gym/xcodebuild_fixes/generic_archive_fix.rb +2 -2
- data/match/lib/assets/READMETemplate.md +3 -3
- data/match/lib/match/commands_generator.rb +3 -3
- data/match/lib/match/encrypt.rb +10 -10
- data/match/lib/match/git_helper.rb +5 -5
- data/match/lib/match/nuke.rb +29 -29
- data/match/lib/match/runner.rb +13 -13
- data/match/lib/match/setup.rb +7 -7
- data/match/lib/match/table_printer.rb +6 -6
- data/match/lib/match/utils.rb +2 -2
- data/pem/lib/pem/commands_generator.rb +1 -1
- data/pem/lib/pem/manager.rb +9 -9
- data/pem/lib/pem/module.rb +1 -1
- data/pilot/lib/pilot/build_manager.rb +8 -8
- data/pilot/lib/pilot/commands_generator.rb +1 -1
- data/pilot/lib/pilot/manager.rb +1 -1
- data/pilot/lib/pilot/options.rb +4 -4
- data/pilot/lib/pilot/tester_manager.rb +10 -10
- data/precheck/lib/precheck/commands_generator.rb +4 -4
- data/precheck/lib/precheck/rule.rb +2 -2
- data/precheck/lib/precheck/rule_processor.rb +7 -7
- data/precheck/lib/precheck/rules/abstract_text_match_rule.rb +2 -2
- data/precheck/lib/precheck/rules/curse_words_rule.rb +3 -3
- data/precheck/lib/precheck/rules/unreachable_urls_rule.rb +3 -3
- data/precheck/lib/precheck/runner.rb +7 -7
- data/produce/lib/produce/commands_generator.rb +48 -48
- data/produce/lib/produce/developer_center.rb +4 -4
- data/produce/lib/produce/group.rb +2 -2
- data/produce/lib/produce/itunes_connect.rb +4 -4
- data/produce/lib/produce/options.rb +3 -3
- data/produce/lib/produce/service.rb +1 -1
- data/scan/lib/scan/commands_generator.rb +2 -2
- data/scan/lib/scan/error_handler.rb +12 -12
- data/scan/lib/scan/runner.rb +3 -3
- data/scan/lib/scan/slack_poster.rb +2 -2
- data/scan/lib/scan/test_command_generator.rb +1 -1
- data/screengrab/lib/screengrab/commands_generator.rb +1 -1
- data/screengrab/lib/screengrab/dependency_checker.rb +9 -9
- data/screengrab/lib/screengrab/options.rb +3 -3
- data/screengrab/lib/screengrab/reports_generator.rb +2 -2
- data/screengrab/lib/screengrab/runner.rb +32 -32
- data/sigh/lib/sigh/commands_generator.rb +18 -18
- data/sigh/lib/sigh/download_all.rb +4 -4
- data/sigh/lib/sigh/local_manage.rb +27 -27
- data/sigh/lib/sigh/manager.rb +1 -1
- data/sigh/lib/sigh/repair.rb +6 -6
- data/sigh/lib/sigh/resign.rb +7 -7
- data/sigh/lib/sigh/runner.rb +26 -26
- data/snapshot/lib/snapshot/collector.rb +7 -7
- data/snapshot/lib/snapshot/commands_generator.rb +7 -7
- data/snapshot/lib/snapshot/dependency_checker.rb +34 -19
- data/snapshot/lib/snapshot/detect_values.rb +2 -0
- data/snapshot/lib/snapshot/error_handler.rb +1 -1
- data/snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb +1 -1
- data/snapshot/lib/snapshot/fixes/simulator_zoom_fix.rb +1 -1
- data/snapshot/lib/snapshot/reports_generator.rb +2 -2
- data/snapshot/lib/snapshot/reset_simulators.rb +2 -2
- data/snapshot/lib/snapshot/runner.rb +14 -14
- data/snapshot/lib/snapshot/screenshot_flatten.rb +1 -1
- data/snapshot/lib/snapshot/screenshot_rotate.rb +6 -6
- data/snapshot/lib/snapshot/setup.rb +16 -16
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +7 -7
- data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_xcode_8.rb +4 -4
- data/snapshot/lib/snapshot/update.rb +8 -8
- data/spaceship/lib/spaceship/base.rb +3 -3
- data/spaceship/lib/spaceship/client.rb +17 -17
- data/spaceship/lib/spaceship/commands_generator.rb +1 -1
- data/spaceship/lib/spaceship/du/du_client.rb +6 -3
- data/spaceship/lib/spaceship/globals.rb +1 -1
- data/spaceship/lib/spaceship/playground.rb +18 -18
- data/spaceship/lib/spaceship/portal/certificate.rb +5 -5
- data/spaceship/lib/spaceship/portal/device.rb +2 -2
- data/spaceship/lib/spaceship/portal/portal_client.rb +7 -7
- data/spaceship/lib/spaceship/portal/provisioning_profile.rb +7 -9
- data/spaceship/lib/spaceship/portal/ui/select_team.rb +13 -13
- data/spaceship/lib/spaceship/spaceauth_runner.rb +16 -16
- data/spaceship/lib/spaceship/test_flight/client.rb +9 -9
- data/spaceship/lib/spaceship/tunes/app_details.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_version.rb +7 -7
- data/spaceship/lib/spaceship/tunes/app_version_common.rb +1 -1
- data/spaceship/lib/spaceship/tunes/application.rb +1 -1
- data/spaceship/lib/spaceship/tunes/device_type.rb +2 -2
- data/spaceship/lib/spaceship/tunes/iap_detail.rb +1 -1
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +54 -54
- data/spaceship/lib/spaceship/two_step_client.rb +19 -19
- data/spaceship/lib/spaceship/ui.rb +1 -1
- data/supply/lib/supply/client.rb +1 -1
- data/supply/lib/supply/commands_generator.rb +1 -1
- data/supply/lib/supply/options.rb +14 -14
- data/supply/lib/supply/uploader.rb +3 -3
- metadata +31 -25
- data/fastlane/lib/.DS_Store +0 -0
- data/fastlane/lib/assets/.DS_Store +0 -0
- data/fastlane/lib/fastlane/.DS_Store +0 -0
- data/fastlane/lib/fastlane/actions/.DS_Store +0 -0
- data/fastlane/lib/fastlane/actions/docs/.DS_Store +0 -0
- data/fastlane/lib/fastlane/setup/.DS_Store +0 -0
- data/fastlane_core/lib/.DS_Store +0 -0
- data/fastlane_core/lib/fastlane_core/.DS_Store +0 -0
data/match/lib/match/setup.rb
CHANGED
@@ -9,18 +9,18 @@ module Match
|
|
9
9
|
template = File.read("#{Match::ROOT}/lib/assets/MatchfileTemplate")
|
10
10
|
end
|
11
11
|
|
12
|
-
UI.important
|
13
|
-
UI.important
|
12
|
+
UI.important("Please create a new, private git repository")
|
13
|
+
UI.important("to store the certificates and profiles there")
|
14
14
|
url = UI.input("URL of the Git Repo: ")
|
15
15
|
|
16
16
|
template.gsub!("[[GIT_URL]]", url)
|
17
17
|
File.write(path, template)
|
18
|
-
UI.success
|
18
|
+
UI.success("Successfully created '#{path}'. You can open the file using a code editor.")
|
19
19
|
|
20
|
-
UI.important
|
21
|
-
UI.message
|
22
|
-
UI.message
|
23
|
-
UI.message
|
20
|
+
UI.important("You can now run `fastlane match development`, `fastlane match adhoc`, `fastlane match enterprise` and `fastlane match appstore`")
|
21
|
+
UI.message("On the first run for each environment it will create the provisioning profiles and")
|
22
|
+
UI.message("certificates for you. From then on, it will automatically import the existing profiles.")
|
23
|
+
UI.message("For more information visit https://docs.fastlane.tools/actions/match/")
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -13,9 +13,9 @@ module Match
|
|
13
13
|
title: "Installed Certificate".green
|
14
14
|
}
|
15
15
|
|
16
|
-
puts
|
17
|
-
puts
|
18
|
-
puts
|
16
|
+
puts("")
|
17
|
+
puts(Terminal::Table.new(params))
|
18
|
+
puts("")
|
19
19
|
rescue => ex
|
20
20
|
UI.error(ex)
|
21
21
|
end
|
@@ -43,9 +43,9 @@ module Match
|
|
43
43
|
params[:title] = "Installed Provisioning Profile".green
|
44
44
|
params[:headings] = ['Parameter', 'Environment Variable', 'Value']
|
45
45
|
|
46
|
-
puts
|
47
|
-
puts
|
48
|
-
puts
|
46
|
+
puts("")
|
47
|
+
puts(Terminal::Table.new(params))
|
48
|
+
puts("")
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
data/match/lib/match/utils.rb
CHANGED
@@ -10,7 +10,7 @@ module Match
|
|
10
10
|
|
11
11
|
# Fill in an environment variable, ready to be used in _xcodebuild_
|
12
12
|
def self.fill_environment(key, value)
|
13
|
-
UI.important
|
13
|
+
UI.important("Setting environment variable '#{key}' to '#{value}'") if FastlaneCore::Globals.verbose?
|
14
14
|
ENV[key] = value
|
15
15
|
end
|
16
16
|
|
@@ -51,7 +51,7 @@ module Match
|
|
51
51
|
'notAfter' => 'End Datetime'
|
52
52
|
}
|
53
53
|
|
54
|
-
return out_array.map { |x| x.split(/=+/) if x.include?
|
54
|
+
return out_array.map { |x| x.split(/=+/) if x.include?("=") }
|
55
55
|
.compact
|
56
56
|
.map { |k, v| [openssl_keys_to_readable_keys.fetch(k, k), v] }
|
57
57
|
rescue => ex
|
data/pem/lib/pem/manager.rb
CHANGED
@@ -18,13 +18,13 @@ module PEM
|
|
18
18
|
|
19
19
|
if existing_certificate
|
20
20
|
remaining_days = (existing_certificate.expires - Time.now) / 60 / 60 / 24
|
21
|
-
UI.message
|
21
|
+
UI.message("Existing push notification profile for '#{existing_certificate.owner_name}' is valid for #{remaining_days.round} more days.")
|
22
22
|
if remaining_days > PEM.config[:active_days_limit]
|
23
23
|
if PEM.config[:force]
|
24
|
-
UI.success
|
24
|
+
UI.success("You already have an existing push certificate, but a new one will be created since the --force option has been set.")
|
25
25
|
else
|
26
|
-
UI.success
|
27
|
-
UI.success
|
26
|
+
UI.success("You already have a push certificate, which is active for more than #{PEM.config[:active_days_limit]} more days. No need to create a new one")
|
27
|
+
UI.success("If you still want to create a new one, use the --force option when running PEM.")
|
28
28
|
return false
|
29
29
|
end
|
30
30
|
end
|
@@ -34,23 +34,23 @@ module PEM
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def login
|
37
|
-
UI.message
|
37
|
+
UI.message("Starting login with user '#{PEM.config[:username]}'")
|
38
38
|
Spaceship.login(PEM.config[:username], nil)
|
39
39
|
Spaceship.client.select_team
|
40
|
-
UI.message
|
40
|
+
UI.message("Successfully logged in")
|
41
41
|
end
|
42
42
|
|
43
43
|
def create_certificate
|
44
|
-
UI.important
|
44
|
+
UI.important("Creating a new push certificate for app '#{PEM.config[:app_identifier]}'.")
|
45
45
|
|
46
46
|
csr, pkey = Spaceship.certificate.create_certificate_signing_request
|
47
47
|
|
48
48
|
begin
|
49
49
|
cert = certificate.create!(csr: csr, bundle_id: PEM.config[:app_identifier])
|
50
50
|
rescue => ex
|
51
|
-
if ex.to_s.include?
|
51
|
+
if ex.to_s.include?("You already have a current")
|
52
52
|
# That's the most common failure probably
|
53
|
-
UI.message
|
53
|
+
UI.message(ex.to_s)
|
54
54
|
UI.user_error!("You already have 2 active push profiles for this application/environment. You'll need to revoke an old certificate to make room for a new one")
|
55
55
|
else
|
56
56
|
raise ex
|
data/pem/lib/pem/module.rb
CHANGED
@@ -69,7 +69,7 @@ module Pilot
|
|
69
69
|
app_test_info.test_info.description = options[:beta_app_description] if options[:beta_app_description]
|
70
70
|
begin
|
71
71
|
app_test_info.save_for_app!(app_id: build.app_id)
|
72
|
-
UI.success
|
72
|
+
UI.success("Successfully set the beta_app_feedback_email and/or beta_app_description")
|
73
73
|
rescue => ex
|
74
74
|
UI.user_error!("Could not set beta_app_feedback_email and/or beta_app_description: #{ex}")
|
75
75
|
end
|
@@ -78,7 +78,7 @@ module Pilot
|
|
78
78
|
if should_update_build_information?(options)
|
79
79
|
begin
|
80
80
|
build.update_build_information!(whats_new: options[:changelog])
|
81
|
-
UI.success
|
81
|
+
UI.success("Successfully set the changelog for build")
|
82
82
|
rescue => ex
|
83
83
|
UI.user_error!("Could not set changelog: #{ex}")
|
84
84
|
end
|
@@ -102,11 +102,11 @@ module Pilot
|
|
102
102
|
builds.sort! { |a, b| a.upload_date <=> b.upload_date }
|
103
103
|
rows = builds.collect { |build| describe_build(build) }
|
104
104
|
|
105
|
-
puts
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
)
|
105
|
+
puts(Terminal::Table.new(
|
106
|
+
title: "#{app.name} Builds".green,
|
107
|
+
headings: ["Version #", "Build #", "Installs"],
|
108
|
+
rows: FastlaneCore::PrintTable.transform_output(rows)
|
109
|
+
))
|
110
110
|
end
|
111
111
|
|
112
112
|
def self.truncate_changelog(changelog)
|
@@ -115,7 +115,7 @@ module Pilot
|
|
115
115
|
original_length = changelog.length
|
116
116
|
bottom_message = "..."
|
117
117
|
changelog = "#{changelog[0...max_changelog_length - bottom_message.length]}#{bottom_message}"
|
118
|
-
UI.important
|
118
|
+
UI.important("Changelog has been truncated since it exceeds Apple's #{max_changelog_length} character limit. It currently contains #{original_length} characters.")
|
119
119
|
end
|
120
120
|
return changelog
|
121
121
|
end
|
data/pilot/lib/pilot/manager.rb
CHANGED
@@ -69,7 +69,7 @@ module Pilot
|
|
69
69
|
result ||= FastlaneCore::IpaFileAnalyser.fetch_app_platform(config[:ipa]) if config[:ipa]
|
70
70
|
if required
|
71
71
|
result ||= UI.input("Please enter the app's platform (appletvos, ios, osx): ")
|
72
|
-
UI.user_error!("App Platform must be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include?
|
72
|
+
UI.user_error!("App Platform must be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include?(result)
|
73
73
|
UI.verbose("App Platform (#{result})")
|
74
74
|
end
|
75
75
|
return result
|
data/pilot/lib/pilot/options.rb
CHANGED
@@ -29,7 +29,7 @@ module Pilot
|
|
29
29
|
optional: true,
|
30
30
|
default_value: 'ios',
|
31
31
|
verify_block: proc do |value|
|
32
|
-
UI.user_error!("The platform can only be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include?
|
32
|
+
UI.user_error!("The platform can only be ios, appletvos, or osx") unless ['ios', 'appletvos', 'osx'].include?(value)
|
33
33
|
end),
|
34
34
|
FastlaneCore::ConfigItem.new(key: :ipa,
|
35
35
|
short_option: "-i",
|
@@ -40,8 +40,8 @@ module Pilot
|
|
40
40
|
default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
|
41
41
|
verify_block: proc do |value|
|
42
42
|
value = File.expand_path(value)
|
43
|
-
UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist?
|
44
|
-
UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?
|
43
|
+
UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist?(value)
|
44
|
+
UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?(".ipa")
|
45
45
|
end),
|
46
46
|
FastlaneCore::ConfigItem.new(key: :changelog,
|
47
47
|
short_option: "-w",
|
@@ -105,7 +105,7 @@ module Pilot
|
|
105
105
|
description: "The tester's email",
|
106
106
|
optional: true,
|
107
107
|
verify_block: proc do |value|
|
108
|
-
UI.user_error!("Please pass a valid email address") unless value.include?
|
108
|
+
UI.user_error!("Please pass a valid email address") unless value.include?("@")
|
109
109
|
end),
|
110
110
|
FastlaneCore::ConfigItem.new(key: :testers_file_path,
|
111
111
|
short_option: "-c",
|
@@ -182,12 +182,12 @@ module Pilot
|
|
182
182
|
|
183
183
|
# Requires a block that accepts a tester and returns an array of tester column values
|
184
184
|
def list(all_testers, title, headings)
|
185
|
-
rows = all_testers.map { |tester| yield
|
186
|
-
puts
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
)
|
185
|
+
rows = all_testers.map { |tester| yield(tester) }
|
186
|
+
puts(Terminal::Table.new(
|
187
|
+
title: title.green,
|
188
|
+
headings: headings,
|
189
|
+
rows: FastlaneCore::PrintTable.transform_output(rows)
|
190
|
+
))
|
191
191
|
end
|
192
192
|
|
193
193
|
# Print out all the details of a specific tester
|
@@ -209,10 +209,10 @@ module Pilot
|
|
209
209
|
rows << ["Latest Install Date", tester.pretty_install_date]
|
210
210
|
end
|
211
211
|
|
212
|
-
puts
|
213
|
-
|
214
|
-
|
215
|
-
)
|
212
|
+
puts(Terminal::Table.new(
|
213
|
+
title: tester.email.green,
|
214
|
+
rows: FastlaneCore::PrintTable.transform_output(rows)
|
215
|
+
))
|
216
216
|
end
|
217
217
|
end
|
218
218
|
end
|
@@ -48,12 +48,12 @@ module Precheck
|
|
48
48
|
c.action do |args, options|
|
49
49
|
containing = FastlaneCore::Helper.fastlane_enabled_folder_path
|
50
50
|
path = File.join(containing, Precheck.precheckfile_name)
|
51
|
-
UI.user_error!
|
51
|
+
UI.user_error!("Precheckfile already exists") if File.exist?(path)
|
52
52
|
|
53
53
|
is_swift_fastfile = args.include?("swift")
|
54
54
|
if is_swift_fastfile
|
55
55
|
path = File.join(containing, Precheck.precheckfile_name + ".swift")
|
56
|
-
UI.user_error!
|
56
|
+
UI.user_error!("Precheckfile.swift already exists") if File.exist?(path)
|
57
57
|
end
|
58
58
|
|
59
59
|
if is_swift_fastfile
|
@@ -62,11 +62,11 @@ module Precheck
|
|
62
62
|
template = File.read("#{Precheck::ROOT}/lib/assets/PrecheckfileTemplate")
|
63
63
|
end
|
64
64
|
File.write(path, template)
|
65
|
-
UI.success
|
65
|
+
UI.success("Successfully created '#{path}'. Open the file using a code editor.")
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
default_command
|
69
|
+
default_command(:check_metadata)
|
70
70
|
|
71
71
|
run!
|
72
72
|
end
|
@@ -159,13 +159,13 @@ module Precheck
|
|
159
159
|
# URLRule rule_block
|
160
160
|
class TextRule < Rule
|
161
161
|
def handle_item?(item)
|
162
|
-
|
162
|
+
item.kind_of?(TextItemToCheck) ? true : false
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
166
|
class URLRule < Rule
|
167
167
|
def handle_item?(item)
|
168
|
-
|
168
|
+
item.kind_of?(URLItemToCheck) ? true : false
|
169
169
|
end
|
170
170
|
end
|
171
171
|
end
|
@@ -62,7 +62,7 @@ module Precheck
|
|
62
62
|
|
63
63
|
if rule_level == RULE_LEVELS[:skip]
|
64
64
|
skipped_rules << rule
|
65
|
-
UI.message
|
65
|
+
UI.message("Skipped: #{rule.class.friendly_name}-> #{rule.description}".yellow)
|
66
66
|
next
|
67
67
|
end
|
68
68
|
|
@@ -98,12 +98,12 @@ module Precheck
|
|
98
98
|
if rule_failed_at_least_once
|
99
99
|
message = "😵 Failed: #{rule.class.friendly_name}-> #{rule.description}"
|
100
100
|
if rule_level == RULE_LEVELS[:error]
|
101
|
-
UI.error
|
101
|
+
UI.error(message)
|
102
102
|
else
|
103
|
-
UI.important
|
103
|
+
UI.important(message)
|
104
104
|
end
|
105
105
|
else
|
106
|
-
UI.message
|
106
|
+
UI.message("✅ Passed: #{rule.class.friendly_name}")
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
@@ -182,14 +182,14 @@ module Precheck
|
|
182
182
|
|
183
183
|
should_include_iap = Precheck.config[:include_in_app_purchases]
|
184
184
|
if should_include_iap
|
185
|
-
UI.message
|
186
|
-
UI.message
|
185
|
+
UI.message("Reading in-app purchases. If you have a lot, this might take a while")
|
186
|
+
UI.message("You can disable IAP checking by setting the `include_in_app_purchases` flag to `false`")
|
187
187
|
in_app_purchases = app.in_app_purchases.all
|
188
188
|
in_app_purchases ||= []
|
189
189
|
in_app_purchases.each do |purchase|
|
190
190
|
items += collect_iap_language_items(purchase_edit_versions: purchase.edit.versions)
|
191
191
|
end
|
192
|
-
UI.message
|
192
|
+
UI.message("Done reading in-app purchases")
|
193
193
|
end
|
194
194
|
|
195
195
|
return items
|
@@ -59,7 +59,7 @@ module Precheck
|
|
59
59
|
if matches.length > 0 && word_search_type == WORD_SEARCH_TYPES[:fail_on_inclusion]
|
60
60
|
# we are supposed to fail if any of the words are found
|
61
61
|
friendly_matches = matches.join(', ')
|
62
|
-
UI.verbose
|
62
|
+
UI.verbose("😭 #{self.class.name.split('::').last ||= self.class.name} found words \"#{friendly_matches}\"")
|
63
63
|
|
64
64
|
return RuleReturn.new(validation_state: VALIDATION_STATES[:failed], failure_data: "found: #{friendly_matches}")
|
65
65
|
elsif matches.length < lowercased_words_to_look_for.length && word_search_type == WORD_SEARCH_TYPES[:fail_on_exclusion]
|
@@ -68,7 +68,7 @@ module Precheck
|
|
68
68
|
search_data_set.subtract(matches)
|
69
69
|
|
70
70
|
missing_words = search_data_set.to_a.join(', ')
|
71
|
-
UI.verbose
|
71
|
+
UI.verbose("😭 #{self.class.name.split('::').last ||= self.class.name} didn't find words \"#{missing_words}\"")
|
72
72
|
|
73
73
|
return RuleReturn.new(validation_state: VALIDATION_STATES[:failed], failure_data: "missing: #{missing_words}")
|
74
74
|
else
|
@@ -41,9 +41,9 @@ module Precheck
|
|
41
41
|
|
42
42
|
if found_words.length > 0
|
43
43
|
friendly_found_words = found_words.join(', ')
|
44
|
-
UI.verbose
|
45
|
-
UI.verbose
|
46
|
-
UI.verbose
|
44
|
+
UI.verbose("#{self.class.name.split('::').last ||= self.class.name} found potential curse words 😬")
|
45
|
+
UI.verbose("Keep in mind, these words might be ok given the context they are used in")
|
46
|
+
UI.verbose("Matched: \"#{friendly_found_words}\"")
|
47
47
|
return RuleReturn.new(validation_state: VALIDATION_STATES[:failed], failure_data: "found: #{friendly_found_words}")
|
48
48
|
else
|
49
49
|
return RuleReturn.new(validation_state: VALIDATION_STATES[:passed])
|
@@ -30,12 +30,12 @@ module Precheck
|
|
30
30
|
uri = Addressable::URI.parse(url)
|
31
31
|
uri.fragment = nil
|
32
32
|
request = Faraday.new(URI.encode(uri.to_s)) do |connection|
|
33
|
-
connection.use
|
34
|
-
connection.adapter
|
33
|
+
connection.use(FaradayMiddleware::FollowRedirects)
|
34
|
+
connection.adapter(:net_http)
|
35
35
|
end
|
36
36
|
return RuleReturn.new(validation_state: Precheck::VALIDATION_STATES[:failed], failure_data: url) unless request.head.status == 200
|
37
37
|
rescue
|
38
|
-
UI.verbose
|
38
|
+
UI.verbose("URL #{url} not reachable 😵")
|
39
39
|
# I can only return :fail here, but I also want to return #{url}
|
40
40
|
return RuleReturn.new(validation_state: VALIDATION_STATES[:failed], failure_data: "unreachable: #{url}")
|
41
41
|
end
|
@@ -19,14 +19,14 @@ module Precheck
|
|
19
19
|
title: "Summary for precheck #{Fastlane::VERSION}")
|
20
20
|
|
21
21
|
unless Spaceship::Tunes.client
|
22
|
-
UI.message
|
22
|
+
UI.message("Starting login with user '#{Precheck.config[:username]}'")
|
23
23
|
Spaceship::Tunes.login(Precheck.config[:username])
|
24
24
|
Spaceship::Tunes.select_team
|
25
25
|
|
26
|
-
UI.message
|
26
|
+
UI.message("Successfully logged in")
|
27
27
|
end
|
28
28
|
|
29
|
-
UI.message
|
29
|
+
UI.message("Checking app for precheck rule violations")
|
30
30
|
|
31
31
|
ensure_app_exists!
|
32
32
|
|
@@ -38,7 +38,7 @@ module Precheck
|
|
38
38
|
|
39
39
|
if processor_result.has_errors_or_warnings?
|
40
40
|
summary_table = build_potential_problems_table(processor_result: processor_result)
|
41
|
-
puts
|
41
|
+
puts(summary_table)
|
42
42
|
end
|
43
43
|
|
44
44
|
if processor_result.should_trigger_user_error?
|
@@ -47,11 +47,11 @@ module Precheck
|
|
47
47
|
end
|
48
48
|
|
49
49
|
if processor_result.has_errors_or_warnings?
|
50
|
-
UI.important
|
50
|
+
UI.important("precheck 👮♀️ 👮 found one or more potential metadata problems, but this won't prevent fastlane from completing 👍".yellow)
|
51
51
|
end
|
52
52
|
|
53
53
|
if !processor_result.has_errors_or_warnings? && !processor_result.items_not_checked?
|
54
|
-
UI.message
|
54
|
+
UI.message("precheck 👮♀️ 👮 finished without detecting any potential problems 🛫".green)
|
55
55
|
end
|
56
56
|
|
57
57
|
return true
|
@@ -59,7 +59,7 @@ module Precheck
|
|
59
59
|
|
60
60
|
def print_items_not_checked(processor_result: nil)
|
61
61
|
names = processor_result.items_not_checked.map(&:friendly_name)
|
62
|
-
UI.message
|
62
|
+
UI.message("😶 Metadata fields not checked by any rule: #{names.join(', ')}".yellow) if names.length > 0
|
63
63
|
end
|
64
64
|
|
65
65
|
def build_potential_problems_table(processor_result: nil)
|