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/supply/lib/supply/client.rb
CHANGED
@@ -20,7 +20,7 @@ module Supply
|
|
20
20
|
default_value: 'production',
|
21
21
|
verify_block: proc do |value|
|
22
22
|
available = valid_tracks
|
23
|
-
UI.user_error!
|
23
|
+
UI.user_error!("Invalid value '#{value}', must be #{available.join(', ')}") unless available.include?(value)
|
24
24
|
end),
|
25
25
|
FastlaneCore::ConfigItem.new(key: :rollout,
|
26
26
|
short_option: "-r",
|
@@ -29,7 +29,7 @@ module Supply
|
|
29
29
|
verify_block: proc do |value|
|
30
30
|
min = 0.0
|
31
31
|
max = 1.0
|
32
|
-
UI.user_error!
|
32
|
+
UI.user_error!("Invalid value '#{value}', must be greater than #{min} and less than #{max}") unless value.to_f > min && value.to_f <= max
|
33
33
|
end),
|
34
34
|
FastlaneCore::ConfigItem.new(key: :metadata_path,
|
35
35
|
env_name: "SUPPLY_METADATA_PATH",
|
@@ -46,7 +46,7 @@ module Supply
|
|
46
46
|
code_gen_sensitive: true,
|
47
47
|
default_value: Dir["*.p12"].first || CredentialsManager::AppfileConfig.try_fetch_value(:keyfile),
|
48
48
|
verify_block: proc do |value|
|
49
|
-
UI.user_error!
|
49
|
+
UI.user_error!("Could not find p12 file at path '#{File.expand_path(value)}'") unless File.exist?(File.expand_path(value))
|
50
50
|
end),
|
51
51
|
FastlaneCore::ConfigItem.new(key: :issuer,
|
52
52
|
env_name: "SUPPLY_ISSUER",
|
@@ -68,8 +68,8 @@ module Supply
|
|
68
68
|
code_gen_sensitive: true,
|
69
69
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_file),
|
70
70
|
verify_block: proc do |value|
|
71
|
-
UI.user_error!
|
72
|
-
UI.user_error!
|
71
|
+
UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless FastlaneCore::Helper.json_file?(File.expand_path(value))
|
72
|
+
UI.user_error!("Could not find service account json file at path '#{File.expand_path(value)}'") unless File.exist?(File.expand_path(value))
|
73
73
|
end),
|
74
74
|
FastlaneCore::ConfigItem.new(key: :json_key_data,
|
75
75
|
env_name: "SUPPLY_JSON_KEY_DATA",
|
@@ -83,7 +83,7 @@ module Supply
|
|
83
83
|
begin
|
84
84
|
JSON.parse(value)
|
85
85
|
rescue JSON::ParserError
|
86
|
-
UI.user_error!
|
86
|
+
UI.user_error!("Could not parse service account json JSON::ParseError")
|
87
87
|
end
|
88
88
|
end),
|
89
89
|
FastlaneCore::ConfigItem.new(key: :apk,
|
@@ -95,8 +95,8 @@ module Supply
|
|
95
95
|
default_value: Dir["*.apk"].last || Dir[File.join("app", "build", "outputs", "apk", "app-Release.apk")].last,
|
96
96
|
optional: true,
|
97
97
|
verify_block: proc do |value|
|
98
|
-
UI.user_error!
|
99
|
-
UI.user_error!
|
98
|
+
UI.user_error!("Could not find apk file at path '#{value}'") unless File.exist?(value)
|
99
|
+
UI.user_error!("apk file is not an apk") unless value.end_with?('.apk')
|
100
100
|
end),
|
101
101
|
FastlaneCore::ConfigItem.new(key: :apk_paths,
|
102
102
|
env_name: "SUPPLY_APK_PATHS",
|
@@ -108,8 +108,8 @@ module Supply
|
|
108
108
|
verify_block: proc do |value|
|
109
109
|
UI.user_error!("Could not evaluate array from '#{value}'") unless value.kind_of?(Array)
|
110
110
|
value.each do |path|
|
111
|
-
UI.user_error!
|
112
|
-
UI.user_error!
|
111
|
+
UI.user_error!("Could not find apk file at path '#{path}'") unless File.exist?(path)
|
112
|
+
UI.user_error!("file at path '#{path}' is not an apk") unless path.end_with?('.apk')
|
113
113
|
end
|
114
114
|
end),
|
115
115
|
FastlaneCore::ConfigItem.new(key: :skip_upload_apk,
|
@@ -142,7 +142,7 @@ module Supply
|
|
142
142
|
description: "The track to promote to: #{valid_tracks.join(', ')}",
|
143
143
|
verify_block: proc do |value|
|
144
144
|
available = valid_tracks
|
145
|
-
UI.user_error!
|
145
|
+
UI.user_error!("Invalid value '#{value}', must be #{available.join(', ')}") unless available.include?(value)
|
146
146
|
end),
|
147
147
|
FastlaneCore::ConfigItem.new(key: :validate_only,
|
148
148
|
env_name: "SUPPLY_VALIDATE_ONLY",
|
@@ -157,7 +157,7 @@ module Supply
|
|
157
157
|
conflicting_options: [:mapping_paths],
|
158
158
|
optional: true,
|
159
159
|
verify_block: proc do |value|
|
160
|
-
UI.user_error!
|
160
|
+
UI.user_error!("Could not find mapping file at path '#{value}'") unless File.exist?(value)
|
161
161
|
end),
|
162
162
|
FastlaneCore::ConfigItem.new(key: :mapping_paths,
|
163
163
|
env_name: "SUPPLY_MAPPING_PATHS",
|
@@ -169,7 +169,7 @@ module Supply
|
|
169
169
|
verify_block: proc do |value|
|
170
170
|
UI.user_error!("Could not evaluate array from '#{value}'") unless value.kind_of?(Array)
|
171
171
|
value.each do |path|
|
172
|
-
UI.user_error!
|
172
|
+
UI.user_error!("Could not find mapping file at path '#{path}'") unless File.exist?(path)
|
173
173
|
end
|
174
174
|
end),
|
175
175
|
FastlaneCore::ConfigItem.new(key: :root_url,
|
@@ -177,7 +177,7 @@ module Supply
|
|
177
177
|
description: "Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/",
|
178
178
|
optional: true,
|
179
179
|
verify_block: proc do |value|
|
180
|
-
UI.user_error!
|
180
|
+
UI.user_error!("Could not parse URL '#{value}'") unless value =~ URI.regexp
|
181
181
|
end),
|
182
182
|
FastlaneCore::ConfigItem.new(key: :check_superseded_tracks,
|
183
183
|
env_name: "SUPPLY_CHECK_SUPERSEDED_TRACKS",
|
@@ -8,7 +8,7 @@ module Supply
|
|
8
8
|
UI.user_error!("No local metadata found, make sure to run `fastlane supply init` to setup supply") unless metadata_path || Supply.config[:apk] || Supply.config[:apk_paths]
|
9
9
|
|
10
10
|
if metadata_path
|
11
|
-
UI.user_error!("Could not find folder #{metadata_path}") unless File.directory?
|
11
|
+
UI.user_error!("Could not find folder #{metadata_path}") unless File.directory?(metadata_path)
|
12
12
|
|
13
13
|
all_languages.each do |language|
|
14
14
|
next if language.start_with?('.') # e.g. . or .. or hidden folders
|
@@ -180,7 +180,7 @@ module Supply
|
|
180
180
|
track_version_codes = client.track_version_codes(track).sort
|
181
181
|
UI.verbose("Found '#{track_version_codes}' on track '#{track}'")
|
182
182
|
|
183
|
-
next if track_index.eql?
|
183
|
+
next if track_index.eql?(config_track_index)
|
184
184
|
next if track_version_codes.empty?
|
185
185
|
|
186
186
|
if max_tracks_version_code.nil?
|
@@ -203,7 +203,7 @@ module Supply
|
|
203
203
|
# returns only language directories from metadata_path
|
204
204
|
def all_languages
|
205
205
|
Dir.entries(metadata_path)
|
206
|
-
.select { |f| File.directory?
|
206
|
+
.select { |f| File.directory?(File.join(metadata_path, f)) }
|
207
207
|
.reject { |f| f.start_with?('.') }
|
208
208
|
.sort { |x, y| x <=> y }
|
209
209
|
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.
|
4
|
+
version: 2.75.0.beta.20180109010003
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2018-01-
|
18
|
+
date: 2018-01-09 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -753,6 +753,20 @@ dependencies:
|
|
753
753
|
- - '='
|
754
754
|
- !ruby/object:Gem::Version
|
755
755
|
version: 0.49.1
|
756
|
+
- !ruby/object:Gem::Dependency
|
757
|
+
name: rubocop-require_tools
|
758
|
+
requirement: !ruby/object:Gem::Requirement
|
759
|
+
requirements:
|
760
|
+
- - ">="
|
761
|
+
- !ruby/object:Gem::Version
|
762
|
+
version: 0.1.2
|
763
|
+
type: :development
|
764
|
+
prerelease: false
|
765
|
+
version_requirements: !ruby/object:Gem::Requirement
|
766
|
+
requirements:
|
767
|
+
- - ">="
|
768
|
+
- !ruby/object:Gem::Version
|
769
|
+
version: 0.1.2
|
756
770
|
- !ruby/object:Gem::Dependency
|
757
771
|
name: rb-readline
|
758
772
|
requirement: !ruby/object:Gem::Requirement
|
@@ -857,8 +871,6 @@ files:
|
|
857
871
|
- deliver/lib/deliver/upload_price_tier.rb
|
858
872
|
- deliver/lib/deliver/upload_screenshots.rb
|
859
873
|
- fastlane/README.md
|
860
|
-
- fastlane/lib/.DS_Store
|
861
|
-
- fastlane/lib/assets/.DS_Store
|
862
874
|
- fastlane/lib/assets/ActionDetails.md.erb
|
863
875
|
- fastlane/lib/assets/Actions.md.erb
|
864
876
|
- fastlane/lib/assets/AppfileTemplate
|
@@ -878,10 +890,8 @@ files:
|
|
878
890
|
- fastlane/lib/assets/s3_plist_template.erb
|
879
891
|
- fastlane/lib/assets/s3_version_template.erb
|
880
892
|
- fastlane/lib/fastlane.rb
|
881
|
-
- fastlane/lib/fastlane/.DS_Store
|
882
893
|
- fastlane/lib/fastlane/action.rb
|
883
894
|
- fastlane/lib/fastlane/action_collector.rb
|
884
|
-
- fastlane/lib/fastlane/actions/.DS_Store
|
885
895
|
- fastlane/lib/fastlane/actions/README.md
|
886
896
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
887
897
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -934,7 +944,6 @@ files:
|
|
934
944
|
- fastlane/lib/fastlane/actions/deliver.rb
|
935
945
|
- fastlane/lib/fastlane/actions/deploygate.rb
|
936
946
|
- fastlane/lib/fastlane/actions/device_grid/README.md
|
937
|
-
- fastlane/lib/fastlane/actions/docs/.DS_Store
|
938
947
|
- fastlane/lib/fastlane/actions/docs/cert.md
|
939
948
|
- fastlane/lib/fastlane/actions/docs/deliver.md
|
940
949
|
- fastlane/lib/fastlane/actions/docs/frameit.md
|
@@ -1174,7 +1183,6 @@ files:
|
|
1174
1183
|
- fastlane/lib/fastlane/server/json_return_value_processor.rb
|
1175
1184
|
- fastlane/lib/fastlane/server/socket_server.rb
|
1176
1185
|
- fastlane/lib/fastlane/server/socket_server_action_command_executor.rb
|
1177
|
-
- fastlane/lib/fastlane/setup/.DS_Store
|
1178
1186
|
- fastlane/lib/fastlane/setup/crashlytics_beta.rb
|
1179
1187
|
- fastlane/lib/fastlane/setup/crashlytics_beta_command_line_handler.rb
|
1180
1188
|
- fastlane/lib/fastlane/setup/crashlytics_beta_info.rb
|
@@ -1224,10 +1232,8 @@ files:
|
|
1224
1232
|
- fastlane/swift/SocketResponse.swift
|
1225
1233
|
- fastlane/swift/main.swift
|
1226
1234
|
- fastlane_core/README.md
|
1227
|
-
- fastlane_core/lib/.DS_Store
|
1228
1235
|
- fastlane_core/lib/assets/XMLTemplate.xml.erb
|
1229
1236
|
- fastlane_core/lib/fastlane_core.rb
|
1230
|
-
- fastlane_core/lib/fastlane_core/.DS_Store
|
1231
1237
|
- fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
|
1232
1238
|
- fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
|
1233
1239
|
- fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
|
@@ -1593,24 +1599,24 @@ metadata:
|
|
1593
1599
|
post_install_message:
|
1594
1600
|
rdoc_options: []
|
1595
1601
|
require_paths:
|
1596
|
-
-
|
1597
|
-
-
|
1598
|
-
- deliver/lib
|
1599
|
-
- fastlane/lib
|
1600
|
-
- fastlane_core/lib
|
1601
|
-
- frameit/lib
|
1602
|
-
- gym/lib
|
1602
|
+
- supply/lib
|
1603
|
+
- screengrab/lib
|
1603
1604
|
- match/lib
|
1604
|
-
- pem/lib
|
1605
|
-
- pilot/lib
|
1606
1605
|
- precheck/lib
|
1606
|
+
- sigh/lib
|
1607
1607
|
- produce/lib
|
1608
1608
|
- scan/lib
|
1609
|
-
-
|
1610
|
-
- sigh/lib
|
1609
|
+
- gym/lib
|
1611
1610
|
- snapshot/lib
|
1611
|
+
- frameit/lib
|
1612
|
+
- fastlane/lib
|
1613
|
+
- cert/lib
|
1614
|
+
- pilot/lib
|
1612
1615
|
- spaceship/lib
|
1613
|
-
-
|
1616
|
+
- credentials_manager/lib
|
1617
|
+
- deliver/lib
|
1618
|
+
- fastlane_core/lib
|
1619
|
+
- pem/lib
|
1614
1620
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1615
1621
|
requirements:
|
1616
1622
|
- - ">="
|
@@ -1618,12 +1624,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1618
1624
|
version: 2.0.0
|
1619
1625
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1620
1626
|
requirements:
|
1621
|
-
- - "
|
1627
|
+
- - ">"
|
1622
1628
|
- !ruby/object:Gem::Version
|
1623
|
-
version:
|
1629
|
+
version: 1.3.1
|
1624
1630
|
requirements: []
|
1625
1631
|
rubyforge_project:
|
1626
|
-
rubygems_version: 2.
|
1632
|
+
rubygems_version: 2.4.5.1
|
1627
1633
|
signing_key:
|
1628
1634
|
specification_version: 4
|
1629
1635
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
data/fastlane/lib/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/fastlane_core/lib/.DS_Store
DELETED
Binary file
|
Binary file
|