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

Minor API Improvements #187

Merged
merged 5 commits into from
Oct 26, 2014
Merged

Conversation

mrackwitz
Copy link
Member

Those API improvements will be helpful in an upcoming version of CocoaPods. 😉

#
def symbol_dst_subfolder_spec=(value)
numeric_value = Constants::COPY_FILES_BUILD_PHASE_DESTINATIONS[value]
raise "[Xcodeproj] Value checking error: got `#{value.inspect}` for" \
Copy link
Member

Choose a reason for hiding this comment

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

Should this be an Informative or some more specific exception class?

Copy link
Member Author

Choose a reason for hiding this comment

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

We use in Xcodeproj mainly just StandardError.

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, Informative class is from CocoaPods itself and Xcodeproj is a standalone gem.

@fabiopelosin
Copy link
Member

👍

@mrackwitz mrackwitz added this to the 0.20.0 milestone Sep 30, 2014
@segiddins
Copy link
Member

@mrackwitz want to address Fabio's comments so we can merge?

@mrackwitz
Copy link
Member Author

@segiddins: Thanks for the reminder. I will adress them soon.
@fabiopelosin: I will add another spec to test all concerns around that method separately.

@mrackwitz mrackwitz self-assigned this Oct 24, 2014
@mrackwitz mrackwitz force-pushed the minor_api_improvements branch from 18d8f94 to feb8db2 Compare October 25, 2014 15:31
kylef added a commit that referenced this pull request Oct 26, 2014
@kylef kylef merged commit 5e06ee0 into CocoaPods:master Oct 26, 2014
@mrackwitz mrackwitz deleted the minor_api_improvements branch October 26, 2014 21:14
mrackwitz added a commit that referenced this pull request Jan 12, 2015
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