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

Added module_name attribute. #209

Merged
merged 7 commits into from
Dec 7, 2014
Merged

Added module_name attribute. #209

merged 7 commits into from
Dec 7, 2014

Conversation

neonichu
Copy link
Member

@neonichu neonichu commented Dec 6, 2014

Closes #205

@@ -4,6 +4,10 @@

##### Enhancements

* Added `module_name` attribute for use with frameworks.
[Boris Bügling](https://github.com/neonichu)
[Core#204](https://github.com/CocoaPods/Core/issues/205)
Copy link
Member

Choose a reason for hiding this comment

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

Should just be [#205]


it 'should mask invalid chars' do
@spec.send(:c99ext_identifier, 'iOS-App BânánàLïb').should == 'iOS_App_B_n_n_L_b'
end
Copy link
Member

Choose a reason for hiding this comment

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

What about normalising instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

good idea!

end

it 'should mask invalid chars' do
@spec.send(:c99ext_identifier, 'iOS-App BânánàLïb').should == 'iOS_App_B_n_n_L_b'
Copy link
Contributor

Choose a reason for hiding this comment

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

Should characters with accents instead be mapped to those without accents? Eloy's name is not built up of invalid characters.

á should be shown as a instead of _?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, was changed in f65331b

mrackwitz added a commit that referenced this pull request Dec 7, 2014
@mrackwitz mrackwitz merged commit 7caf929 into master Dec 7, 2014
@mrackwitz mrackwitz deleted the module-name-attribute branch December 7, 2014 17:49
Ashton-W pushed a commit to Ashton-W/Core that referenced this pull request Nov 2, 2015
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling ed492e9 on module-name-attribute into * on master*.

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.

[Frameworks] Allow to customize the module name
7 participants