simple_google_auth 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/simple_google_auth/receiver.rb +1 -1
- data/lib/simple_google_auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3be05a3ee1f2374ce780737daef9cb56a16208d
|
|
4
|
+
data.tar.gz: 2bd1495e1adef6c8027a61fd37f80469e990315f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07aed60cb224718a359da987b7694944564b26a38fe44a465847b7ba1ed846e8f693056f6efeb65f944580258194b2ed2f46bc99b8306e991a99df5ea5a92dd0
|
|
7
|
+
data.tar.gz: c338b514a61fdfd0d842d677784434656b3685d09a20d5fc65c0eb20eb1779b4cc71c8ef9ddcdc173ad0da3586c13b169893aeeb3f859142358384a3079ad392
|
|
@@ -68,7 +68,7 @@ module SimpleGoogleAuth
|
|
|
68
68
|
|
|
69
69
|
def decode_id_data(auth_data)
|
|
70
70
|
id_data_64 = auth_data["id_token"].split(".")[1]
|
|
71
|
-
id_data_64 << "=" until id_data_64.length %
|
|
71
|
+
id_data_64 << "=" until id_data_64.length % 4 == 0
|
|
72
72
|
id_data = JSON.parse(Base64.decode64(id_data_64))
|
|
73
73
|
end
|
|
74
74
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_google_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roger Nesbitt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|