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: de032421673efdc9d72b69a4d3d521507a88247c
4
- data.tar.gz: f40b0c0509e23bb16a22a3d39bc9190f88140caa
3
+ metadata.gz: c1c87d695fe11d365c6294e6bbe0ddad41b563e4
4
+ data.tar.gz: 7bf8cb616554ffc4c1e4caa2c5f89b75332d6cd8
5
5
  SHA512:
6
- metadata.gz: 2da3064e7e903cfbb7e3c5ab36470877b7fd187f5dc3bba00a1467da76d048a3afc1576bcc7bbd4252becf2b3e39a35e1c39925aa9c74f1deaba3deb023ea407
7
- data.tar.gz: b7492b5eeda1ed6fb273813d86252a0949215229a7688b2499318180bbe03464132fb3a1f8f29304ee5c8b6bd7145ed656dbb41bca5cf620047d8bc838ea65a8
6
+ metadata.gz: 3f68dde740d728e728fbb8de7f1ec0f33bb13e45bd4fcbc8d4ac24d8d79caa34f274effcf6ea7ddf55cc3a0293ec117a29d1b4deef63d3504e5ce72b9874d90a
7
+ data.tar.gz: 1c6198c6d7448b98138f1fd997889c7b33de3e5fe3390487d3790ee8f7741c9c91975995d52a74d86ca382643ed44b1b35970697abaa7dd0835d5bff2636b3e8
@@ -28,7 +28,7 @@
28
28
 
29
29
  <div class="form-group">
30
30
  <%= f.label :body %>
31
- <%= f.text_area :body, class: "form-control" %>
31
+ <%= f.text_area :body, class: "form-control" , maxlength: 1700 %>
32
32
  </div>
33
33
 
34
34
  <div class="form-group">
@@ -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
@@ -1,4 +1,4 @@
1
1
  # nodoc
2
2
  module ThinkFeelDoEngine
3
- VERSION = "3.19.0"
3
+ VERSION = "3.19.1"
4
4
  end
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.0
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.6.4
991
+ rubygems_version: 2.5.1
991
992
  signing_key:
992
993
  specification_version: 4
993
994
  summary: Summary of ThinkFeelDoEngine.