omniauth-protect 2.0.0 → 2.0.1

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: d0323e371b865fd820a86cab6d8bc9abd2eb742b89dc48a4772ae72aea28c883
4
- data.tar.gz: 7522ed413432d9bfcb66fd75521821e3758b2ab197aaa6701b40561e560588ba
3
+ metadata.gz: 62f6d449313247e99820dc47d5efd787c6a531ffed3c8404402dcc63d8a65efd
4
+ data.tar.gz: 9978f183f733c4b3468d7aa5928df926a75ba3f61943998e690545f3222064bd
5
5
  SHA512:
6
- metadata.gz: 4e0c1a60f0d1c58a183af0c896635220d8699e93dda19e25bf2839f104041d7c3e3c0898d1bf7712b22d9108986990c4bb895bf5431cebdbadfe9e4badc1fb1a
7
- data.tar.gz: 0ed7d096da27e8cbe9aaafaffe34867d2fc54f15fe37fb7e0596a4c74a8aeae7ad4e1a58ec23e2da1f5fa120e0b111e168dd8d2bcddc5c1fa173ac0ca1de14a0
6
+ metadata.gz: 9c04e802538ac8d826de26ce652040f40ab8667f21b75cee78c6056d7f6150d984bc63dd845a9159acc3463b4947de7493c34ddeff8dff0a42dac20cb2da38d8
7
+ data.tar.gz: fae90a7d08bf2ed764676c13db249db1222fcc52923dbbae24f71568878a692e5ff43324c171ab8b22b92664a43c863150c78000d4d830ffe0f89c77ac3ce6af
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
+ ## [2.0.1] - 2020-06-29
9
+ ### Fixed
10
+ - Always cast tokens read from session to a string (cherry picked from 3.0.1)
8
11
 
9
12
  ## [2.0.0] - 2020-06-16
10
13
  ### Changed
@@ -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 = '2.0.0'
5
+ VERSION = '2.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: 2.0.0
4
+ version: 2.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