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

FileSystemDataProvider::pods - ignore any entry that begins with a period #97

Merged
merged 4 commits into from
Apr 7, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
[Paul Young](https://github.com/paulyoung)
[#87](https://github.com/CocoaPods/Core/pull/87)

* Ignore any pod directory that begins with a period.
* Ignore any pod that begins with a `.`
[Dustin Clark](https://github.com/clarkda)
[#97](https://github.com/CocoaPods/Core/pull/97)
[#98](https://github.com/CocoaPods/Core/issues/98)

##### Bug Fixes

Expand Down
4 changes: 4 additions & 0 deletions lib/cocoapods-core/specification/linter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ def _validate_name(n)
if spec.root.name =~ /\s/
error 'The name of a spec should not contain whitespace.'
end

if spec.root.name[0, 1] == '.'
error 'The name of a spec should not begin with a period.'
end
end
end

Expand Down