Pod::Spec.new do |s|
  name         = "SHOmniAuthFacebook"
  url          = "https://github.com/seivan/#{name}"
  git_url      = "#{url}.git"
  version      = "0.1.0"
  source_files = "#{name}/**/*.{h,m}"

  s.name         = name
  s.version      = version


  s.summary      = "Facebook Strategy for SHOmniAuth."

  s.description  = <<-DESC
                    A strategy for authenticating with Facebook via SHOmniAuth.
                    Uses ACAccount for store and SLRequest for signed requests.
                   DESC
  s.homepage     = "https://github.com/seivan/SHOmniAuthFacebook"

  s.license      = {:type => 'MIT' } 
  s.author       = { "Seivan Heidari" => "seivan.heidari@icloud.com" }
  
  s.source       = { :git => "https://github.com/seivan/SHOmniAuthFacebook.git", :tag => version }
  s.platform     = :ios, '5.0'

  s.source_files = source_files
  s.requires_arc = true
  s.frameworks   = 'Accounts', 'Social'


  s.dependency  'Facebook-iOS-SDK', '~> 3.2.1' 
  s.dependency  'SHOmniAuth',       '~> 0.2.0'
end

Pod::Spec.new do |s|
  s.name         = "SHOmniAuthFacebook"
  s.version      = "0.1.0"
  s.summary      = "Facebook Strategy for SHOmniAuth."

  s.description  = <<-DESC
                    A strategy for authenticating with Facebook via SHOmniAuth.
                    Uses ACAccount for store and SLRequest for signed requests.
                   DESC
  s.homepage     = "https://github.com/seivan/SHOmniAuthFacebook"

  s.license      = {:type => 'MIT' } 
  s.author       = { "Seivan Heidari" => "seivan.heidari@icloud.com" }
  
  s.source       = { :git => "https://github.com/seivan/SHOmniAuthFacebook.git", :tag => s.version.to_s}
  s.platform     = :ios, '5.0'

  s.source_files = 'SHOmniAuthFacebook/**/*.{h,m}'
  s.requires_arc = true
  s.frameworks   = 'Accounts', 'Social'


  s.dependency  'Facebook-iOS-SDK', '~> 3.2.1' 
  s.dependency  'SHOmniAuth',       '~> 0.1.0'
end

--- 
+++ 
@@ -1,6 +1,14 @@
 Pod::Spec.new do |s|
-  s.name         = "SHOmniAuthFacebook"
-  s.version      = "0.1.0"
+  name         = "SHOmniAuthFacebook"
+  url          = "https://github.com/seivan/#{name}"
+  git_url      = "#{url}.git"
+  version      = "0.1.0"
+  source_files = "#{name}/**/*.{h,m}"
+
+  s.name         = name
+  s.version      = version
+
+
   s.summary      = "Facebook Strategy for SHOmniAuth."
 
   s.description  = <<-DESC
@@ -12,14 +20,14 @@
   s.license      = {:type => 'MIT' } 
   s.author       = { "Seivan Heidari" => "seivan.heidari@icloud.com" }
   
-  s.source       = { :git => "https://github.com/seivan/SHOmniAuthFacebook.git", :tag => s.version.to_s}
+  s.source       = { :git => "https://github.com/seivan/SHOmniAuthFacebook.git", :tag => version }
   s.platform     = :ios, '5.0'
 
-  s.source_files = 'SHOmniAuthFacebook/**/*.{h,m}'
+  s.source_files = source_files
   s.requires_arc = true
   s.frameworks   = 'Accounts', 'Social'
 
 
   s.dependency  'Facebook-iOS-SDK', '~> 3.2.1' 
-  s.dependency  'SHOmniAuth',       '~> 0.1.0'
+  s.dependency  'SHOmniAuth',       '~> 0.2.0'
 end
Update SHOmniAuth dependency to 0.2.0
