Skip to content

Commit 42263b8

Browse files
author
github-actions
committed
update with project-syncing action
1 parent 115620f commit 42263b8

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ gem "pundit"
7070
gem "ransack"
7171
gem "strip_attributes"
7272
gem "validate_url"
73+
gem "carrierwave"
7374

7475
group :development do
7576
gem "annotaterb"

Gemfile.lock

+18
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ GEM
108108
rack-test (>= 0.6.3)
109109
regexp_parser (>= 1.5, < 3.0)
110110
xpath (~> 3.2)
111+
carrierwave (3.1.1)
112+
activemodel (>= 6.0.0)
113+
activesupport (>= 6.0.0)
114+
addressable (~> 2.6)
115+
image_processing (~> 1.1)
116+
marcel (~> 1.0.0)
117+
ssrf_filter (~> 1.0)
111118
choice (0.2.0)
112119
coderay (1.1.3)
113120
concurrent-ruby (1.3.5)
@@ -180,6 +187,9 @@ GEM
180187
http-form_data (2.3.0)
181188
i18n (1.14.7)
182189
concurrent-ruby (~> 1.0)
190+
image_processing (1.14.0)
191+
mini_magick (>= 4.9.5, < 6)
192+
ruby-vips (>= 2.0.17, < 3)
183193
importmap-rails (2.1.0)
184194
actionpack (>= 6.0.0)
185195
activesupport (>= 6.0.0)
@@ -221,6 +231,9 @@ GEM
221231
marcel (1.0.4)
222232
matrix (0.4.2)
223233
method_source (1.1.0)
234+
mini_magick (5.2.0)
235+
benchmark
236+
logger
224237
mini_mime (1.1.5)
225238
minitest (5.25.5)
226239
msgpack (1.8.0)
@@ -407,6 +420,9 @@ GEM
407420
ruby-graphviz (1.2.5)
408421
rexml
409422
ruby-progressbar (1.13.0)
423+
ruby-vips (2.2.3)
424+
ffi (~> 1.12)
425+
logger
410426
rubyzip (2.4.1)
411427
rufo (0.18.1)
412428
sawyer (0.9.2)
@@ -445,6 +461,7 @@ GEM
445461
net-sftp (>= 2.1.2)
446462
net-ssh (>= 2.8.0)
447463
ostruct
464+
ssrf_filter (1.2.0)
448465
stimulus-rails (1.3.4)
449466
railties (>= 6.0.0)
450467
stringio (3.1.5)
@@ -517,6 +534,7 @@ DEPENDENCIES
517534
bootsnap
518535
brakeman
519536
capybara
537+
carrierwave
520538
debug
521539
devise
522540
dotenv

config/environments/test.rb

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
# loading is working properly before deploying your code.
1616
config.eager_load = ENV["CI"].present?
1717

18+
# Configure CarrierWave for testing
19+
CarrierWave.configure do |config|
20+
config.storage = :file
21+
config.enable_processing = false
22+
config.root = Rails.root.join("tmp")
23+
config.cache_dir = Rails.root.join("tmp/carrierwave")
24+
end
25+
1826
# Configure public file server for tests with cache-control for performance.
1927
config.public_file_server.headers = { "cache-control" => "public, max-age=3600" }
2028

0 commit comments

Comments
 (0)