omniauth-protect 3.0.0 → 3.0.1

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
  SHA256:
3
- metadata.gz: 6847c77ced21cc7918596996ffa4fbed5a66e798c18bb5da4619a29bd2157c97
4
- data.tar.gz: b61c6b485c50a5c0023ce602be9d1235759e97af45181a3caceb1118ea7491ae
3
+ metadata.gz: 2e5938d78097ae118e03086a172712b454cbdc98cd83b0d5b22b2cac7c37c039
4
+ data.tar.gz: 713189cdf9271f8dcd7d979edc23dcaa324e0763c1c7f534508a46746f6e1014
5
5
  SHA512:
6
- metadata.gz: fe072b5bc285d00ec02829bb82a3d4abbde8d35145057f750d47489f7d4184ef761542e0c6d89df053578e812e9f7f4a9b3f1be09b11efa647e318cd7b91f908
7
- data.tar.gz: 897468e321f3ddd40e50915c93c81bc2cf9caf2c252876160dcf7518bfbcaa057fd809259dd61a2b2c84227ae1b5dfdcc40c3ff4cdc7440c167b1989fc717ef0
6
+ metadata.gz: 66c633932719656300b8f1a25c63c32027b4f500daffac2bd537e5221553522c33a21c24e1db0529e254e9606fcffe96c087a784149e5affbc6ee76c39d49ffd
7
+ data.tar.gz: f767104252e70bfb235d8af3999698a3aa2f5759ca44ca8109bdea837d54894a357d48f8d06a458021946ab3cfc5ce0e017f50c905a3fc722f14672b9db1471d
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [3.0.1] - 2020-06-29
10
+ ### Fixed
11
+ - Always cast tokens read from session to a string
12
+
9
13
  ## [3.0.0] - 2020-06-25
10
14
  ### Change
11
15
  - Only supports Rails 6+, use 2.0.0 for Rails 5.2.4.3
@@ -17,7 +17,7 @@ module Omniauth
17
17
  return access_denied if env['REQUEST_METHOD'] != 'POST'
18
18
 
19
19
  req = Rack::Request.new(env)
20
- encoded_masked_token = req.params['authenticity_token']
20
+ encoded_masked_token = req.params['authenticity_token'].to_s
21
21
 
22
22
  return access_denied if !encoded_masked_token
23
23
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Protect
5
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-protect
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serdar Dogruyol
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack