From c1be03b0bb1bbba5ea1041dc90e3b02b0c18f735 Mon Sep 17 00:00:00 2001 From: bithavoc Date: Fri, 13 Nov 2015 16:32:31 -0500 Subject: [PATCH] Fix cocoapod spec lint --- .travis.yml | 1 - RMErrors.podspec | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 696231d..936d94e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ env: - DESTINATION="OS=8.3,name=iPhone 5S" TEST_SCHEME="RMErrorsIOSTests" EXAMPLE_SCHEME="RMErrors iOS Example" SDK=iphonesimulator9.1 RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO" - DESTINATION="OS=8.2,name=iPhone 5" TEST_SCHEME="RMErrorsIOSTests" EXAMPLE_SCHEME="RMErrors iOS Example" SDK=iphonesimulator9.1 RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO" - DESTINATION="OS=8.1,name=iPhone 4S" TEST_SCHEME="RMErrorsIOSTests" EXAMPLE_SCHEME="RMErrors iOS Example" SDK=iphonesimulator9.1 RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="YES" -# TESTS ARE CURRENTLY DISABLED FOR MAC OS X DUE TO THIS ISSUE: https://github.com/travis-ci/travis-ci/issues/4904 - DESTINATION="arch=x86_64" TEST_SCHEME="RMErrorsOSXTests" SDK=macosx10.11 EXAMPLE_SCHEME="RMErrors Example" RUN_TESTS="NO" BUILD_EXAMPLE="YES" POD_LINT="NO" before_install: - gem install cocoapods --no-rdoc --no-ri --no-document --quiet diff --git a/RMErrors.podspec b/RMErrors.podspec index a9d4f03..7921d06 100644 --- a/RMErrors.podspec +++ b/RMErrors.podspec @@ -5,11 +5,11 @@ Pod::Spec.new do |s| s.summary = 'Powerful error handling for iOS and OSX' s.homepage = 'https://github.com/AFNetworking/AFNetworking' s.authors = { 'Bithavoc' => 'im@bithavoc.io' } - s.source = { :git => 'https://github.com/ride/RMErrors.git', :tag => s.version, :submodules => true } + s.source = { :git => 'https://github.com/ride/RMErrors.git', :tag=>s.version } s.requires_arc = true - s.public_header_files = 'RMErrors/*.h' - s.source_files = 'RMErrors/*.m' + s.public_header_files = 'RMErrors/*.{h}' + s.source_files = 'RMErrors/*.{h,m}' s.ios.deployment_target = '7.0' s.osx.deployment_target = '10.9'