google-id-tokenz 1.2.1 → 1.2.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c8d036fbff7aa58d162239a1c377dcecee06f74
4
- data.tar.gz: 652a2c203876170dc81485608259a8bf3f4aa03c
3
+ metadata.gz: ba8107bf9c6ef5fa7ab7977fdba8212123c4021b
4
+ data.tar.gz: c8b6abe2090210aa1cd6ddfa92ddfe5e46042a91
5
5
  SHA512:
6
- metadata.gz: 65584666085ec799e249f2d1bed0cde6507c4fefeafbe65ed64e8ba21623af3bdee873b98b7fff19bb14b09d95a8bbfd6be04690f4e7281e7372ce2046f3b912
7
- data.tar.gz: ec89ae8d5cd861e3ce9037748c0f4ae76557813074336634667696fe3f729202d4b4920472b6001e4fe550ffedd0a89d86577fc9c2fe1c6eb89166ad5734468a
6
+ metadata.gz: cc476b5fe9aba5fe8960dc81169a3838cb3e7227b82fa667068fb41b556dcbfc2743d52c14d27189e5d67fb5282f253de9f8da8923f815a9f80ac28976ead21a
7
+ data.tar.gz: 83b3a4db506406f4a3ffc1eeb7fbb6b47290e9c27387ad5d2a0344bd98b7c3cd72eb88988deb20e285f51bcd172db0cc60a46a299844238b6982c441b36a4f98
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # GoogleIDToken
2
2
 
3
- This code is from [@timbray](https://github.com/timbray)'s awesome [google-id-token](https://code.google.com/p/google-id-token/) codebase, with one minor tweak to handle a new token format (array vs hash).
3
+ This code is from [@timbray](https://github.com/timbray)'s awesome [google-id-token](https://code.google.com/p/google-id-token/) codebase, with one minor tweak to handle a new token format (array vs hash).
4
4
 
5
- Tim gives a great overview of id tokens here http://www.tbray.org/ongoing/When/201x/2013/04/04/ID-Tokens.
5
+ Tim gives a great overview of id tokens here http://www.tbray.org/ongoing/When/201x/2013/04/04/ID-Tokens.
6
6
 
7
- GoogleIDToken currently provides a single useful class "Validator", which provides a single method "#check", which parses and validates an ID Token allegedly generated by Google auth servers.
7
+ GoogleIDToken currently provides a single useful class "Validator", which provides a single method "#check", which parses and validates an ID Token allegedly generated by Google auth servers.
8
8
 
9
9
  ## Examples
10
10
 
@@ -12,7 +12,7 @@ GoogleIDToken currently provides a single useful class "Validator", which provid
12
12
 
13
13
  [android cross client auth](https://developers.google.com/accounts/docs/CrossClientAuth)
14
14
 
15
- Creating a new validator takes a single optional hash argument. If the hash has an entry for :x509_key, that value is taken to be a key as created by OpenSSL::X509::Certificate.new, and the token is validated using that key. If there is no such entry, the keys are fetched from the Google certs endpoint https://www.googleapis.com/oauth2/v1/certs.
15
+ Creating a new validator takes a single optional hash argument. If the hash has an entry for :x509_key, that value is taken to be a key as created by OpenSSL::X509::Certificate.new, and the token is validated using that key. If there is no such entry, the keys are fetched from the Google certs endpoint https://www.googleapis.com/oauth2/v1/certs.
16
16
 
17
17
  ## Installation
18
18
 
@@ -20,7 +20,7 @@ Creating a new validator takes a single optional hash argument. If the hash has
20
20
  gem install google-id-token
21
21
  ```
22
22
 
23
- ## Examples
23
+ ## Usage
24
24
 
25
25
  ```
26
26
  validator = GoogleIDToken::Validator.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-id-tokenz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Bray
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-08-10 00:00:00.000000000 Z
13
+ date: 2014-08-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json