Commit e28d9638 authored by vtourraine's avatar vtourraine

Uniformize spec template double quotes

parent 3818f9b0
...@@ -461,9 +461,9 @@ Pod::Spec.new do |s| ...@@ -461,9 +461,9 @@ Pod::Spec.new do |s|
# summary should be tweet-length, and the description more in depth. # summary should be tweet-length, and the description more in depth.
# #
s.name = '#{data[:name]}' s.name = "#{data[:name]}"
s.version = '#{data[:version]}' s.version = "#{data[:version]}"
s.summary = '#{data[:summary]}' s.summary = "#{data[:summary]}"
s.description = <<-DESC s.description = <<-DESC
A longer description of #{data[:name]} in Markdown format. A longer description of #{data[:name]} in Markdown format.
...@@ -474,8 +474,8 @@ Pod::Spec.new do |s| ...@@ -474,8 +474,8 @@ Pod::Spec.new do |s|
* Finally, don't worry about the indent, CocoaPods strips it! * Finally, don't worry about the indent, CocoaPods strips it!
DESC DESC
s.homepage = '#{data[:homepage]}' s.homepage = "#{data[:homepage]}"
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -485,8 +485,8 @@ Pod::Spec.new do |s| ...@@ -485,8 +485,8 @@ Pod::Spec.new do |s|
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
# #
s.license = 'MIT (example)' s.license = "MIT (example)"
# s.license = { :type => 'MIT', :file => 'FILE_LICENSE' } # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -499,10 +499,10 @@ Pod::Spec.new do |s| ...@@ -499,10 +499,10 @@ Pod::Spec.new do |s|
# profile URL. # profile URL.
# #
s.author = { '#{data[:author_name]}' => '#{data[:author_email]}' } s.author = { "#{data[:author_name]}" => "#{data[:author_email]}" }
# Or just: s.author = '#{data[:author_name]}' # Or just: s.author = "#{data[:author_name]}"
# s.authors = { '#{data[:author_name]}' => '#{data[:author_email]}' } # s.authors = { "#{data[:author_name]}" => "#{data[:author_email]}" }
# s.social_media_url = 'http://twitter.com/#{data[:author_name]}' # s.social_media_url = "http://twitter.com/#{data[:author_name]}"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
# #
...@@ -511,11 +511,11 @@ Pod::Spec.new do |s| ...@@ -511,11 +511,11 @@ Pod::Spec.new do |s|
# #
# s.platform = :ios # s.platform = :ios
# s.platform = :ios, '5.0' # s.platform = :ios, "5.0"
# When using multiple platforms # When using multiple platforms
# s.ios.deployment_target = '5.0' # s.ios.deployment_target = "5.0"
# s.osx.deployment_target = '10.7' # s.osx.deployment_target = "10.7"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -524,7 +524,7 @@ Pod::Spec.new do |s| ...@@ -524,7 +524,7 @@ Pod::Spec.new do |s|
# Supports git, hg, bzr, svn and HTTP. # Supports git, hg, bzr, svn and HTTP.
# #
s.source = { :git => '#{data[:source_url]}', #{data[:ref_type]} => '#{data[:ref]}' } s.source = { :git => "#{data[:source_url]}", #{data[:ref_type]} => "#{data[:ref]}" }
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -535,10 +535,10 @@ Pod::Spec.new do |s| ...@@ -535,10 +535,10 @@ Pod::Spec.new do |s|
# Not including the public_header_files will make all headers public. # Not including the public_header_files will make all headers public.
# #
s.source_files = 'Classes', 'Classes/**/*.{h,m}' s.source_files = "Classes", "Classes/**/*.{h,m}"
s.exclude_files = 'Classes/Exclude' s.exclude_files = "Classes/Exclude"
# s.public_header_files = 'Classes/**/*.h' # s.public_header_files = "Classes/**/*.h"
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -549,10 +549,10 @@ Pod::Spec.new do |s| ...@@ -549,10 +549,10 @@ Pod::Spec.new do |s|
# non-essential files like tests, examples and documentation. # non-essential files like tests, examples and documentation.
# #
# s.resource = 'icon.png' # s.resource = "icon.png"
# s.resources = 'Resources/*.png' # s.resources = "Resources/*.png"
# s.preserve_paths = 'FilesToSave', 'MoreFilesToSave' # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -561,11 +561,11 @@ Pod::Spec.new do |s| ...@@ -561,11 +561,11 @@ Pod::Spec.new do |s|
# the lib prefix of their name. # the lib prefix of their name.
# #
# s.framework = 'SomeFramework' # s.framework = "SomeFramework"
# s.frameworks = 'SomeFramework', 'AnotherFramework' # s.frameworks = "SomeFramework", "AnotherFramework"
# s.library = 'iconv' # s.library = "iconv"
# s.libraries = 'iconv', 'xml2' # s.libraries = "iconv", "xml2"
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...@@ -576,8 +576,8 @@ Pod::Spec.new do |s| ...@@ -576,8 +576,8 @@ Pod::Spec.new do |s|
# s.requires_arc = true # s.requires_arc = true
# s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# s.dependency 'JSONKit', '~> 1.4' # s.dependency "JSONKit", "~> 1.4"
end end
SPEC SPEC
......
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