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

Gist https validation error #36

Closed
keith opened this issue Oct 25, 2013 · 6 comments · Fixed by #38
Closed

Gist https validation error #36

keith opened this issue Oct 25, 2013 · 6 comments · Fixed by #38

Comments

@keith
Copy link
Member

keith commented Oct 25, 2013

Seems like there is an error when linting a spec that points to gist.github.com. Even when the spec points to the https link the validation fails. Lint output https://travis-ci.org/CocoaPods/Specs/builds/13016103#L169 for spec https://github.com/timshadel/Specs/blob/d9d26c59d80cf63ac121419371f32380b1c6a8ce/UIImageEffects/0.0.1/UIImageEffects.podspec

CocoaPods/Specs#3509
CocoaPods/Specs#4946

@keith
Copy link
Member Author

keith commented Oct 25, 2013

Error is right here

warning "Github repositories should use `https` link." if github && !git.start_with?('https://github.com') && !git.start_with?('git://gist.github.com')

Instead of:

if github && !git.start_with?('https://github.com') && !git.start_with?('git://gist.github.com')

It should read either:

if github && !git.start_with?('https://github.com') && !git.start_with?('https://gist.github.com')

Or simply just:

if github && !git.start_with?('https://')

@orta
Copy link
Member

orta commented Oct 28, 2013

there are some podspecs that exist that are gists, I wonder why they aren't failing

@keith
Copy link
Member Author

keith commented Oct 28, 2013

I added them to the Whitelist this first time this came up.

@keith
Copy link
Member Author

keith commented Oct 28, 2013

@joshkalpin
Copy link
Member

@Keithbsmiley I'll have a fix for it tomorrow.

@fabiopelosin
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants