2025-04-07_spring.diff

· lachesis's pastes · raw

expires: 2025-07-06

 1diff --git a/app/uploaders/base_uploader.rb b/app/uploaders/base_uploader.rb
 2index ddf5152c..610e608b 100755
 3--- a/app/uploaders/base_uploader.rb
 4+++ b/app/uploaders/base_uploader.rb
 5@@ -8,7 +8,7 @@ class BaseUploader < CarrierWave::Uploader::Base
 6   # Store original size
 7   version :original
 8 
 9-  process :remove_animation
10+#  process :remove_animation
11   process :cropping
12 
13   def content_type_whitelist = %w[image/jpeg image/gif image/png]
14@@ -30,7 +30,9 @@ class BaseUploader < CarrierWave::Uploader::Base
15     h = model.public_send("#{mounted_as}_h")
16 
17     manipulate! do |image|
18+      image.repage("0x0")
19       image.crop "#{w}x#{h}+#{x}+#{y}"
20+      image << "+repage"
21     end
22   end
23 
24diff --git a/config/questions/en.yml b/config/questions/en.yml
25index bdde8eb9..be3752c5 100755
26--- a/config/questions/en.yml
27+++ b/config/questions/en.yml
28@@ -242,6 +242,8 @@
29   - you:
30     - aren't book smart, what are you smart in
31     - became a minor deity, what would your domain be
32+    - could:
33+      - be any fantasy creature, what would you be
34     - were:
35       - a Pokemon gym leader, what type would you be what's your pokemon team like in this scenario
36       - an idol, what would your image color/lightstick color be
37@@ -249,7 +251,6 @@
38       - transported to the world of your current top fandom, what would you do
39     - woke up as a billionaire (jeff bezos, elon musk, etc.) for a day, how would you spend their money
40   - could:
41-    - be any fantasy creature, what would you be
42     - only drink one liquid for the rest of your life, what would it be
43   - your:
44     - favorite color ceased to exist, what would be your new favorite color