fastlane/lib/fastlane/setup/crashlytics_beta.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/setup/crashlytics_beta.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -6,42 +6,42 @@ end def run setup = Setup.new - @ui.message 'This command will generate a fastlane configuration for distributing your app with Beta by Crashlytics' - @ui.message 'so that you can get your testers new builds with a single command!' + @ui.message('This command will generate a fastlane configuration for distributing your app with Beta by Crashlytics') + @ui.message('so that you can get your testers new builds with a single command!') - @ui.message '' + @ui.message('') if setup.is_android? UI.user_error!('Sorry, Beta by Crashlytics configuration is currently only available for iOS projects!') elsif !setup.is_ios? UI.user_error!('Please run Beta by Crashlytics configuration from your iOS project folder.') end - @ui.message "\nAttempting to detect your project settings in this directory...".cyan + @ui.message("\nAttempting to detect your project settings in this directory...".cyan) info_collector = CrashlyticsBetaInfoCollector.new(CrashlyticsProjectParser.new, CrashlyticsBetaUserEmailFetcher.new, @ui) info_collector.collect_info_into(@beta_info) if FastlaneCore::FastlaneFolder.setup? - @ui.message "" + @ui.message("") @ui.header('Copy and paste the following lane into your Fastfile to use Crashlytics Beta!') - @ui.message "" - puts lane_template.cyan - @ui.message "" + @ui.message("") + puts(lane_template.cyan) + @ui.message("") else fastfile = fastfile_template FileUtils.mkdir_p('fastlane') File.write('fastlane/Fastfile', fastfile) @ui.success('A Fastfile has been generated for you at ./fastlane/Fastfile 🚀') end @ui.header('Next Steps') @ui.success('Run the following command to build and upload to Beta by Crashlytics. 🎯') @ui.message("\n fastlane beta") - @ui.message "" + @ui.message("") end def lane_template discovered_crashlytics_path = Fastlane::Helper::CrashlyticsHelper.discover_default_crashlytics_path