mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 06:31:41 +00:00
134 lines
3.3 KiB
Ruby
134 lines
3.3 KiB
Ruby
# frozen_string_literal: true
|
|
|
|
# TODO: Podríamos usar solo gems.sutty.nl pero por alguna razón bundler
|
|
# prefiere x86_64-linux-musl antes que x86_64-linux y ya perdimos mucho
|
|
# tiempo buscando soporte para musl
|
|
if ENV['RAILS_ENV'] == 'production'
|
|
source 'https://gems.sutty.nl'
|
|
else
|
|
source 'https://rubygems.org'
|
|
end
|
|
|
|
git_source(:github) do |repo_name|
|
|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
|
|
"https://github.com/#{repo_name}.git"
|
|
end
|
|
|
|
# Cambiar en Dockerfile también
|
|
ruby '2.7.1'
|
|
|
|
gem 'dotenv-rails', require: 'dotenv/rails-now'
|
|
|
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
|
gem 'rails', '~> 6'
|
|
# Use Puma as the app server
|
|
gem 'puma'
|
|
# See https://github.com/rails/execjs#readme for more supported runtimes
|
|
# gem 'therubyracer', platforms: :ruby
|
|
# Use SCSS for stylesheets
|
|
gem 'sassc-rails'
|
|
# Use Uglifier as compressor for JavaScript assets
|
|
gem 'uglifier', '>= 1.3.0'
|
|
gem 'bootstrap', '~> 4'
|
|
|
|
# Turbolinks makes navigating your web application faster. Read more:
|
|
# https://github.com/turbolinks/turbolinks
|
|
gem 'turbolinks', '~> 5'
|
|
# Build JSON APIs with ease. Read more:
|
|
# https://github.com/rails/jbuilder
|
|
gem 'jbuilder', '~> 2.5'
|
|
# Use ActiveModel has_secure_password
|
|
gem 'bcrypt', '~> 3.1.7'
|
|
gem 'blazer'
|
|
gem 'commonmarker'
|
|
gem 'devise'
|
|
gem 'devise-i18n'
|
|
gem 'devise_invitable'
|
|
gem 'email_address'
|
|
gem 'exception_notification'
|
|
gem 'fast_blank'
|
|
gem 'friendly_id'
|
|
gem 'hamlit-rails'
|
|
gem 'hiredis'
|
|
gem 'image_processing'
|
|
gem 'icalendar'
|
|
gem 'inline_svg'
|
|
gem 'safe_yaml', source: 'https://gems.sutty.nl'
|
|
gem 'jekyll', '~> 4.2'
|
|
gem 'jekyll-data', source: 'https://gems.sutty.nl'
|
|
gem 'jekyll-commonmark'
|
|
gem 'jekyll-images'
|
|
gem 'jekyll-include-cache'
|
|
gem 'sutty-liquid'
|
|
gem 'lockbox'
|
|
gem 'mini_magick'
|
|
gem 'mobility'
|
|
gem 'pg'
|
|
gem 'pundit'
|
|
gem 'rails-i18n'
|
|
gem 'rails_warden'
|
|
gem 'redis', require: %w[redis redis/connection/hiredis]
|
|
gem 'redis-rails'
|
|
gem 'rubyzip'
|
|
gem 'rugged'
|
|
gem 'sucker_punch'
|
|
gem 'symbol-fstring', require: 'fstring/all'
|
|
gem 'terminal-table'
|
|
gem 'validates_hostname'
|
|
gem 'webpacker'
|
|
gem 'yaml_db', git: 'https://0xacab.org/sutty/yaml_db.git'
|
|
|
|
# performance
|
|
gem 'flamegraph'
|
|
gem 'memory_profiler'
|
|
gem 'rack-mini-profiler'
|
|
gem 'stackprof'
|
|
gem 'prometheus_exporter'
|
|
|
|
# debug
|
|
gem 'fast_jsonparser'
|
|
gem 'down'
|
|
gem 'sourcemap'
|
|
gem 'rack-cors'
|
|
|
|
group :themes do
|
|
gem 'adhesiones-jekyll-theme', require: false
|
|
gem 'editorial-autogestiva-jekyll-theme', require: false
|
|
gem 'minima', require: false
|
|
gem 'sutty-minima', require: false
|
|
gem 'radios-comunitarias-jekyll-theme', require: false
|
|
gem 'share-to-fediverse-jekyll-theme', require: false
|
|
gem 'sutty-donaciones-jekyll-theme', require: false
|
|
gem 'sutty-jekyll-theme', require: false
|
|
gem 'recursero-jekyll-theme', require: false
|
|
end
|
|
|
|
group :production do
|
|
gem 'lograge'
|
|
end
|
|
|
|
group :development, :test do
|
|
gem 'derailed_benchmarks'
|
|
gem 'pry'
|
|
# Adds support for Capybara system testing and selenium driver
|
|
gem 'capybara', '~> 2.13'
|
|
gem 'selenium-webdriver'
|
|
gem 'sqlite3'
|
|
end
|
|
|
|
group :development do
|
|
gem 'brakeman'
|
|
gem 'haml-lint', require: false
|
|
gem 'letter_opener'
|
|
gem 'listen', '>= 3.0.5', '< 3.2'
|
|
gem 'rubocop-rails'
|
|
gem 'spring'
|
|
gem 'spring-watcher-listen', '~> 2.0.0'
|
|
gem 'web-console', '>= 3.3.0'
|
|
end
|
|
|
|
group :test do
|
|
gem 'database_cleaner'
|
|
gem 'factory_bot_rails'
|
|
gem 'timecop'
|
|
end
|