dsl.rb includes deprecated documentation attribute; causes incorrect documentation #20

Closed
MaxGabriel opened this Issue Jun 22, 2013 · 4 comments

Comments

Projects
None yet
4 participants
Contributor

MaxGabriel commented Jun 22, 2013

lib/cocoapods-core/specification/dsl.rb lists the documentation attribute as an available option, but this attribute was deprecated in 0.20.0. Because dsl.rb is used to generate Cocoapods' documentation, this causes the Specification documentation to incorrectly list the documentation attribute as still being available.

Owner

alloy commented Jun 22, 2013

@orta Are you using these options with CocoaDocs?

Owner

orta commented Jun 22, 2013

no, they're not being used in CocoaDocs, I didn't want the support nightmare of being able to let people run arbitrary terminal commands on my server.

Owner

fabiopelosin commented Aug 1, 2013

@orta what is your plan, should we remove the attribute?

Owner

orta commented Aug 1, 2013

Yeah, I think we should kill it, I've only ever seen one cocoapod that wants to show something different on cocoadocs than it does using the public / private stuff.

@Ashton-W Ashton-W pushed a commit to Ashton-W/Core that referenced this issue Nov 2, 2015

@fabiopelosin fabiopelosin [Specification::DSL] Clarify that the documentation attribute is not …
…used anymore

See #20
bd97e18

@Ashton-W Ashton-W pushed a commit to Ashton-W/Core that referenced this issue Nov 2, 2015

@fabiopelosin fabiopelosin [Specification::DSL] Deprecate documentation attribute
Closes #20
539d5cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment