omniauth-mhealth 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,8 @@ module OmniAuth
56
56
  end
57
57
 
58
58
  def build_access_token
59
- token_client = Faraday.new url: options.client_options[:site]
59
+ ssl_options = options.client_options[:ssl].to_hash.symbolize_keys rescue {}
60
+ token_client = Faraday.new url: options.client_options[:site], ssl: ssl_options
60
61
  post_params = {
61
62
  grant_type: 'authorization_code',
62
63
  code: request.params['code'],
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Mhealth
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -2,8 +2,8 @@
2
2
  require File.expand_path('../lib/omniauth-mhealth/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Bryce Kerley"]
6
- gem.email = ["bkerley@brycekerley.net"]
5
+ gem.authors = ["Bryce Kerley", "Randy Secrist"]
6
+ gem.email = ["bkerley@brycekerley.net", "randy.secrist@gmail.com"]
7
7
  gem.description = %q{OmniAuth plugin for AT&T mHealth}
8
8
  gem.summary = %q{OmniAuth plugin for AT&T mHealth}
9
9
  gem.homepage = "https://mhealth.att.com/hack"
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-mhealth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bryce Kerley
9
+ - Randy Secrist
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2012-09-20 00:00:00.000000000 Z
13
+ date: 2013-03-01 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: omniauth-oauth2
@@ -30,6 +31,7 @@ dependencies:
30
31
  description: OmniAuth plugin for AT&T mHealth
31
32
  email:
32
33
  - bkerley@brycekerley.net
34
+ - randy.secrist@gmail.com
33
35
  executables: []
34
36
  extensions: []
35
37
  extra_rdoc_files: []
@@ -68,3 +70,4 @@ signing_key:
68
70
  specification_version: 3
69
71
  summary: OmniAuth plugin for AT&T mHealth
70
72
  test_files: []
73
+ has_rdoc: