Skip to content
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

Add ability to specify an explicit source for a given dependency #278

Merged
merged 1 commit into from
Nov 13, 2015

Conversation

efirestone
Copy link
Contributor

This adds the ability to add a :source flag to pod dependencies in a Podfile. This behavior mirrors in Gemfiles, allowing a dependency to be specified as such:

pod 'JSONKit', '1.4', :source => 'http://github.com/MyOrg/Specs.git'

This is a prerequisite for CocoaPods/CocoaPods#4486

@@ -19,6 +19,11 @@ class Dependency
#
attr_accessor :external_source

# @return [String] The souce URL of the podspec repo to use to resolve
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small typo, souce should be source.

@efirestone efirestone force-pushed the firestone/source-flag branch from aae0d52 to e11f05c Compare November 12, 2015 18:15
@efirestone
Copy link
Contributor Author

Updated. Thanks guys.

@segiddins
Copy link
Member

👍

neonichu added a commit that referenced this pull request Nov 13, 2015
Add ability to specify an explicit source for a given dependency
@neonichu neonichu merged commit 6c25444 into CocoaPods:master Nov 13, 2015
@neonichu
Copy link
Member

Thanks for the contribution, @efirestone 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants