omniauth-windowslive 0.0.8.1 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 06f6a92a6d87ba0e882782cc2ac5e86d22caee3d
4
+ data.tar.gz: 045be44985d6e5769fe122dd9df9ee266b2c5368
5
+ SHA512:
6
+ metadata.gz: aa4e7de548b9830e2a0a073ed82cf7e06686d00aaae012854e603caf8cae386e20c297b5372426e424a5dba2b1f9253612fc38d6292e59b1694fb6d4a1bacd34
7
+ data.tar.gz: c5e7042fe1e1f01ae884640bbad4cbf2758b72beba14a8a70df6a2d2bd3f4292194d7a7b7bc9b16745b4c0248c5b07f95b31c53b0965e9838ef5718d523a1579
@@ -10,9 +10,9 @@ module OmniAuth
10
10
  DEFAULT_SCOPE = 'wl.basic,wl.emails,wl.photos'
11
11
 
12
12
  option :client_options, {
13
- :site => 'https://oauth.live.com',
14
- :authorize_url => '/authorize',
15
- :token_url => '/token'
13
+ :site => 'https://login.live.com',
14
+ :authorize_url => '/oauth20_authorize.srf',
15
+ :token_url => '/oauth20_token.srf'
16
16
  }
17
17
 
18
18
  option :authorize_params, {
@@ -27,6 +27,7 @@ module OmniAuth
27
27
  info do
28
28
  {
29
29
  'id' => raw_info['id'],
30
+ 'email' => raw_info['emails']['preferred'] || raw_info['emails']['account'],
30
31
  'name' => raw_info['name'],
31
32
  'first_name' => raw_info['first_name'],
32
33
  'last_name' => raw_info['last_name'],
@@ -52,4 +53,4 @@ module OmniAuth
52
53
  end
53
54
  end
54
55
  end
55
- OmniAuth.config.add_camelization 'windowslive', 'Windowslive'
56
+ OmniAuth.config.add_camelization 'windowslive', 'Windowslive'
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Windowslive
3
- VERSION = "0.0.8.1"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,71 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-windowslive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.1
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Joel AZEMAR
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-03-07 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: omniauth-oauth2
16
- requirement: &70201865507280 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *70201865507280
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: multi_json
27
- requirement: &70201865503560 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: 1.0.3
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *70201865503560
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.3
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: rspec
38
- requirement: &70201865502220 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ~>
45
+ - - "~>"
42
46
  - !ruby/object:Gem::Version
43
47
  version: '2.7'
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *70201865502220
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.7'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: rack-test
49
- requirement: &70201865501280 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ! '>='
59
+ - - ">="
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *70201865501280
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: webmock
60
- requirement: &70201865500180 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
- - - ! '>='
73
+ - - ">="
64
74
  - !ruby/object:Gem::Version
65
75
  version: '0'
66
76
  type: :development
67
77
  prerelease: false
68
- version_requirements: *70201865500180
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description:
70
84
  email:
71
85
  - joel.azemar@gmail.com
@@ -73,8 +87,8 @@ executables: []
73
87
  extensions: []
74
88
  extra_rdoc_files: []
75
89
  files:
76
- - .gitignore
77
- - .rvmrc
90
+ - ".gitignore"
91
+ - ".rvmrc"
78
92
  - Gemfile
79
93
  - LICENSE
80
94
  - README.md
@@ -89,27 +103,26 @@ files:
89
103
  - spec/support/shared_examples.rb
90
104
  homepage: https://github.com/joel/omniauth-windowslive
91
105
  licenses: []
106
+ metadata: {}
92
107
  post_install_message:
93
108
  rdoc_options: []
94
109
  require_paths:
95
110
  - lib
96
111
  required_ruby_version: !ruby/object:Gem::Requirement
97
- none: false
98
112
  requirements:
99
- - - ! '>='
113
+ - - ">="
100
114
  - !ruby/object:Gem::Version
101
115
  version: '0'
102
116
  required_rubygems_version: !ruby/object:Gem::Requirement
103
- none: false
104
117
  requirements:
105
- - - ! '>='
118
+ - - ">="
106
119
  - !ruby/object:Gem::Version
107
120
  version: '0'
108
121
  requirements: []
109
122
  rubyforge_project: omniauth-windowslive
110
- rubygems_version: 1.8.10
123
+ rubygems_version: 2.2.2
111
124
  signing_key:
112
- specification_version: 3
125
+ specification_version: 4
113
126
  summary: Windows Live, Hotmail, SkyDrive, Windows Live Messenger, and other services...
114
127
  strategy for OmniAuth
115
128
  test_files: