omniauth-mail_ru 1.0.0 → 1.0.1

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: 52416827d4fd6c0d2fc65d03a7de877fbb13bfd3
4
- data.tar.gz: 1e8179b4b2758ae04d27caeaf994516cf120218f
3
+ metadata.gz: 58f9f188cf5e716ec6aa9e9c163b872e59289788
4
+ data.tar.gz: aa5679ada124a63f87af67f624b16d117c372fd9
5
5
  SHA512:
6
- metadata.gz: fd735efcf1a66b2ada79e00148da1dc21121f7d43d99a579ac7aa584249578638b2f29efcf0f2df9ef0072a5fda661b6a2ef1e83424b1b5df81cdb6fe2e83dcb
7
- data.tar.gz: 0e17892479daff4cafcc90c3b7fca63817b6154c16fbba8a153c5bba45e5509038f02b51c93ab683b02e116a892dc5598bb3211b45f75a5eb8b11208a3c7757d
6
+ metadata.gz: 13e7b7db5bea48651888ecc39e8ee9152eee9023f19e52d57346181d1a1a0141484891bc4b78b568b3ce0332849cca244fa40ae2cf63a9a86931ada56fae1f93
7
+ data.tar.gz: 4eb61cb230d59f2d31f791168d1fd8d5a10e2438b9812a1e1788cc3af4f3b031598de4dd4d9ea938150011b126630de851c8ff639fca3c0eccac014242ce73aa
data/README.md CHANGED
@@ -19,7 +19,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
19
19
  end
20
20
  ```
21
21
 
22
- Replace `"API_KEY"` and `"PRIVATE_KEY"` with the appropriate values you obtained (https://api.mail.ru).
22
+ Replace `"API_KEY"` and `"PRIVATE_KEY"` with the appropriate values you obtained (http://api.mail.ru).
23
23
 
24
24
  ## Authentication Hash
25
25
  An example auth hash available in `request.env['omniauth.auth']`:
@@ -84,11 +84,3 @@ An example auth hash available in `request.env['omniauth.auth']`:
84
84
  }
85
85
 
86
86
  ```
87
-
88
- ## License
89
-
90
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
91
-
92
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
93
-
94
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,63 +1,5 @@
1
1
  module OmniAuth
2
2
  module MailRu
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
-
6
- {
7
- provider: 'mail_ru',
8
- uid: '1111111111',
9
- info: {
10
- name: 'John Smith',
11
- email: 'john@mail.ru',
12
- nickname: 'JohnS',
13
- first_name: 'John',
14
- last_name: 'Smith',
15
- image: 'http://avt.appsmail.ru/mail/john/_avatar50',
16
- urls: {
17
- 'Mailru' => 'http://my.mail.ru/mail/john/'
18
- }
19
- },
20
- credentials: {
21
- token: '4ec9286c2f...',
22
- refresh_token: '351456424ad7c5...',
23
- expires_at: 1411054463,
24
- expires: true
25
- },
26
- extra: {
27
- raw_info: {
28
- pic_50: 'http://avt.appsmail.ru/mail/john/_avatar50',
29
- friends_count: 256,
30
- show_age: 1,
31
- has_photosafe: 0,
32
- nick: 'JohnS',
33
- is_friend: 0,
34
- is_online: 1,
35
- has_pic: 1,
36
- email: 'john@mail.ru',
37
- pic_190: 'http://avt.appsmail.ru/mail/john/_avatar190',
38
- referer_id: '',
39
- pic_32: 'http://avt.appsmail.ru/mail/john/_avatar32',
40
- referer_type: '',
41
- last_visit: '1410961776',
42
- uid: '1111111111',
43
- app_installed: 1,
44
- status_text: '',
45
- pic_22: 'http://avt.appsmail.ru/mail/john/_avatar22',
46
- age: 25,
47
- last_name: 'Smith',
48
- is_verified: 0,
49
- pic_big: 'http://avt.appsmail.ru/mail/john/_avatarbig',
50
- vip: 0,
51
- birthday: '01.01.1901',
52
- link: 'http://my.mail.ru/mail/john/',
53
- pic_128: 'http://avt.appsmail.ru/mail/john/_avatar128',
54
- sex: 0,
55
- pic: 'http://avt.appsmail.ru/mail/john/_avatar',
56
- pic_small: 'http://avt.appsmail.ru/mail/john/_avatarsmall',
57
- pic_180: 'http://avt.appsmail.ru/mail/john/_avatar180',
58
- first_name: 'John',
59
- pic_40: 'http://avt.appsmail.ru/mail/john/_avatar40?1229336384'
60
- }
61
- }
62
- }
63
- end
5
+ end
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = 'omniauth-mail_ru'
8
8
  spec.version = OmniAuth::MailRu::VERSION
9
9
  spec.authors = ['Andrey Skuryatin']
10
- spec.email = ['andrey2004@gmai.com']
10
+ spec.email = ['andrey.skuryatin@gmai.com']
11
11
  spec.summary = %q{OmniAuth strategy for Mail.ru}
12
12
  spec.description = %q{OmniAuth strategy for Mail.ru}
13
13
  spec.homepage = 'https://github.com/andrey-skat/omniauth-mail_ru'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-mail_ru
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Skuryatin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-17 00:00:00.000000000 Z
11
+ date: 2014-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -26,7 +26,7 @@ dependencies:
26
26
  version: '1.0'
27
27
  description: OmniAuth strategy for Mail.ru
28
28
  email:
29
- - andrey2004@gmai.com
29
+ - andrey.skuryatin@gmai.com
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []