Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
234bf1e4
Commit
234bf1e4
authored
Feb 12, 2014
by
Eloy Durán
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1819 from vtourraine/master
Uniformize spec template quotes
parents
fde87173
e28d9638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
spec.rb
lib/cocoapods/command/spec.rb
+17
-17
No files found.
lib/cocoapods/command/spec.rb
View file @
234bf1e4
...
@@ -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 ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
@@ -500,9 +500,9 @@ Pod::Spec.new do |s|
...
@@ -500,9 +500,9 @@ Pod::Spec.new do |s|
#
#
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 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
@@ -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 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment