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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 068043183fb1c67f72a848d2c925a7459802ba1d
|
4
|
+
data.tar.gz: 8e7d05dec8d9dc85f93fb78c5dc60180fd686770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04131a7558ce3285bb43529bdf19a783729f1d58d81c49197e27da9359e87afc7202f55cadb3d969815c2fb16129370ffa2cfd96bf08a9df0c5382d3de2948a2
|
7
|
+
data.tar.gz: 2b4aa1e49fff2b5839f4c4eff2d4ba0aec1b2a91b8981443829a1911519ae7cb1154b15fb38c575bafccbb4dc29aca8d185be05d96634519d75fa591e2a3415d
|
data/bin/bin-proxy
CHANGED
@@ -7,8 +7,8 @@ tool_name = File.basename($0)
|
|
7
7
|
|
8
8
|
full_params = ARGV.shelljoin
|
9
9
|
|
10
|
-
puts
|
11
|
-
puts
|
10
|
+
puts("[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow)
|
11
|
+
puts("Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow)
|
12
12
|
|
13
13
|
exec_arr = ["fastlane", tool_name] + ARGV
|
14
14
|
|
data/bin/fastlane
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
if RUBY_VERSION < '2.0.0'
|
4
|
-
abort
|
4
|
+
abort("fastlane requires Ruby 2.0.0 or higher")
|
5
5
|
end
|
6
6
|
|
7
|
-
$LOAD_PATH.push
|
7
|
+
$LOAD_PATH.push(File.expand_path("../../lib", __FILE__))
|
8
8
|
|
9
9
|
require "fastlane/cli_tools_distributor"
|
10
10
|
|
@@ -12,9 +12,9 @@ if Fastlane::CLIToolsDistributor.running_version_command?
|
|
12
12
|
# This will print out the fastlane binary path right above the
|
13
13
|
# version number. Very often, users are not aware they have
|
14
14
|
# e.g. bundled fastlane installed
|
15
|
-
puts
|
16
|
-
puts
|
17
|
-
puts
|
15
|
+
puts("fastlane installation at path:")
|
16
|
+
puts(File.expand_path(__FILE__))
|
17
|
+
puts("-----------------------------")
|
18
18
|
end
|
19
19
|
|
20
20
|
Fastlane::CLIToolsDistributor.take_off
|
data/cert/lib/cert/runner.rb
CHANGED
@@ -13,17 +13,17 @@ module Cert
|
|
13
13
|
run
|
14
14
|
|
15
15
|
installed = FastlaneCore::CertChecker.installed?(ENV["CER_FILE_PATH"])
|
16
|
-
UI.message
|
16
|
+
UI.message("Verifying the certificate is properly installed locally...")
|
17
17
|
UI.user_error!("Could not find the newly generated certificate installed", show_github_issues: true) unless installed
|
18
|
-
UI.success
|
18
|
+
UI.success("Successfully installed certificate #{ENV['CER_CERTIFICATE_ID']}")
|
19
19
|
return ENV["CER_FILE_PATH"]
|
20
20
|
end
|
21
21
|
|
22
22
|
def login
|
23
|
-
UI.message
|
23
|
+
UI.message("Starting login with user '#{Cert.config[:username]}'")
|
24
24
|
Spaceship.login(Cert.config[:username], nil)
|
25
25
|
Spaceship.select_team
|
26
|
-
UI.message
|
26
|
+
UI.message("Successfully logged in")
|
27
27
|
end
|
28
28
|
|
29
29
|
def run
|
@@ -57,7 +57,7 @@ module Cert
|
|
57
57
|
to_revoke = expired_certs
|
58
58
|
|
59
59
|
if to_revoke.empty?
|
60
|
-
UI.success
|
60
|
+
UI.success("No expired certificates were found to revoke! 👍")
|
61
61
|
return
|
62
62
|
end
|
63
63
|
|
@@ -65,16 +65,16 @@ module Cert
|
|
65
65
|
|
66
66
|
to_revoke.each do |certificate|
|
67
67
|
begin
|
68
|
-
UI.message
|
68
|
+
UI.message("#{certificate.id} #{certificate.name} has expired, revoking...")
|
69
69
|
certificate.revoke!
|
70
70
|
revoke_count += 1
|
71
71
|
rescue => e
|
72
|
-
UI.error
|
73
|
-
UI.error
|
72
|
+
UI.error("An error occurred while revoking #{certificate.id} #{certificate.name}")
|
73
|
+
UI.error("#{e.message}\n#{e.backtrace.join("\n")}") if FastlaneCore::Globals.verbose?
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
UI.success
|
77
|
+
UI.success("#{revoke_count} expired certificate#{'s' if revoke_count != 1} #{revoke_count == 1 ? 'has' : 'have'} been revoked! 👍")
|
78
78
|
end
|
79
79
|
|
80
80
|
def expired_certs
|
@@ -97,7 +97,7 @@ module Cert
|
|
97
97
|
ENV["CER_CERTIFICATE_ID"] = certificate.id
|
98
98
|
ENV["CER_FILE_PATH"] = path
|
99
99
|
|
100
|
-
UI.success
|
100
|
+
UI.success("Found the certificate #{certificate.id} (#{certificate.name}) which is installed on the local machine. Using this one.")
|
101
101
|
|
102
102
|
return path
|
103
103
|
elsif File.exist?(private_key_path)
|
@@ -109,17 +109,17 @@ module Cert
|
|
109
109
|
ENV["CER_CERTIFICATE_ID"] = certificate.id
|
110
110
|
ENV["CER_FILE_PATH"] = path
|
111
111
|
|
112
|
-
UI.success
|
112
|
+
UI.success("Found the cached certificate #{certificate.id} (#{certificate.name}). Using this one.")
|
113
113
|
|
114
114
|
return path
|
115
115
|
else
|
116
|
-
UI.error
|
116
|
+
UI.error("Certificate #{certificate.id} (#{certificate.name}) can't be found on your local computer")
|
117
117
|
end
|
118
118
|
|
119
119
|
File.delete(path) # as apparently this certificate is pretty useless without a private key
|
120
120
|
end
|
121
121
|
|
122
|
-
UI.important
|
122
|
+
UI.important("Couldn't find an existing certificate... creating a new one")
|
123
123
|
return nil
|
124
124
|
end
|
125
125
|
|
@@ -182,7 +182,7 @@ module Cert
|
|
182
182
|
ENV["CER_CERTIFICATE_ID"] = certificate.id
|
183
183
|
ENV["CER_FILE_PATH"] = cert_path
|
184
184
|
|
185
|
-
UI.success
|
185
|
+
UI.success("Successfully generated #{certificate.id} which was imported to the local machine.")
|
186
186
|
|
187
187
|
return cert_path
|
188
188
|
end
|
@@ -57,16 +57,16 @@ module CredentialsManager
|
|
57
57
|
# @param force: if false, the user is asked before it gets deleted
|
58
58
|
# @return: Did the user decide to remove the old entry and enter a new password?
|
59
59
|
def invalid_credentials(force: false)
|
60
|
-
puts
|
60
|
+
puts("The login credentials for '#{user}' seem to be wrong".red)
|
61
61
|
|
62
62
|
if fetch_password_from_env
|
63
|
-
puts
|
64
|
-
puts
|
63
|
+
puts("The password was taken from the environment variable")
|
64
|
+
puts("Please make sure it is correct")
|
65
65
|
return false
|
66
66
|
end
|
67
67
|
|
68
68
|
if force || agree("Do you want to re-enter your password? (y/n)", true)
|
69
|
-
puts
|
69
|
+
puts("Removing Keychain entry for user '#{user}'...".yellow)
|
70
70
|
remove_from_keychain
|
71
71
|
ask_for_login
|
72
72
|
return true
|
@@ -104,16 +104,16 @@ module CredentialsManager
|
|
104
104
|
private
|
105
105
|
|
106
106
|
def ask_for_login
|
107
|
-
puts
|
108
|
-
puts
|
109
|
-
puts
|
107
|
+
puts("-------------------------------------------------------------------------------------".green)
|
108
|
+
puts("Please provide your Apple Developer Program account credentials".green)
|
109
|
+
puts("The login information you enter will be stored in your macOS Keychain".green)
|
110
110
|
if default_prefix?
|
111
111
|
# We don't want to show this message, if we ask for the application specific password
|
112
112
|
# which has a different prefix
|
113
|
-
puts
|
114
|
-
puts
|
113
|
+
puts("You can also pass the password using the `FASTLANE_PASSWORD` environment variable".green)
|
114
|
+
puts("More information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager".green)
|
115
115
|
end
|
116
|
-
puts
|
116
|
+
puts("-------------------------------------------------------------------------------------".green)
|
117
117
|
|
118
118
|
if @user.to_s.length == 0
|
119
119
|
raise "Missing username, and running in non-interactive shell" if $stdout.isatty == false
|
@@ -138,7 +138,7 @@ module CredentialsManager
|
|
138
138
|
if add_to_keychain
|
139
139
|
return true
|
140
140
|
else
|
141
|
-
puts
|
141
|
+
puts("Could not store password in keychain".red)
|
142
142
|
return false
|
143
143
|
end
|
144
144
|
end
|
@@ -9,7 +9,7 @@ module CredentialsManager
|
|
9
9
|
begin
|
10
10
|
return self.new.data[key]
|
11
11
|
rescue => ex
|
12
|
-
puts
|
12
|
+
puts(ex.to_s)
|
13
13
|
return nil
|
14
14
|
end
|
15
15
|
nil
|
@@ -17,7 +17,7 @@ module CredentialsManager
|
|
17
17
|
|
18
18
|
def self.default_path
|
19
19
|
["./fastlane/Appfile", "./.fastlane/Appfile", "./Appfile"].each do |current|
|
20
|
-
return current if File.exist?
|
20
|
+
return current if File.exist?(current)
|
21
21
|
end
|
22
22
|
nil
|
23
23
|
end
|
@@ -36,10 +36,10 @@ module CredentialsManager
|
|
36
36
|
|
37
37
|
# From https://github.com/orta/danger/blob/master/lib/danger/Dangerfile.rb
|
38
38
|
if content.tr!('“”‘’‛', %(""'''))
|
39
|
-
puts
|
39
|
+
puts("Your #{File.basename(path)} has had smart quotes sanitised. " \
|
40
40
|
'To avoid issues in the future, you should not use ' \
|
41
41
|
'TextEdit for editing it. If you are not using TextEdit, ' \
|
42
|
-
'you should turn off smart quotes in your editor of choice.'.red
|
42
|
+
'you should turn off smart quotes in your editor of choice.'.red)
|
43
43
|
end
|
44
44
|
|
45
45
|
# rubocop:disable Security/Eval
|
@@ -60,12 +60,12 @@ module CredentialsManager
|
|
60
60
|
# this is necessary, as on the course of a fastlane run, the values might change, e.g. when using
|
61
61
|
# the `for_lane` keyword.
|
62
62
|
|
63
|
-
puts
|
63
|
+
puts("Successfully loaded Appfile at path '#{path}'".yellow)
|
64
64
|
|
65
65
|
self.data.each do |key, value|
|
66
|
-
puts
|
66
|
+
puts("- #{key.to_s.cyan}: '#{value.to_s.green}'")
|
67
67
|
end
|
68
|
-
puts
|
68
|
+
puts("-------")
|
69
69
|
|
70
70
|
self.class.already_printed_debug_information[self.data] = true
|
71
71
|
end
|
@@ -129,7 +129,7 @@ module CredentialsManager
|
|
129
129
|
end
|
130
130
|
|
131
131
|
def issuer(*args, &block)
|
132
|
-
puts
|
132
|
+
puts("Appfile: DEPRECATED issuer: use json_key_file instead".red)
|
133
133
|
setter(:issuer, *args, &block)
|
134
134
|
end
|
135
135
|
|
@@ -138,7 +138,7 @@ module CredentialsManager
|
|
138
138
|
end
|
139
139
|
|
140
140
|
def keyfile(*args, &block)
|
141
|
-
puts
|
141
|
+
puts("Appfile: DEPRECATED keyfile: use json_key_file instead".red)
|
142
142
|
setter(:keyfile, *args, &block)
|
143
143
|
end
|
144
144
|
|
@@ -152,8 +152,8 @@ module CredentialsManager
|
|
152
152
|
def for_lane(lane_name)
|
153
153
|
if lane_name.to_s.split(" ").count > 1
|
154
154
|
# That's the legacy syntax 'platform name'
|
155
|
-
puts
|
156
|
-
puts
|
155
|
+
puts("You use deprecated syntax '#{lane_name}' in your Appfile.".yellow)
|
156
|
+
puts("Please follow the Appfile guide: https://docs.fastlane.tools/advanced/#appfile".yellow)
|
157
157
|
platform, lane_name = lane_name.split(" ")
|
158
158
|
|
159
159
|
return unless platform == ENV["FASTLANE_PLATFORM_NAME"]
|
@@ -17,8 +17,8 @@ module CredentialsManager
|
|
17
17
|
c.syntax = 'fastlane fastlane-credentials add'
|
18
18
|
c.description = 'Adds a fastlane credential to the keychain.'
|
19
19
|
|
20
|
-
c.option
|
21
|
-
c.option
|
20
|
+
c.option('--username username', String, 'Username to add.')
|
21
|
+
c.option('--password password', String, 'Password to add.')
|
22
22
|
|
23
23
|
c.action do |args, options|
|
24
24
|
username = options.username || ask('Username: ')
|
@@ -26,7 +26,7 @@ module CredentialsManager
|
|
26
26
|
|
27
27
|
add(username, password)
|
28
28
|
|
29
|
-
puts
|
29
|
+
puts("Credential #{username}:#{'*' * password.length} added to keychain.")
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
@@ -35,7 +35,7 @@ module CredentialsManager
|
|
35
35
|
c.syntax = 'fastlane fastlane-credentials remove'
|
36
36
|
c.description = 'Removes a fastlane credential from the keychain.'
|
37
37
|
|
38
|
-
c.option
|
38
|
+
c.option('--username username', String, 'Username to remove.')
|
39
39
|
|
40
40
|
c.action do |args, options|
|
41
41
|
username = options.username || ask('Username: ')
|
@@ -19,6 +19,8 @@ module Deliver
|
|
19
19
|
IOS_58 = "iOS-5.8-in"
|
20
20
|
# iPad
|
21
21
|
IOS_IPAD = "iOS-iPad"
|
22
|
+
# iPad 10.5
|
23
|
+
IOS_IPAD_10_5 = "iOS-iPad-10.5"
|
22
24
|
# iPad Pro
|
23
25
|
IOS_IPAD_PRO = "iOS-iPad-Pro"
|
24
26
|
# iPhone 5 iMessage
|
@@ -31,6 +33,8 @@ module Deliver
|
|
31
33
|
IOS_58_MESSAGES = "iOS-5.8-in-messages"
|
32
34
|
# iPad iMessage
|
33
35
|
IOS_IPAD_MESSAGES = "iOS-iPad-messages"
|
36
|
+
# iPad 10.5 iMessage
|
37
|
+
IOS_IPAD_10_5_MESSAGES = "iOS-10.5-messages"
|
34
38
|
# iPad Pro iMessage
|
35
39
|
IOS_IPAD_PRO_MESSAGES = "iOS-iPad-Pro-messages"
|
36
40
|
# Apple Watch
|
@@ -72,6 +76,7 @@ module Deliver
|
|
72
76
|
ScreenSize::IOS_55 => "iphone6Plus",
|
73
77
|
ScreenSize::IOS_58 => "iphone58",
|
74
78
|
ScreenSize::IOS_IPAD => "ipad",
|
79
|
+
ScreenSize::IOS_IPAD_10_5 => "ipad105",
|
75
80
|
ScreenSize::IOS_IPAD_PRO => "ipadPro",
|
76
81
|
ScreenSize::IOS_40_MESSAGES => "iphone4",
|
77
82
|
ScreenSize::IOS_47_MESSAGES => "iphone6",
|
@@ -79,6 +84,7 @@ module Deliver
|
|
79
84
|
ScreenSize::IOS_58_MESSAGES => "iphone58",
|
80
85
|
ScreenSize::IOS_IPAD_MESSAGES => "ipad",
|
81
86
|
ScreenSize::IOS_IPAD_PRO_MESSAGES => "ipadPro",
|
87
|
+
ScreenSize::IOS_IPAD_10_5_MESSAGES => "ipad105",
|
82
88
|
ScreenSize::MAC => "desktop",
|
83
89
|
ScreenSize::IOS_APPLE_WATCH => "watch",
|
84
90
|
ScreenSize::APPLE_TV => "appleTV"
|
@@ -95,6 +101,7 @@ module Deliver
|
|
95
101
|
ScreenSize::IOS_55 => "iPhone 6 Plus",
|
96
102
|
ScreenSize::IOS_58 => "iPhone X",
|
97
103
|
ScreenSize::IOS_IPAD => "iPad",
|
104
|
+
ScreenSize::IOS_IPAD_10_5 => "iPad 10.5",
|
98
105
|
ScreenSize::IOS_IPAD_PRO => "iPad Pro",
|
99
106
|
ScreenSize::IOS_40_MESSAGES => "iPhone 5 (iMessage)",
|
100
107
|
ScreenSize::IOS_47_MESSAGES => "iPhone 6 (iMessage)",
|
@@ -102,6 +109,7 @@ module Deliver
|
|
102
109
|
ScreenSize::IOS_58_MESSAGES => "iPhone X (iMessage)",
|
103
110
|
ScreenSize::IOS_IPAD_MESSAGES => "iPad (iMessage)",
|
104
111
|
ScreenSize::IOS_IPAD_PRO_MESSAGES => "iPad Pro (iMessage)",
|
112
|
+
ScreenSize::IOS_IPAD_10_5_MESSAGES => "iPad 10.5 (iMessage)",
|
105
113
|
ScreenSize::MAC => "Mac",
|
106
114
|
ScreenSize::IOS_APPLE_WATCH => "Watch",
|
107
115
|
ScreenSize::APPLE_TV => "Apple TV"
|
@@ -123,7 +131,8 @@ module Deliver
|
|
123
131
|
ScreenSize::IOS_55_MESSAGES,
|
124
132
|
ScreenSize::IOS_58_MESSAGES,
|
125
133
|
ScreenSize::IOS_IPAD_MESSAGES,
|
126
|
-
ScreenSize::IOS_IPAD_PRO_MESSAGES
|
134
|
+
ScreenSize::IOS_IPAD_PRO_MESSAGES,
|
135
|
+
ScreenSize::IOS_IPAD_10_5_MESSAGES
|
127
136
|
].include?(self.screen_size)
|
128
137
|
end
|
129
138
|
|
@@ -154,6 +163,10 @@ module Deliver
|
|
154
163
|
[1536, 2008],
|
155
164
|
[1536, 2048]
|
156
165
|
],
|
166
|
+
ScreenSize::IOS_IPAD_10_5_MESSAGES => [
|
167
|
+
[1668, 2224],
|
168
|
+
[2224, 1668]
|
169
|
+
],
|
157
170
|
ScreenSize::IOS_IPAD_PRO_MESSAGES => [
|
158
171
|
[2732, 2048],
|
159
172
|
[2048, 2732]
|
@@ -193,6 +206,10 @@ module Deliver
|
|
193
206
|
[1536, 2008],
|
194
207
|
[1536, 2048]
|
195
208
|
],
|
209
|
+
ScreenSize::IOS_IPAD_10_5 => [
|
210
|
+
[1668, 2224],
|
211
|
+
[2224, 1668]
|
212
|
+
],
|
196
213
|
ScreenSize::IOS_IPAD_PRO => [
|
197
214
|
[2732, 2048],
|
198
215
|
[2048, 2732]
|
@@ -219,7 +236,7 @@ module Deliver
|
|
219
236
|
|
220
237
|
# Walk up two directories and test if we need to handle a platform that doesn't support landscape
|
221
238
|
path_component = Pathname.new(path).each_filename.to_a[-3]
|
222
|
-
if path_component.eql?
|
239
|
+
if path_component.eql?("appleTV")
|
223
240
|
skip_landscape = true
|
224
241
|
end
|
225
242
|
|
@@ -128,7 +128,7 @@ module Deliver
|
|
128
128
|
options.load_configuration_file("Deliverfile")
|
129
129
|
Deliver::Runner.new(options)
|
130
130
|
html_path = Deliver::GenerateSummary.new.run(options)
|
131
|
-
UI.success
|
131
|
+
UI.success("Successfully generated HTML report at '#{html_path}'")
|
132
132
|
system("open '#{html_path}'") unless options[:force]
|
133
133
|
end
|
134
134
|
end
|
@@ -177,7 +177,7 @@ module Deliver
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
-
default_command
|
180
|
+
default_command(:run)
|
181
181
|
|
182
182
|
run!
|
183
183
|
end
|
@@ -43,9 +43,9 @@ module Deliver
|
|
43
43
|
|
44
44
|
if !ignore_validation && !rejected_folders.empty?
|
45
45
|
rejected_folders = rejected_folders.map { |path| File.basename(path) }
|
46
|
-
UI.user_error!
|
46
|
+
UI.user_error!("Unsupported directory name(s) for screenshots/metadata in '#{root}': #{rejected_folders.join(', ')}" \
|
47
47
|
"\nValid directory names are: #{allowed_directory_names_with_case}" \
|
48
|
-
"\n\nEnable 'ignore_language_directory_validation' to prevent this validation from happening"
|
48
|
+
"\n\nEnable 'ignore_language_directory_validation' to prevent this validation from happening")
|
49
49
|
end
|
50
50
|
|
51
51
|
selected_folders
|
@@ -74,7 +74,7 @@ module Deliver
|
|
74
74
|
optional: true,
|
75
75
|
default_value: "ios",
|
76
76
|
verify_block: proc do |value|
|
77
|
-
UI.user_error!("The platform can only be ios, appletvos, or osx") unless %('ios', 'appletvos', 'osx').include?
|
77
|
+
UI.user_error!("The platform can only be ios, appletvos, or osx") unless %('ios', 'appletvos', 'osx').include?(value)
|
78
78
|
end),
|
79
79
|
FastlaneCore::ConfigItem.new(key: :metadata_path,
|
80
80
|
short_option: '-m',
|
@@ -152,7 +152,7 @@ module Deliver
|
|
152
152
|
optional: true,
|
153
153
|
verify_block: proc do |value|
|
154
154
|
UI.user_error!("Could not find config file at path '#{File.expand_path(value)}'") unless File.exist?(value)
|
155
|
-
UI.user_error!
|
155
|
+
UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless FastlaneCore::Helper.json_file?(File.expand_path(value))
|
156
156
|
end),
|
157
157
|
FastlaneCore::ConfigItem.new(key: :submission_information,
|
158
158
|
short_option: "-b",
|
@@ -28,7 +28,7 @@ module Deliver
|
|
28
28
|
download_screenshots(deliver_path, options)
|
29
29
|
|
30
30
|
# Add a README to the screenshots folder
|
31
|
-
FileUtils.mkdir_p
|
31
|
+
FileUtils.mkdir_p(File.join(deliver_path, 'screenshots')) # just in case the fetching didn't work
|
32
32
|
File.write(File.join(deliver_path, 'screenshots', 'README.txt'), File.read("#{Deliver::ROOT}/lib/assets/ScreenshotsHelp"))
|
33
33
|
end
|
34
34
|
|