Browse Source

Updated Podspec format for compatibility with newer CocoaPods

Luke Redpath 13 years ago
parent
commit
54215b813f
1 changed files with 13 additions and 12 deletions
  1. 13 12
      SocketRocket.podspec

+ 13 - 12
SocketRocket.podspec

@@ -1,14 +1,15 @@
 Pod::Spec.new do |s|
-  s.name         = "SocketRocket"
-  s.version      = '0.1'
-  s.summary      = 'A conforming WebSocket (RFC 6455) client library.'
-  s.homepage     = 'https://github.com/square/SocketRocket'
-  s.authors      = { 'Square' => 'lewis@squareup.com' }
-  s.source       = { :git => 'git://github.com/square/SocketRocket.git' }
-  s.source_files = 'SocketRocket/*.{h,m,c}'
-  s.clean_paths  = %w{SRWebSocketTests SocketRocket.xcodeproj TestChat TestChatServer TestSupport extern}
-  s.requires_arc = true
-  s.frameworks   = %w{Security}
-  s.frameworks << 'CFNetwork' if config.ios?
-  s.libraries    = "icucore"
+  s.name               = "SocketRocket"
+  s.version            = '0.1'
+  s.summary            = 'A conforming WebSocket (RFC 6455) client library.'
+  s.homepage           = 'https://github.com/square/SocketRocket'
+  s.authors            = 'Square'
+  s.license            = 'Apache License, Version 2.0'
+  s.source             = { :git => 'https://github.com/square/SocketRocket.git', :commit => '82c9f8938f8b9b7aa578866cb7ce56bc11e52ced' }
+  s.source_files       = 'SocketRocket/*.{h,m,c}'
+  s.requires_arc       = true
+  s.ios.frameworks     = %w{CFNetwork Security}
+  s.osx.frameworks     = %w{CoreServices Security}
+  s.osx.compiler_flags = '-Wno-format'
+  s.libraries          = "icucore"
 end