Commit fd8d01fc authored by Kyle Fuller's avatar Kyle Fuller

[init] Generate ruby code using single '

Since this would produce code which isn't compliant to our own
styleguide/rubocop
parent 8feb2584
...@@ -57,7 +57,7 @@ module Pod ...@@ -57,7 +57,7 @@ module Pod
podfile << "xcodeproj '#{@project_path}'\n\n" if @project_path podfile << "xcodeproj '#{@project_path}'\n\n" if @project_path
podfile << <<-PLATFORM.strip_heredoc podfile << <<-PLATFORM.strip_heredoc
# Uncomment this line to define a global platform for your project # Uncomment this line to define a global platform for your project
# platform :ios, "6.0" # platform :ios, '6.0'
source '#{Command::Setup.read_only_url}' source '#{Command::Setup.read_only_url}'
PLATFORM PLATFORM
...@@ -74,7 +74,7 @@ module Pod ...@@ -74,7 +74,7 @@ module Pod
# @return [String] the text for the target module # @return [String] the text for the target module
# #
def target_module(target) def target_module(target)
target_module = "\ntarget \"#{target.name}\" do\n" target_module = "\ntarget '#{target.name}' do\n"
if target.name =~ /tests?/i if target.name =~ /tests?/i
target_module << template_contents(config.default_test_podfile_path) target_module << template_contents(config.default_test_podfile_path)
......
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