mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-09-08 12:06:59 -04:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c1e1bbb20 | ||
|
|
ef9c12b0fb | ||
|
|
f3a4b5193a | ||
|
|
88dcefd113 | ||
|
|
f551e87e2f | ||
|
|
636c75979c | ||
|
|
63acd37b2b | ||
|
|
38e99c66fb | ||
|
|
191e22ab02 | ||
|
|
30456498c3 | ||
|
|
0998191673 | ||
|
|
3145b876d9 | ||
|
|
0f7efe4cb8 | ||
|
|
35612c43a9 | ||
|
|
ddaa4ff77e | ||
|
|
a92b61499c | ||
|
|
cb4db83bd4 | ||
|
|
7622523656 | ||
|
|
21909fb135 | ||
|
|
276c1aa426 | ||
|
|
9229c4b374 | ||
|
|
d103bdf23b | ||
|
|
277607cc26 |
No files matched your search
@@ -1,4 +1,4 @@
|
||||
FROM mcr.microsoft.com/devcontainers/ruby:3.4-trixie
|
||||
FROM mcr.microsoft.com/devcontainers/ruby:4-trixie
|
||||
|
||||
# Install Rails
|
||||
RUN gem install rails:8.0.5
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.4.10
|
||||
4.0.6
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM ruby:3.4.10-trixie
|
||||
FROM 4.0.6-trixie
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update -qq && \
|
||||
|
||||
+12
-12
@@ -171,7 +171,7 @@ GEM
|
||||
actionpack (>= 6.1)
|
||||
activemodel (>= 6.1)
|
||||
builder (3.3.0)
|
||||
bullet (8.1.3)
|
||||
bullet (8.2.0)
|
||||
activesupport (>= 3.0.0)
|
||||
uniform_notifier (~> 1.11)
|
||||
byebug (13.0.0)
|
||||
@@ -303,7 +303,7 @@ GEM
|
||||
gravatar-ultimate (2.0.0)
|
||||
activesupport (>= 2.3.14)
|
||||
rack
|
||||
haml (7.4.1)
|
||||
haml (7.5.1)
|
||||
prism (>= 1.1.0)
|
||||
temple (>= 0.8.2)
|
||||
thor
|
||||
@@ -313,7 +313,7 @@ GEM
|
||||
activesupport (>= 5.1)
|
||||
haml (>= 4.0.6)
|
||||
railties (>= 5.1)
|
||||
haml_lint (0.77.0)
|
||||
haml_lint (0.78.0)
|
||||
haml (>= 5.0)
|
||||
parallel (>= 1.10)
|
||||
rainbow
|
||||
@@ -355,7 +355,7 @@ GEM
|
||||
image_processing (1.14.0)
|
||||
mini_magick (>= 4.9.5, < 6)
|
||||
ruby-vips (>= 2.0.17, < 3)
|
||||
io-console (0.9.1)
|
||||
io-console (0.9.2)
|
||||
irb (1.18.0)
|
||||
pp (>= 0.6.0)
|
||||
prism (>= 1.3.0)
|
||||
@@ -565,7 +565,7 @@ GEM
|
||||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.11.1)
|
||||
ffi (~> 1.0)
|
||||
rbs (4.1.2)
|
||||
rbs (4.2.0)
|
||||
logger
|
||||
prism (>= 1.6.0)
|
||||
tsort
|
||||
@@ -582,7 +582,7 @@ GEM
|
||||
io-console (~> 0.5)
|
||||
request_store (1.7.0)
|
||||
rack (>= 1.4)
|
||||
responders (3.2.0)
|
||||
responders (3.2.1)
|
||||
actionpack (>= 7.0)
|
||||
railties (>= 7.0)
|
||||
rest-client (2.1.0)
|
||||
@@ -634,8 +634,8 @@ GEM
|
||||
rswag-ui (2.17.0)
|
||||
actionpack (>= 5.2, < 8.2)
|
||||
railties (>= 5.2, < 8.2)
|
||||
rubocop (1.89.0)
|
||||
json (~> 2.3)
|
||||
rubocop (1.90.0)
|
||||
json (>= 2.3)
|
||||
language_server-protocol (~> 3.17.0.2)
|
||||
lint_roller (~> 1.1.0)
|
||||
parallel (>= 1.10)
|
||||
@@ -676,7 +676,7 @@ GEM
|
||||
ruby-vips (2.3.0)
|
||||
ffi (~> 1.12)
|
||||
logger
|
||||
rubyzip (3.4.1)
|
||||
rubyzip (3.6.0)
|
||||
sass (3.7.4)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
@@ -690,13 +690,13 @@ GEM
|
||||
sprockets (> 3.0)
|
||||
sprockets-rails
|
||||
tilt
|
||||
scout_apm (6.2.1)
|
||||
scout_apm (6.3.0)
|
||||
parser
|
||||
searchkick (5.3.1)
|
||||
activemodel (>= 6.1)
|
||||
hashie
|
||||
securerandom (0.4.1)
|
||||
selenium-webdriver (4.47.0)
|
||||
selenium-webdriver (4.48.0)
|
||||
base64 (~> 0.2)
|
||||
logger (~> 1.4)
|
||||
rexml (~> 3.2, >= 3.2.5)
|
||||
@@ -892,7 +892,7 @@ DEPENDENCIES
|
||||
xmlrpc
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.4.10p104
|
||||
ruby 4.0.6
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.22
|
||||
@@ -4,9 +4,9 @@ class Rack::Attack
|
||||
### Throttle Config ###
|
||||
|
||||
if Rails.env.production?
|
||||
# Throttle requests to /plantings, /harvests, and /members to 10 per minute per IP
|
||||
# Throttle requests to /plantings, /harvests, and /members to 15 per minute per IP
|
||||
# Includes API routes
|
||||
throttle('req/ip/restricted_routes', limit: 20, period: 1.minute) do |req|
|
||||
throttle('req/ip/restricted_routes', limit: 15, period: 1.minute) do |req|
|
||||
if req.path =~ %r{^/(plantings|harvests|members)(/|$)} || req.path =~ %r{^/api/v1/(plantings|harvests|members)(/|$)}
|
||||
req.ip
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user