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

Ensure test_type value is converted to a symbol from consumer #504

Merged
merged 2 commits into from
Jan 9, 2019

Conversation

dnkoutso
Copy link
Contributor

@dnkoutso dnkoutso commented Jan 8, 2019

In https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb#L289...

...we now use the consumer of the spec to read the value. Unfortunately the value that comes back from the consumer for JSON podspecs can be a string which cascades into other failures.

This fixes this and all subsequent callsites.

@dnkoutso dnkoutso added this to the 1.6 milestone Jan 8, 2019
@segiddins
Copy link
Member

Please add a test for this fix?

@dnkoutso dnkoutso force-pushed the fix_test_type_consumer_value branch from 2acfcd8 to de7974d Compare January 8, 2019 23:21
@dnkoutso
Copy link
Contributor Author

dnkoutso commented Jan 8, 2019

Test added verified it goes red without my change and green with it.

@dnkoutso dnkoutso force-pushed the fix_test_type_consumer_value branch from 2425474 to 717cb30 Compare January 8, 2019 23:44
@dnkoutso dnkoutso force-pushed the fix_test_type_consumer_value branch from 717cb30 to 5b6f4a7 Compare January 9, 2019 00:11
@dnkoutso dnkoutso merged commit cfed3c9 into CocoaPods:master Jan 9, 2019
@dnkoutso dnkoutso deleted the fix_test_type_consumer_value branch January 9, 2019 00:20
@dnkoutso
Copy link
Contributor Author

dnkoutso commented May 7, 2019

This did not make it to the 1.6.x release. Updating milestone.

@dnkoutso dnkoutso modified the milestones: 1.6, 1.7 May 7, 2019
dnkoutso added a commit that referenced this pull request May 7, 2019
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