think_feel_do_engine 3.19.0 → 3.19.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c87d695fe11d365c6294e6bbe0ddad41b563e4
|
4
|
+
data.tar.gz: 7bf8cb616554ffc4c1e4caa2c5f89b75332d6cd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f68dde740d728e728fbb8de7f1ec0f33bb13e45bd4fcbc8d4ac24d8d79caa34f274effcf6ea7ddf55cc3a0293ec117a29d1b4deef63d3504e5ce72b9874d90a
|
7
|
+
data.tar.gz: 1c6198c6d7448b98138f1fd997889c7b33de3e5fe3390487d3790ee8f7741c9c91975995d52a74d86ca382643ed44b1b35970697abaa7dd0835d5bff2636b3e8
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# config/initializers/devise_safe_store_location.rb
|
2
|
+
module SafeStoreLocation
|
3
|
+
|
4
|
+
MAX_LOCATION_SIZE = ActionDispatch::Cookies::MAX_COOKIE_SIZE / 2
|
5
|
+
|
6
|
+
def store_location_for(resource_or_scope, location)
|
7
|
+
super unless location && location.size > MAX_LOCATION_SIZE
|
8
|
+
end
|
9
|
+
|
10
|
+
end
|
11
|
+
|
12
|
+
Devise::FailureApp.include SafeStoreLocation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: think_feel_do_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.19.
|
4
|
+
version: 3.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Carty-Fickes
|
@@ -785,6 +785,7 @@ files:
|
|
785
785
|
- config/brakeman.yml
|
786
786
|
- config/initializers/datetime_formats.rb
|
787
787
|
- config/initializers/devise.rb
|
788
|
+
- config/initializers/devise_safe_store_location.rb
|
788
789
|
- config/initializers/event_capture.rb
|
789
790
|
- config/initializers/think_feel_do_engine.rb
|
790
791
|
- config/locales/devise.en.yml
|
@@ -987,7 +988,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
987
988
|
version: '0'
|
988
989
|
requirements: []
|
989
990
|
rubyforge_project:
|
990
|
-
rubygems_version: 2.
|
991
|
+
rubygems_version: 2.5.1
|
991
992
|
signing_key:
|
992
993
|
specification_version: 4
|
993
994
|
summary: Summary of ThinkFeelDoEngine.
|