Skip to content

Commit

Permalink
Fixing spec according to @siuying's feedback
Browse files Browse the repository at this point in the history
Still unsure how to test a local spec
  • Loading branch information
Igor Ranieri Elland committed May 3, 2012
1 parent 836a44a commit 1c14b77
Showing 1 changed file with 4 additions and 73 deletions.
77 changes: 4 additions & 73 deletions STLOAuth/1.0.0/STLOAuth.podspec
@@ -1,82 +1,13 @@
#
# Be sure to run `pod spec lint stl-oauth-client.podspec' to ensure this is a
# valid spec.
#
# Remove all comments before submitting the spec.
#
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'STLOAuth' s.name = 'STLOAuth'
s.version = '1.0.0' s.version = '1.0.0'
s.license = 'MIT' s.license = 'MIT'
s.summary = 'OAuth 1.0a client using AFNetwork.' s.summary = 'OAuth 1.0a client using AFNetwork.'
s.homepage = 'https://github.com/sometimeleft/stl-oauth-client' s.homepage = 'https://github.com/Elland/stl-oauth-client'
s.author = { 'Marcelo Alves' => 'marcelo.alves@me.com' } s.author = { 'Marcelo Alves' => 'marcelo.alves@me.com' }

s.source = { :git => 'https://github.com/Elland/stl-oauth-client.git', :tag => '1.0.0' }
# Specify the location from where the source should be retreived.
#
s.source = { :git => 'https://github.com/sometimeleft/stl-oauth-client.git', :tag => '1.0.0' }
# s.source = { :svn => 'http://EXAMPLE/stl-oauth-client/tags/1.0.0' }
# s.source = { :hg => 'http://EXAMPLE/stl-oauth-client', :revision => '1.0.0' }

s.description = 'Add the AFNetwork and both files, call - setConsumerKey:secret: and - setAccessToken:secret to set the signing parameters and all calls after that will be signed. If you want a non-authenticated call, use either - unsignedRequestWithMethod:path:parameters: or - setSignRequests(NO).' s.description = 'Add the AFNetwork and both files, call - setConsumerKey:secret: and - setAccessToken:secret to set the signing parameters and all calls after that will be signed. If you want a non-authenticated call, use either - unsignedRequestWithMethod:path:parameters: or - setSignRequests(NO).'

s.source_files = '*.{h,m}'
# If this Pod runs only on iOS or OS X, then specify that with one of
# these, or none if it runs on both platforms.
#
# s.platform = :ios
# s.platform = :osx

# A list of file patterns which select the source files that should be
# added to the Pods project. If the pattern is a directory then the
# path will automatically have '*.{h,m,mm,c,cpp}' appended.
#
# Alternatively, you can use the FileList class for even more control
# over the selected files.
# (See http://rake.rubyforge.org/classes/Rake/FileList.html.)
#
s.source_files = './{h,m}'

# A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script.
#
# Also allows the use of the FileList class like `source_files does.
#
# s.resource = "icon.png"
# s.resources = "Resources/*.png"

# A list of paths to remove after installing the Pod without the
# `--no-clean' option. These can be examples, docs, and any other type
# of files that are not needed to build the Pod.
#
# *NOTE*: Never remove license and README files.
#
# Also allows the use of the FileList class like `source_files does.
#
# s.clean_path = "examples"
# s.clean_paths = "examples", "doc"

# Specify a list of frameworks that the application needs to link
# against for this Pod to work.
#
# s.framework = 'AFNetworking'
# s.frameworks = 'SomeFramework', 'AnotherFramework'

# Specify a list of libraries that the application needs to link
# against for this Pod to work.
#
# s.library = 'iconv'
# s.libraries = 'iconv', 'xml2'

# If this Pod uses ARC, specify it like so.
#
s.requires_arc = true s.requires_arc = true

s.dependency 'AFNetworking', '~> 1.0RC1'
# If you need to specify any other build settings, add them to the
# xcconfig hash.
#
# s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }

# Finally, specify any Pods that this Pod depends on.
#
s.dependency 'AFNetworking', '~> 1.0RC1'
end end

0 comments on commit 1c14b77

Please sign in to comment.