fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -167,11 +167,11 @@ # Warning: This will exec out # This is necessary since the user might be prompted for their password def install_dependencies! # Using puts instead of `UI` to have the same style as the `echo` - puts "Installing plugin dependencies..." + puts("Installing plugin dependencies...") ensure_plugins_attached! with_clean_bundler_env do cmd = "bundle install" cmd << " --quiet" unless FastlaneCore::Globals.verbose? cmd << " && echo 'Successfully installed plugins'" @@ -181,11 +181,11 @@ end # Warning: This will exec out # This is necessary since the user might be prompted for their password def update_dependencies! - puts "Updating plugin dependencies..." + puts("Updating plugin dependencies...") ensure_plugins_attached! plugins = available_plugins if plugins.empty? UI.user_error!("No plugins are installed") end @@ -231,12 +231,12 @@ UI.important("This change is necessary for fastlane plugins to work") unless UI.confirm("Should fastlane modify the Gemfile at path '#{path_to_gemfile}' for you?") UI.important("Please add the following code to '#{path_to_gemfile}':") - puts "" - puts self.class.code_to_attach.magenta # we use `puts` instead of `UI` to make it easier to copy and paste + puts("") + puts(self.class.code_to_attach.magenta) # we use `puts` instead of `UI` to make it easier to copy and paste UI.user_error!("Please update '#{path_to_gemfile} and run fastlane again") end attach_plugins_to_gemfile!(path_to_gemfile) UI.success("Successfully modified '#{path_to_gemfile}'") @@ -321,15 +321,15 @@ [current[0], current[1][:version_number], current[1][:actions].join("\n")] end end require 'terminal-table' - puts Terminal::Table.new({ + puts(Terminal::Table.new({ rows: FastlaneCore::PrintTable.transform_output(rows), title: "Used plugins".green, headings: ["Plugin", "Version", "Action"] - }) - puts "" + })) + puts("") end ##################################################### # @!group Reference between plugins to actions #####################################################