-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor typographical fixes #18
Conversation
# spec.source = { :git => "git://github.com/AFNetworking/AFNetworking.git", | ||
# :tag => "v#{spec.version}" } | ||
# spec.source = { :git => 'git://github.com/AFNetworking/AFNetworking.git', | ||
# :tag => 'v#{spec.version}' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The interpolation doesn't work with the single quotes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should v#{spec.version}
be in double quotes then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, otherwise people less familiar with Ruby might get confused by this example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
👍 Thanks! |
Minor typographical fixes
Minor typographical fixes
…tation Closes #18 The documentation for this attribute seems pretty substantial, this adds the last item mentioned on that issue.
On the CocoaPods website's main specification page, single quotes are used for the source URL and the tag. This pull request aims to make that consistent in the
source
documentation.