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

Do not force include master spec repo if plugin sources are provided #7033

Merged
merged 1 commit into from
Sep 14, 2017
Merged

Do not force include master spec repo if plugin sources are provided #7033

merged 1 commit into from
Sep 14, 2017

Conversation

amorde
Copy link
Member

@amorde amorde commented Sep 14, 2017

Closes #5306

Noticed this issue still open so thought I'd take a stab at it. I am interested if this is still a desired change, as it could possibly break some projects that were relying on master being included automatically

@@ -155,6 +155,7 @@ def resolve_dependencies
validate_build_configurations
clean_sandbox
end
analyzer
Copy link
Member Author

Choose a reason for hiding this comment

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

Returning this here solely to make it easier to test. I'm open to other ideas on a better way to get access to the analyzer


it 'includes sources from source provider plugins' do
plugin_name = 'test-plugin'
Pod::HooksManager.register(plugin_name, :source_provider) do |context, options|
Copy link
Member Author

Choose a reason for hiding this comment

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

This hook was lingering beyond the scope of this test. Only myself to blame since I'm the one who originally wrote this code, hah

@dnkoutso
Copy link
Contributor

I think this is good with rubocop -a to fix the build :)

@amorde
Copy link
Member Author

amorde commented Sep 14, 2017

I think it's the changelog entry rather than Rubocop, will double check

@dnkoutso dnkoutso merged commit 0fcf594 into CocoaPods:master Sep 14, 2017
@dnkoutso dnkoutso added this to the 1.4.0 milestone Sep 15, 2017
@amorde amorde deleted the cocoapods-5306 branch September 15, 2017 17:46
@CodeLife2012
Copy link

Great

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.

3 participants