fat_free_crm 0.26.0 → 0.27.0
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 +4 -4
- data/config/application.rb +3 -0
- data/config/initializers/rack_attack.rb +1 -3
- data/db/fat_free_crm_development.sqlite3 +0 -0
- data/db/fat_free_crm_development.sqlite3-shm +0 -0
- data/db/fat_free_crm_development.sqlite3-wal +0 -0
- data/db/fat_free_crm_test.sqlite3-shm +0 -0
- data/db/fat_free_crm_test.sqlite3-wal +0 -0
- data/lib/fat_free_crm/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 919b905ca53d54fd74ffef0afacfc069a1bb59fe020221221aacf8edc8e0c11b
|
|
4
|
+
data.tar.gz: 1a3c001ef6a92b543b23bb9e352d71b50edeff46d3a7e698c55e9632885598ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c3e70f0c203a8dba917f72d673903ce5243552f8cf800a4a3f0501d30083a64330a3f08abed1c56b86d355cca04efb142d4a7dbf7fee32fd5aeb84d8f0b0d87
|
|
7
|
+
data.tar.gz: '09ae9a1efb78e32fd4a4407a74b2db2dfbfc64a0156df24c7f067073d9fb9a30b5a612048b5867a360207d3ae97d3c2dd2b055cc16c4fdc478c3d1d020d88f21'
|
data/config/application.rb
CHANGED
|
@@ -77,6 +77,9 @@ module FatFreeCRM
|
|
|
77
77
|
# Configure the default encoding used in templates for Ruby 1.9.
|
|
78
78
|
config.encoding = "utf-8"
|
|
79
79
|
|
|
80
|
+
# Rails 8.1+ behaviour
|
|
81
|
+
config.active_support.to_time_preserves_timezone = :zone
|
|
82
|
+
|
|
80
83
|
# Configure sensitive parameters which will be filtered from the log file.
|
|
81
84
|
config.filter_parameters += %i[password encrypted_password password_salt password_confirmation]
|
|
82
85
|
|
|
@@ -12,9 +12,7 @@ class Rack::Attack
|
|
|
12
12
|
# If any single IP makes more than 5 requests/minute to the devise routes,
|
|
13
13
|
# return a 429 Too Many Requests response.
|
|
14
14
|
throttle('devise/ip', limit: 5, period: 1.minute) do |req|
|
|
15
|
-
if req.path.start_with?('/users') && req.post?
|
|
16
|
-
req.ip
|
|
17
|
-
end
|
|
15
|
+
req.ip if req.path.start_with?('/users') && req.post?
|
|
18
16
|
end
|
|
19
17
|
|
|
20
18
|
### Custom Response ###
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/fat_free_crm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fat_free_crm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.27.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Dvorkin
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version:
|
|
20
|
+
version: 8.0.0
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version:
|
|
27
|
+
version: 8.0.0
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: rails-i18n
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -185,14 +185,14 @@ dependencies:
|
|
|
185
185
|
requirements:
|
|
186
186
|
- - "~>"
|
|
187
187
|
- !ruby/object:Gem::Version
|
|
188
|
-
version:
|
|
188
|
+
version: 16.0.0
|
|
189
189
|
type: :runtime
|
|
190
190
|
prerelease: false
|
|
191
191
|
version_requirements: !ruby/object:Gem::Requirement
|
|
192
192
|
requirements:
|
|
193
193
|
- - "~>"
|
|
194
194
|
- !ruby/object:Gem::Version
|
|
195
|
-
version:
|
|
195
|
+
version: 16.0.0
|
|
196
196
|
- !ruby/object:Gem::Dependency
|
|
197
197
|
name: devise
|
|
198
198
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -390,7 +390,7 @@ dependencies:
|
|
|
390
390
|
- !ruby/object:Gem::Version
|
|
391
391
|
version: '0'
|
|
392
392
|
- !ruby/object:Gem::Dependency
|
|
393
|
-
name:
|
|
393
|
+
name: responds_to_parent2
|
|
394
394
|
requirement: !ruby/object:Gem::Requirement
|
|
395
395
|
requirements:
|
|
396
396
|
- - ">="
|
|
@@ -1119,6 +1119,8 @@ files:
|
|
|
1119
1119
|
- db/demo/tasks.yml
|
|
1120
1120
|
- db/demo/users.yml
|
|
1121
1121
|
- db/fat_free_crm_development.sqlite3
|
|
1122
|
+
- db/fat_free_crm_development.sqlite3-shm
|
|
1123
|
+
- db/fat_free_crm_development.sqlite3-wal
|
|
1122
1124
|
- db/fat_free_crm_test.sqlite3
|
|
1123
1125
|
- db/fat_free_crm_test.sqlite3-shm
|
|
1124
1126
|
- db/fat_free_crm_test.sqlite3-wal
|