facebook_digit_auth 2.2.1 → 3.0.0

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: c199ca1f27ac68b79c0f8a17a114eb65a3f5ba6e
4
- data.tar.gz: 715e6668eefbf76db06320f53d838e2a3d80c53a
3
+ metadata.gz: 20418bb515b50b16785ec8a4b06f94187848e2f9
4
+ data.tar.gz: 3c5575d0e91cba2c0be06cf0a07a1cd93376abf7
5
5
  SHA512:
6
- metadata.gz: 6b412ccb10e4e5a555b659b4a1dd0d47104230ceab6c6521ebf08a4a107c67269d0ec74830f4407643166f38ab45551130c1a42fc21395c157b10a98f941cf89
7
- data.tar.gz: 049242b3369c8c8c776b6136cdfce05a133770a75a19d52da4c0e8515e0413078018a35b00a517386b662408016bd9ba9f9745dc1ff5a99619fa4be2c04ed758
6
+ metadata.gz: b68ae79a9f361521953263de9e43543398fe52040cf2828a3aa71129111156cff7111704c9c8a54eb998e1c62d3dc103592beb4735f7e380eb6beb45dea3017f
7
+ data.tar.gz: 9890b1454fc1038842b2a10b01a5dbd6e50b7a362252d936add5f76135516267c3ca5a9965d0aa964d14c041ba1f1c67e014ebd369049f64a135c10b390c9d52
data/README.md CHANGED
@@ -7,7 +7,7 @@ TODO: Delete this and the text above, and describe your gem
7
7
 
8
8
  ## Why **facebook_digit_auth** gem?
9
9
 
10
- This gem is used once you are planning for facebook and twitter digits authentication together in same application so in case you just need to use same method with different parameters.
10
+ This gem is used once you are planning for facebook, google and twitter digits authentication together in same application so in case you just need to use same method with different parameters.
11
11
 
12
12
  ## Installation
13
13
 
@@ -33,10 +33,18 @@ Use **FacebookDigitAuth::BestAuth.access_data(param1,param2)** where as:
33
33
 
34
34
  params1 => facebook_access_token
35
35
 
36
- `'EAAUQ633PzJwBAMyJnK3khk3RwAEggYWEm85uxTX4DVaMnD4olDysgbZCu8P1ZAONh4lZBBJblgx4IyNXsBkp5d7ZA8EKC8MjKHFt4Itsm1iBCz8gtx9nmH9Lw69XUA0GUcKrTNX2iy5Df5BQiAXZBszBETUATGdGu56SPVUTZCPoQlDbZAP....'`
36
+ `'EAAUQ633PzJwBAMyJnK3khk3RwA....'`
37
37
 
38
38
  params2 => 'facebook'
39
39
 
40
+ * **Google**
41
+
42
+ params1 => gmail_access_token
43
+
44
+ `ya29.GluUBFkxp2lf8QN...`
45
+
46
+ params2 => 'google'
47
+
40
48
  * **Twitter Digits**
41
49
 
42
50
  params1 => digits_header
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  spec.add_dependency "httparty"
36
36
  spec.add_dependency "koala"
37
+ spec.add_dependency "omniauth-google-oauth2"
37
38
  end
@@ -1,3 +1,3 @@
1
1
  module FacebookDigitAuth
2
- VERSION = "2.2.1"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -9,6 +9,8 @@ module FacebookDigitAuth
9
9
  FacebookClient.new(params).data
10
10
  elsif type == 'digit'
11
11
  DigitsClient.new(params).data
12
+ elsif type == 'google'
13
+ GoogleAuth.new(params).data
12
14
  end
13
15
  end
14
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebook_digit_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - RaghavSingh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-23 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: omniauth-google-oauth2
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: You can use this gem when using authentication by facebook and digits.
70
84
  email:
71
85
  - Raghav.Singh@lptpl.com
@@ -106,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
120
  version: '0'
107
121
  requirements: []
108
122
  rubyforge_project:
109
- rubygems_version: 2.6.11
123
+ rubygems_version: 2.6.10
110
124
  signing_key:
111
125
  specification_version: 4
112
126
  summary: This gem is for facebook and digts authentication together