mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
* Introduce ActiveStorage * Add active storage related service gems * Update storage.yml * Install image processing gem - sudo apt-get install libvips (required dependency) * Set default active storage service * Add profile image to user model * Amend form to allow profile images to be saved, introduce stimulus controller. * Purge image when form is blank * Update markup/stimulus controller * Add test for profile image uplaods * Add profile image validation * Use rails guide gem versions * Use correct ERB syntax and make all storage options configurable * Ensure form submits when user clears profile image * Add profile image thumbnail method * Extract profile image to a partial * Updates env.example and storage.yml * Fix bug with double form save * Add profile image to the sidenav * Update production config * Fix ERB formatting * normalize en.yml * Handle non-square images * Use pre-processing on thumbnail variant * Resovle gemfile.lock issues * Rubocop style changes --------- Signed-off-by: Christian <47796704+crobbo@users.noreply.github.com> Co-authored-by: Christian Robinson <christian@robbo.dev>
75 lines
1.3 KiB
Ruby
75 lines
1.3 KiB
Ruby
source "https://rubygems.org"
|
|
|
|
ruby file: ".ruby-version"
|
|
|
|
# Rails
|
|
gem "rails", github: "rails/rails", branch: "main"
|
|
|
|
# Drivers
|
|
gem "pg", "~> 1.5"
|
|
gem "redis", ">= 4.0.1"
|
|
|
|
# Deployment
|
|
gem "puma", ">= 5.0"
|
|
gem "bootsnap", require: false
|
|
|
|
# Assets
|
|
gem "importmap-rails"
|
|
gem "propshaft"
|
|
gem "tailwindcss-rails"
|
|
gem "lucide-rails", github: "maybe-finance/lucide-rails"
|
|
|
|
# Hotwire
|
|
gem "stimulus-rails"
|
|
gem "turbo-rails"
|
|
|
|
# Background Jobs
|
|
gem "good_job"
|
|
|
|
# Search
|
|
gem "ransack"
|
|
|
|
# Error logging
|
|
gem "stackprof"
|
|
gem "sentry-ruby"
|
|
gem "sentry-rails"
|
|
gem "rails-settings-cached"
|
|
gem "octokit"
|
|
|
|
# Active Storage
|
|
gem "aws-sdk-s3", require: false
|
|
gem "azure-storage-blob", "~> 2.0", require: false
|
|
gem "google-cloud-storage", "~> 1.11", require: false
|
|
gem "image_processing", ">= 1.2"
|
|
|
|
# Other
|
|
gem "bcrypt", "~> 3.1.7"
|
|
gem "inline_svg"
|
|
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
|
gem "faraday"
|
|
gem "pagy"
|
|
|
|
group :development, :test do
|
|
gem "debug", platforms: %i[ mri windows ]
|
|
gem "brakeman", require: false
|
|
gem "rubocop-rails-omakase", require: false
|
|
gem "dotenv-rails"
|
|
gem "letter_opener"
|
|
gem "i18n-tasks"
|
|
gem "erb_lint"
|
|
gem "byebug"
|
|
end
|
|
|
|
group :development do
|
|
gem "web-console"
|
|
gem "hotwire-livereload"
|
|
gem "ruby-lsp-rails"
|
|
end
|
|
|
|
group :test do
|
|
gem "capybara"
|
|
gem "selenium-webdriver"
|
|
gem "mocha"
|
|
gem "vcr"
|
|
gem "webmock"
|
|
end
|