Permalink
Browse files

Merge pull request #55 from Keithbsmiley/master

Don't validate vendored_libraries path
  • Loading branch information...
2 parents 8df5d39 + f58338b commit 4bfdb88d52f69826b124b5de183bc3630e34aa31 @Kapin Kapin committed Dec 20, 2013
Showing with 0 additions and 25 deletions.
  1. +0 −8 lib/cocoapods-core/specification/linter.rb
  2. +0 −17 spec/specification/linter_spec.rb
@@ -284,14 +284,6 @@ def _validate_libraries(libs)
end
end
- # Performs validations related to the `vendored_libraries` attribute.
- #
- def _validate_vendored_libraries(libs)
- if libraries_invalid?(libs)
- error "A vendored library should only be specified by its name"
- end
- end
-
# Performs validations related to the `license` attribute.
#
def _validate_license(l)
@@ -310,23 +310,6 @@ def message_should_include(*values)
@spec.libraries = %w{libz libssl}
message_should_include('library', 'name')
end
-
- #------------------#
-
- it "checks that vendored libraries do not end with a .a extension" do
- @spec.vendored_libraries = %w{magic.a foo.a}
- message_should_include('library', 'name')
- end
-
- it "checks that vendored libraries do not end with a .dylib extension" do
- @spec.vendored_libraries = %w{magic.dylib foo.dylib}
- message_should_include('library', 'name')
- end
-
- it "checks that vendored libraries do not begin with lib" do
- @spec.vendored_libraries = %w{libfoo libbar}
- message_should_include('library', 'name')
- end
end
#--------------------------------------#

0 comments on commit 4bfdb88

Please sign in to comment.