osem-fcy/Gemfile

285 lines
5.9 KiB
Text
Raw Normal View History

# frozen_string_literal: true
2021-08-17 12:34:26 +02:00
def next?
File.basename(__FILE__) == "Gemfile.next"
end
2013-01-07 09:04:09 +01:00
source 'https://rubygems.org'
2023-04-11 11:38:49 +02:00
ruby ENV.fetch('OSEM_RUBY_VERSION', '3.1.4')
2018-08-09 06:54:23 +03:00
# rails-assets requires >= 1.8.4
2016-03-08 21:14:44 +05:30
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4')
abort "Bundler version >= 1.8.4 is required"
end
2014-11-12 10:45:44 +01:00
# as web framework
2021-08-17 12:34:26 +02:00
if next?
2022-02-24 16:13:14 +01:00
gem 'rails', '~> 7.1'
2021-08-17 12:34:26 +02:00
else
2022-02-24 16:13:14 +01:00
gem 'rails', '~> 7.0'
2021-08-17 12:34:26 +02:00
end
# Use Puma as the app server
gem 'puma'
# respond_to methods have been extracted to the responders gem
# http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#responders
2021-08-11 13:03:32 +00:00
gem 'responders', '~> 3.0'
2014-04-23 15:45:55 +02:00
# as supported databases
2014-04-23 15:45:55 +02:00
gem 'mysql2'
gem 'pg'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# for tracking data changes
2014-04-23 15:45:55 +02:00
gem 'paper_trail'
# for upload management
gem 'carrierwave'
2016-04-27 16:03:29 +02:00
gem 'carrierwave-bombshelter'
gem 'mini_magick'
# for internationalizing
gem 'rails-i18n'
2014-11-12 10:45:44 +01:00
# as authentification framework
gem 'devise'
2014-11-04 17:42:47 +01:00
gem 'devise_ichain_authenticatable'
# for openID authentication
2014-06-18 16:58:30 +03:00
gem 'omniauth'
gem 'omniauth-facebook'
2014-07-24 23:18:57 +03:00
gem 'omniauth-github'
gem 'omniauth-google-oauth2'
gem 'omniauth-openid'
2021-08-11 13:53:10 +00:00
gem 'omniauth-rails_csrf_protection'
2014-04-23 15:45:55 +02:00
# Bot-filtering
gem 'recaptcha', require: 'recaptcha/rails'
2014-11-12 10:45:44 +01:00
# as authorization framework
gem 'cancancan'
# for roles
2014-08-12 11:51:59 +03:00
gem 'rolify'
2014-04-23 15:45:55 +02:00
# to show flash messages from ajax requests
gem 'unobtrusive_flash', '>=3'
2014-11-12 10:45:44 +01:00
# as state machine
2014-04-30 15:26:38 +02:00
gem 'transitions', :require => %w( transitions active_record/transitions )
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# for comments
2013-01-07 09:04:09 +01:00
gem 'acts_as_commentable_with_threading'
gem 'awesome_nested_set'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# as templating language
2014-04-30 15:26:38 +02:00
gem 'haml-rails'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# for stylesheets
2014-04-30 15:26:38 +02:00
gem 'sass-rails', '>= 4.0.2'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# as compressor for JavaScript assets
2014-04-23 15:45:55 +02:00
gem 'uglifier', '>= 1.3.0'
2014-11-12 10:45:44 +01:00
# as the front-end framework
gem 'autoprefixer-rails'
2018-12-28 07:52:35 +00:00
gem 'bootstrap-sass', '~> 3.4.0'
gem 'cocoon'
2014-11-12 10:45:44 +01:00
# as the JavaScript library
2014-04-23 15:45:55 +02:00
gem 'jquery-rails'
2020-09-29 00:32:22 +02:00
gem 'jquery-ui-rails', '~> 6.0.1'
2016-03-21 00:18:20 +01:00
# for languages validation
gem 'iso-639'
# frontend javascripts
source 'https://rails-assets.org' do
# for placeholder images
gem 'rails-assets-holderjs'
# for formating dates
gem 'rails-assets-date.format'
# for or parsing, validating, manipulating, and formatting dates
gem 'rails-assets-momentjs'
# for smooth scrolling
gem 'rails-assets-jquery-smooth-scroll'
# as color picker
gem 'rails-assets-spectrum'
# for color manipulation
gem 'rails-assets-tinycolor'
# for drawing triangle backgrounds
gem 'rails-assets-trianglify'
# for scroll way points
gem 'rails-assets-waypoints'
# for markdown editors
gem 'rails-assets-bootstrap-markdown'
# for select with icon
gem 'rails-assets-bootstrap-select'
gem 'rails-assets-markdown'
gem 'rails-assets-to-markdown', '~> 3'
end
# as date picker
gem 'bootstrap3-datetimepicker-rails', '~> 4.17.47'
# data tables
gem 'ajax-datatables-rails'
gem 'jquery-datatables-rails'
# for charts
2018-02-13 16:11:52 +02:00
gem 'chartkick'
# for displaying maps
gem 'leaflet-rails'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# for user avatars
2014-04-23 15:45:55 +02:00
gem 'gravtastic'
# for country selects
gem 'country_select'
2014-11-12 10:45:44 +01:00
# as PDF generator
gem 'prawn-qrcode'
gem 'prawn-rails'
2022-02-10 18:08:49 +01:00
# FIXME: for prawn, matrix isn't in the default set of Ruby 3.1 anymore
# see https://github.com/prawnpdf/prawn/commit/3658d5125c3b20eb11484c3b039ca6b89dc7d1b7
gem 'matrix', '~> 0.4'
2022-02-24 17:37:10 +01:00
# FIXME: for selenium-webdriver, rexml isn't in the default set of Ruby 3.1 anymore
# see https://github.com/SeleniumHQ/selenium/commit/526fd9d0de60a53746ffa982feab985fed09a278
gem 'rexml'
# for QR code generation
gem 'rqrcode'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# to render XLS spreadsheets
2021-08-11 14:09:02 +02:00
gem 'caxlsx_rails'
2014-04-23 15:45:55 +02:00
2014-11-12 10:45:44 +01:00
# as error catcher
gem 'sentry-rails'
2014-04-23 15:45:55 +02:00
# to make links faster
2014-04-23 15:45:55 +02:00
gem 'turbolinks'
2014-11-12 10:45:44 +01:00
# for JSON serialization of our API
2014-04-23 15:45:55 +02:00
gem 'active_model_serializers'
# as icon font
2022-05-18 06:31:12 +02:00
gem 'font-awesome-sass'
2014-06-24 15:17:17 +05:30
# for markdown
gem 'redcarpet'
2014-11-12 10:45:44 +01:00
# for recurring jobs
gem 'delayed_job_active_record'
gem 'whenever', :require => false
2014-11-12 10:45:44 +01:00
# to run scripts
gem 'daemons'
2014-11-12 10:45:44 +01:00
# to encapsulate money in objects
gem 'money-rails'
# for lists
gem 'acts_as_list'
2014-12-13 21:13:19 +02:00
# for switch checkboxes
gem 'bootstrap-switch-rails', '3.3.3' # Locked pending Bttstrp/bootstrap-switch#707
2014-12-13 21:13:19 +02:00
# for parsing OEmbed data
gem 'ruby-oembed'
# for uploading images to the cloud
gem 'cloudinary'
2016-04-22 16:14:41 +02:00
# for setting app configuration in the environment
gem 'dotenv-rails'
# configurable toggles for functionality
# https://github.com/mgsnova/feature
gem 'feature'
# For countable.js
gem "countable-rails"
# Both are not in a group as we use it also for rake data:demo
2016-04-29 17:19:23 +02:00
# for fake data
gem 'faker'
# for seeds
gem 'factory_bot_rails'
2016-04-29 17:19:23 +02:00
2016-07-27 13:18:50 +05:30
# for integrating Stripe payment gateway
gem 'stripe'
# Provides Sprockets implementation for Rails Asset Pipeline
gem 'sprockets-rails'
# for multiple speakers select on proposal/event forms
gem 'selectize-rails'
# For collecting performance data
gem 'skylight'
# memcached binary connector
gem 'dalli'
# to generate ical files
2021-02-14 22:56:45 +01:00
gem 'icalendar'
# to tame logs
gem 'lograge'
group :development do
# for static code analisys
2018-05-08 13:46:44 -07:00
gem 'rubocop', require: false
2021-08-13 10:40:45 +00:00
gem 'rubocop-rspec', require: false
gem 'rubocop-rails', require: false
gem 'haml_lint'
# to open mails
2014-04-30 15:26:38 +02:00
gem 'letter_opener'
2021-04-11 13:53:41 +03:00
gem 'letter_opener_web'
# as deployment system
2014-07-07 16:08:53 +02:00
gem 'mina'
# as debugger on error pages
gem 'web-console'
end
group :test do
# as test framework
gem 'capybara'
gem 'database_cleaner'
gem 'geckodriver-helper'
gem 'rspec-rails'
gem 'webdrivers'
# for measuring test coverage
gem 'simplecov-cobertura'
# for describing models
gem 'shoulda-matchers', require: false
# for stubing/mocking models
2014-07-04 22:55:01 +02:00
gem 'rspec-activemodel-mocks'
# to freeze time
gem 'timecop'
# for mocking external requests
gem 'webmock'
2016-08-09 02:29:44 +05:30
# for mocking Stripe responses in tests
2022-02-15 12:52:54 +01:00
gem 'stripe-ruby-mock', '~> 3.1.0.rc3'
# For validating JSON schemas
gem 'json-schema'
# For using 'assigns' in tests
gem 'rails-controller-testing'
# For managing the environment
gem 'climate_control'
# For PDFs
gem 'pdf-inspector', require: "pdf/inspector"
end
2014-07-21 14:27:32 +02:00
group :development, :test do
# as debugger
gem 'byebug'
# as development/test database
gem 'sqlite3'
2021-08-17 12:34:26 +02:00
# to test new rails version
gem 'next_rails'
2014-07-21 14:27:32 +02:00
end