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
3818f9b0
Commit
3818f9b0
authored
Feb 12, 2014
by
vtourraine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uniformize spec template quotes
parent
fde87173
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
spec.rb
lib/cocoapods/command/spec.rb
+12
-12
No files found.
lib/cocoapods/command/spec.rb
View file @
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 ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
@@ -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 ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
#
...
@@ -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 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
@@ -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 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
...
...
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