omniauth-mailup 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,5 @@
1
1
  require 'omniauth-oauth2'
2
2
  require 'multi_json'
3
- require 'multi_xml'
4
3
 
5
4
  module OmniAuth
6
5
  module Strategies
@@ -31,7 +30,7 @@ module OmniAuth
31
30
  # Get more information about the user.
32
31
  def raw_info
33
32
  req = access_token.get('/API/v1/Rest/ConsoleService.svc/Console/Authentication/Info')
34
- @raw_info ||= MultiXml.parse(req.body)["ConsoleCurrentAuthenticatedUserInfo"]
33
+ @raw_info ||= MultiJson.load(req.body)
35
34
  end
36
35
  end
37
36
  end
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module MailUp
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -19,7 +19,6 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.add_runtime_dependency 'omniauth-oauth2', '~> 1.1.0'
21
21
  gem.add_runtime_dependency 'multi_json', '~> 1.7.3'
22
- gem.add_runtime_dependency 'multi_xml', '~> 0.5.3'
23
22
 
24
23
  gem.add_development_dependency "rspec"
25
24
  gem.add_development_dependency "rake"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-mailup
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-30 00:00:00.000000000 Z
12
+ date: 2013-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth2
@@ -43,22 +43,6 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: 1.7.3
46
- - !ruby/object:Gem::Dependency
47
- name: multi_xml
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.5.3
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.5.3
62
46
  - !ruby/object:Gem::Dependency
63
47
  name: rspec
64
48
  requirement: !ruby/object:Gem::Requirement