Fix various RuboCop offenses

parent 03744661
...@@ -4,7 +4,7 @@ module Pod ...@@ -4,7 +4,7 @@ module Pod
class Repl < IPC class Repl < IPC
include ProjectDirectory include ProjectDirectory
END_OF_OUTPUT_SIGNAL = "\n\r" END_OF_OUTPUT_SIGNAL = '\n\r'.freeze
self.summary = 'The repl listens to commands on standard input' self.summary = 'The repl listens to commands on standard input'
self.description = <<-DESC self.description = <<-DESC
...@@ -36,7 +36,7 @@ module Pod ...@@ -36,7 +36,7 @@ module Pod
end end
def execute_repl_command(repl_command) def execute_repl_command(repl_command)
if (repl_command != "\n") unless repl_command == '\n'
repl_commands = repl_command.split repl_commands = repl_command.split
subcommand = repl_commands.shift.capitalize subcommand = repl_commands.shift.capitalize
arguments = repl_commands arguments = repl_commands
......
...@@ -51,9 +51,9 @@ module Pod ...@@ -51,9 +51,9 @@ module Pod
extend Executable extend Executable
executable :git executable :git
TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git' TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git'.freeze
TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template' TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template'.freeze
CREATE_NEW_POD_INFO_URL = 'http://guides.cocoapods.org/making/making-a-cocoapod' CREATE_NEW_POD_INFO_URL = 'http://guides.cocoapods.org/making/making-a-cocoapod'.freeze
# Clones the template from the remote in the working directory using # Clones the template from the remote in the working directory using
# the name of the Pod. # the name of the Pod.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment