You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def module_name
attributes_hash['module_name'] ||
c99ext_identifier(attributes_hash['header_dir']) ||
c99ext_identifier(attributes_hash['name'])
end
In the case of a subspec the module_name doesn't seem to be correct since it returns the name of the subspec. For example a specification of a pod PodName/SubspecName returns SubspecName as module_name whether I would expect it to be PodName.
Should this be rewritten as
def module_name
attributes_hash['module_name'] ||
c99ext_identifier(attributes_hash['header_dir']) ||
c99ext_identifier(Pod::Specification::root_name(name))
end
?
The text was updated successfully, but these errors were encountered:
Can someone confirm that the implementation of
Pod::Specification#module_name
is the expected one for subspecs?The current implementation is the following:
In the case of a subspec the module_name doesn't seem to be correct since it returns the name of the subspec. For example a specification of a pod PodName/SubspecName returns SubspecName as module_name whether I would expect it to be PodName.
Should this be rewritten as
?
The text was updated successfully, but these errors were encountered: