Fix various RuboCop offenses

parent 03744661
......@@ -4,7 +4,7 @@ module Pod
class Repl < IPC
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.description = <<-DESC
......@@ -36,7 +36,7 @@ module Pod
end
def execute_repl_command(repl_command)
if (repl_command != "\n")
unless repl_command == '\n'
repl_commands = repl_command.split
subcommand = repl_commands.shift.capitalize
arguments = repl_commands
......
......@@ -51,9 +51,9 @@ module Pod
extend Executable
executable :git
TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git'
TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template'
CREATE_NEW_POD_INFO_URL = 'http://guides.cocoapods.org/making/making-a-cocoapod'
TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git'.freeze
TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template'.freeze
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
# 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