omniauth-taobao-oauth2 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54740247e9ad828003d80b01009909413d39e315
4
- data.tar.gz: a03dfdf3093afccab080ec42966efa577489d255
3
+ metadata.gz: b0a4b472c58fde2d5b01d1ecc4a6dc9c2870be33
4
+ data.tar.gz: dd59b20acde3bac76709fd735281afa7dbd82244
5
5
  SHA512:
6
- metadata.gz: 0f246cc13dd2a95bcfc1709431cf7ee9c2a95d76c9420acc043f642705e067d7e3a0b51b3b7368b012cfc383296f169a7622042cbfdbadd0f6d1683dd6459c3a
7
- data.tar.gz: 78c06dc6b8e0630d99722c1d064a96e0ed7874a23c8d94aa7aee16b6a705be9fa27da081ca6447ac36388331e6555a472cd1e8a344cd42b23a0bc91e276bac08
6
+ metadata.gz: 034c050ab97d9a10d6dd80afc1c5e2074450c8c2d1321a07f4b57e8b71d67971f042c5d8a3c60d2879335410be11c5691676f1b288f7e8a7e8e5087be477b97f
7
+ data.tar.gz: 9b935c8601b6e12123b2295e302d5d82c8115995d8a7af27503a5a5718147f397cff003111c9f29065d93e2f11d2bc591e1dde774bf82b4341e2effeddb651fb
@@ -1,3 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  require 'omniauth-taobao-oauth2/version'
3
+ require 'typhoeus/adapters/faraday'
3
4
  require 'omniauth/strategies/taobao'
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Omniauth
3
3
  module TaobaoOauth2
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
@@ -40,7 +40,7 @@ module OmniAuth
40
40
  def conn
41
41
  @conn ||= Faraday.new(url: "http://gw.api.taobao.com") do |req|
42
42
  req.response :logger
43
- req.adapter :excon
43
+ req.adapter :typhoeus
44
44
  end
45
45
  end
46
46
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "excon"
21
+ spec.add_runtime_dependency "typhoeus"
22
22
  spec.add_development_dependency "bundler", "~> 1.3"
23
23
  spec.add_development_dependency "rake"
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-taobao-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Howl王
@@ -11,7 +11,7 @@ cert_chain: []
11
11
  date: 2014-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: excon
14
+ name: typhoeus
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="