google_sign_in 1.1.1 → 1.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81c1666afaccd7f5f5262ea96ee945610823167061ae2e3b171f6c42dcd7afb4
4
- data.tar.gz: 651fa599d75102f7ea3ded78b73ffac6725c8398e7a7dbfa51579b83287d2614
3
+ metadata.gz: 42c961227f0c8530cf3597830303b0e4446ade4eb43fbc4ed09cc0c82b38bd0e
4
+ data.tar.gz: c5294b87b1b5889c89f03e59f36ea38f8e40c3c33bbe796c31420e5729e470c5
5
5
  SHA512:
6
- metadata.gz: c9c778fdf00e95a200893e005fbac4b02af41c70b9237e1962916ef626921718e5f42718d78476aed3db219b4045665534973f93337632d2994ffdf54d92b70c
7
- data.tar.gz: '0438edc9e1587009b0302a348f85b936def719a60c34c4b7b457787294417e19d230b899ed26aa20cff202470e7b3beb7d1810b546edf73e1837af7f84d6851f'
6
+ metadata.gz: 3a4bf572cb71ef2cb8b3b521ecf22d225dedc61f4da5abf6cc37a4aefb6e96b5d8a5f9879b06c3b7cf84de9b17ed786509ab70a816cbc60454dd3a8478c67161
7
+ data.tar.gz: 6d1a42d8b65e52eb51664fe409bd8049ad02dad27ebebeb8c9f22cfa247cbbc52ed12aed4b05e08c9645410098513de152a2f33767f8b45dbe2c789da3e30ffc
data/.gitignore CHANGED
@@ -2,6 +2,7 @@
2
2
  .byebug_history
3
3
  log/*.log
4
4
  pkg/
5
+ *.gem
5
6
 
6
7
  test/dummy/db/*.sqlite3
7
8
  test/dummy/db/*.sqlite3-journal
@@ -0,0 +1,3 @@
1
+ # Changelog
2
+
3
+ Please see [our GitHub "Releases" page](https://github.com/basecamp/google_sign_in/releases).
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_sign_in (1.1.1)
4
+ google_sign_in (1.1.2)
5
5
  google-id-token (>= 1.4.0)
6
6
  oauth2 (>= 1.4.0)
7
7
  rails (>= 5.2.0)
@@ -60,20 +60,20 @@ GEM
60
60
  safe_yaml (~> 1.0.0)
61
61
  crass (1.0.4)
62
62
  erubi (1.7.1)
63
- faraday (0.12.2)
63
+ faraday (0.15.3)
64
64
  multipart-post (>= 1.2, < 3)
65
65
  globalid (0.4.1)
66
66
  activesupport (>= 4.2.0)
67
67
  google-id-token (1.4.2)
68
68
  jwt (>= 1)
69
69
  hashdiff (0.3.7)
70
- i18n (1.1.0)
70
+ i18n (1.1.1)
71
71
  concurrent-ruby (~> 1.0)
72
72
  jwt (1.5.6)
73
73
  loofah (2.2.2)
74
74
  crass (~> 1.0.2)
75
75
  nokogiri (>= 1.5.9)
76
- mail (2.7.0)
76
+ mail (2.7.1)
77
77
  mini_mime (>= 0.1.1)
78
78
  marcel (0.3.3)
79
79
  mimemagic (~> 0.3.2)
@@ -86,11 +86,11 @@ GEM
86
86
  multi_xml (0.6.0)
87
87
  multipart-post (2.0.0)
88
88
  nio4r (2.3.1)
89
- nokogiri (1.8.4)
89
+ nokogiri (1.8.5)
90
90
  mini_portile2 (~> 2.3.0)
91
- oauth2 (1.4.0)
92
- faraday (>= 0.8, < 0.13)
93
- jwt (~> 1.0)
91
+ oauth2 (1.4.1)
92
+ faraday (>= 0.8, < 0.16.0)
93
+ jwt (>= 1.0, < 3.0)
94
94
  multi_json (~> 1.3)
95
95
  multi_xml (~> 0.5)
96
96
  rack (>= 1.2, < 3)
@@ -155,4 +155,4 @@ DEPENDENCIES
155
155
  webmock (>= 3.4.2)
156
156
 
157
157
  BUNDLED WITH
158
- 1.16.4
158
+ 1.16.6
@@ -9,7 +9,7 @@ class GoogleSignIn::BaseController < ActionController::Base
9
9
  GoogleSignIn.client_id,
10
10
  GoogleSignIn.client_secret,
11
11
  authorize_url: 'https://accounts.google.com/o/oauth2/auth',
12
- token_url: 'https://www.googleapis.com/oauth2/v3/token',
12
+ token_url: 'https://www.googleapis.com/oauth2/v4/token',
13
13
  redirect_uri: callback_url
14
14
  end
15
15
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'google_sign_in'
3
- s.version = '1.1.1'
3
+ s.version = '1.1.2'
4
4
  s.authors = ['David Heinemeier Hansson', 'George Claghorn']
5
5
  s.email = ['david@basecamp.com', 'george@basecamp.com']
6
6
  s.summary = 'Sign in (or up) with Google for Rails applications'
@@ -27,7 +27,7 @@ class GoogleSignIn::CallbacksControllerTest < ActionDispatch::IntegrationTest
27
27
 
28
28
  private
29
29
  def stub_token_request(code:, **params)
30
- stub_request(:post, 'https://www.googleapis.com/oauth2/v3/token').
30
+ stub_request(:post, 'https://www.googleapis.com/oauth2/v4/token').
31
31
  with(body: { grant_type: 'authorization_code', code: code,
32
32
  client_id: FAKE_GOOGLE_CLIENT_ID, client_secret: FAKE_GOOGLE_CLIENT_SECRET,
33
33
  redirect_uri: 'http://www.example.com/google_sign_in/callback' }).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_sign_in
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-09-27 00:00:00.000000000 Z
12
+ date: 2018-10-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -105,6 +105,7 @@ extra_rdoc_files: []
105
105
  files:
106
106
  - ".gitignore"
107
107
  - ".travis.yml"
108
+ - CHANGELOG.md
108
109
  - Gemfile
109
110
  - Gemfile.lock
110
111
  - MIT-LICENSE
@@ -212,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
213
  version: '0'
213
214
  requirements: []
214
215
  rubyforge_project:
215
- rubygems_version: 2.7.3
216
+ rubygems_version: 2.7.6
216
217
  signing_key:
217
218
  specification_version: 4
218
219
  summary: Sign in (or up) with Google for Rails applications