capcoauth 0.6.2 → 0.6.3

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: e3231edabf0083b3c11b8496e65ab4c45500be1df0a0c6d2064e9045c46b6a53
4
- data.tar.gz: b7d3af4ed41b7ea7dc1b7f4b60ef0fcb3879021a43be1b792a847d52e097ec9b
3
+ metadata.gz: b90a20b86a9c6be726eaead5e05718e42010926d2c669d5b5d5bed4c5be71c09
4
+ data.tar.gz: fbd13ea0046b2f11303a23a6011160686a11811273d98fc94cf20ba4ac1c237d
5
5
  SHA512:
6
- metadata.gz: 55dc4fe576c2b52b0ef2ea1294f8b0c291b1024f577e6c3d68dc2892e2c63cf7959d2f44d3db467069c5252d46e33915a723f96ded8c1b01dd6055812e473ea1
7
- data.tar.gz: 024f9f716e7854f1f984e817ed5e6b1bfc00865048325ea7e3819020a44911b17ed6da9a88070792b4a7ebb7c44394df35b6c87f090b6edf0aa7cc3ae61a026d
6
+ metadata.gz: 8f3d938fb7d9111e1d2b7e1950776fd15bef9c0b81c7186d570cd6835c6218a53db09bba6ec7f3222dde100844846da9ca623f813a71bd453e775d392158a695
7
+ data.tar.gz: b602d5bf798bf5b925432a46b58eb8a63953c656454972bb1fa8e4b315b4edcf4876b972cfc73932f6ea99ae27784f0faf4b880fa08631ac5d86915c76fb5806
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '~> 5.2.4'
3
+ gem 'rails', '~> 5.2.6'
4
4
 
5
5
  gem 'simplecov', require: false, group: :test
6
6
 
@@ -20,7 +20,12 @@ module Capcoauth
20
20
  end
21
21
 
22
22
  # Otherwise, redirect
23
- redirect_to "#{Capcoauth.configuration.capcoauth_url}/oauth/authorize?client_id=#{Capcoauth.configuration.client_id}&redirect_uri=#{URI.encode(oauth_callback_url)}&response_type=code"
23
+ params = {
24
+ client_id: Capcoauth.configuration.client_id,
25
+ redirect_uri: oauth_callback_url,
26
+ response_type: 'code',
27
+ }
28
+ redirect_to "#{Capcoauth.configuration.capcoauth_url}/oauth/authorize?#{params.to_param}"
24
29
  end
25
30
  end
26
31
  end
@@ -6,7 +6,7 @@ module Capcoauth
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 6
9
- PATCH = 2
9
+ PATCH = 3
10
10
 
11
11
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capcoauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Robertson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-05 00:00:00.000000000 Z
11
+ date: 2021-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -212,7 +212,7 @@ homepage: https://github.com/arcreative/capcoauth-gem
212
212
  licenses:
213
213
  - MIT
214
214
  metadata: {}
215
- post_install_message:
215
+ post_install_message:
216
216
  rdoc_options: []
217
217
  require_paths:
218
218
  - lib
@@ -227,8 +227,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
229
  requirements: []
230
- rubygems_version: 3.0.3
231
- signing_key:
230
+ rubygems_version: 3.1.6
231
+ signing_key:
232
232
  specification_version: 4
233
233
  summary: Integration with Capcoauth authentication service
234
234
  test_files: