omniauth-renren-oauth2 0.0.4 → 0.0.5

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: 8423eb51d7715c01fd170338082fc184ef5385f7
4
- data.tar.gz: 31c458b5c437b559230603d42fff0e8afeae2205
3
+ metadata.gz: 5fcc75b27b87752e899ecacb5138bc66fef16a62
4
+ data.tar.gz: 3468f8f6ddf1c7c05edd72680ca263f470082432
5
5
  SHA512:
6
- metadata.gz: 7704a7b6ef47be2535882deff859134abb1c231e9f6ebe3929c2f0ea593f642eda76f213f2738d22fdfae2c910f89aa3c0192785a2dbd2e3bd182feca43e1faf
7
- data.tar.gz: e4a2d085bdb0c0f10207107eb901a9858eb902dbf7a2376a927cac9f1907d9576c829d2ab3bbed7dee58054ed4cc756c1014efd642476100957d82d774b190d6
6
+ metadata.gz: 77e592391e5396bb863ea0572c40c42f544377fe6b282fbae97d70812791c99746411aa27bed701945ccdda7e08779c4d072a6948ce9dc922a68a329d4a522e8
7
+ data.tar.gz: 83a6355bbe637698cad1d4c37e950e544d58e0a0569f571e6374d1786cabde4f935283cfe2bc93c0cf1171c4e5d7a1588433c4f683d003d1587199b7854ad0c8
data/README.md CHANGED
@@ -62,13 +62,10 @@ Here's an example Auth Hash available in `request.env['omniauth.auth']`
62
62
  "extra"=>{
63
63
  "raw_info"=>{
64
64
  "uid"=> "123456789",
65
- "tinyurl"=>"http://hdn.xnimg.cn/photos/1.jpg",
66
- "vip"=>1,
67
- "sex"=>1,
65
+ "avatar" => [{"size" => "TINY", "url" => "http://hdn.xnimg.cn/photos/1.jpg"}]
68
66
  "name"=>"test",
69
67
  "star"=>0,
70
- "headurl"=>"http://hdn.xnimg.cn/photos/1.jpg",
71
- "zidou"=>0
68
+ "basicInformation" => { "sex" => "MALE", "birthday" => "1900-0-0"}
72
69
  }
73
70
  }
74
71
  }
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module RenrenOauth2
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -37,3 +37,5 @@ module OmniAuth
37
37
  end
38
38
  end
39
39
  end
40
+
41
+ OmniAuth.config.add_camelization "renren", "Renren"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-renren-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ye.li