scinote-web/Gemfile

151 lines
4.3 KiB
Text
Raw Normal View History

# frozen_string_literal: true
2016-07-21 19:11:15 +08:00
source 'http://rubygems.org'
2016-02-12 23:52:43 +08:00
2019-09-12 23:21:48 +08:00
ruby '2.6.4'
2016-02-12 23:52:43 +08:00
gem 'bootsnap', require: false
gem 'bootstrap-sass', '~> 3.4.1'
gem 'bootstrap_form', '~> 2.7.0'
2019-09-12 23:21:48 +08:00
gem 'devise', '~> 4.7.1'
gem 'devise_invitable'
gem 'figaro'
gem 'pg', '~> 1.1'
gem 'pg_search' # PostgreSQL full text search
2019-09-12 23:21:48 +08:00
gem 'rails', '~> 6.0.0'
2016-11-22 21:57:41 +08:00
gem 'recaptcha', require: 'recaptcha/rails'
2019-07-03 15:48:20 +08:00
gem 'sanitize', '~> 5.0'
gem 'sassc-rails'
2019-09-12 23:21:48 +08:00
gem 'simple_token_authentication', '~> 1.16.0' # Token authentication for Devise
2019-07-03 15:48:20 +08:00
gem 'webpacker', '~> 4.0.0'
2019-12-03 20:31:13 +08:00
gem 'yomu', git: 'https://github.com/biosistemika/yomu', branch: 'master'
2018-08-17 17:59:47 +08:00
# Gems for OAuth2 subsystem
2018-10-05 17:50:17 +08:00
gem 'doorkeeper', '>= 4.6'
2017-08-30 00:49:07 +08:00
gem 'omniauth'
2018-02-26 18:05:05 +08:00
gem 'omniauth-linkedin-oauth2'
2017-08-30 00:49:07 +08:00
# TODO: remove this when omniauth gem resolves CVE issues
# Prevents CVE-2015-9284 (https://github.com/omniauth/omniauth/wiki/FAQ#cve-2015-9284-warnings)
gem 'omniauth-rails_csrf_protection', '~> 0.1'
2017-08-30 00:49:07 +08:00
# Gems for API implementation
gem 'active_model_serializers', '~> 0.10.7'
gem 'json-jwt'
2019-09-12 23:21:48 +08:00
gem 'jsonapi-renderer', '~> 0.2.2'
2018-01-23 23:25:59 +08:00
gem 'jwt', '~> 1.5'
gem 'kaminari'
gem 'rack-attack'
2016-02-12 23:52:43 +08:00
# JS datetime library, requirement of datetime picker
2017-06-23 16:34:46 +08:00
gem 'momentjs-rails', '~> 2.17.1'
2016-02-12 23:52:43 +08:00
# JS datetime picker
gem 'bootstrap3-datetimepicker-rails', '~> 4.15.35'
2016-02-12 23:52:43 +08:00
# Select elements for Bootstrap
gem 'bootstrap-select-rails', '~> 1.12.4'
2016-02-12 23:52:43 +08:00
gem 'uglifier', '>= 1.3.0'
# jQuery & plugins
gem 'autosize-rails' # jQuery autosize plugin
gem 'hammerjs-rails'
2016-02-12 23:52:43 +08:00
gem 'jquery-rails'
2017-06-23 16:34:46 +08:00
gem 'jquery-scrollto-rails',
git: 'https://github.com/biosistemika/jquery-scrollto-rails'
gem 'jquery-ui-rails'
2016-02-12 23:52:43 +08:00
gem 'js_cookie_rails' # Simple JS API for cookies
gem 'spinjs-rails'
gem 'activerecord-import'
2017-06-23 21:19:08 +08:00
gem 'ajax-datatables-rails', '~> 0.3.1'
gem 'aspector' # Aspect-oriented programming for Rails
gem 'auto_strip_attributes', '~> 2.1' # Removes unnecessary whitespaces AR
gem 'bcrypt', '~> 3.1.10'
gem 'caracal-rails' # Build docx report
gem 'commit_param_routing' # Enables different submit actions in the same form
2016-10-06 22:47:36 +08:00
gem 'deface', '~> 1.0'
gem 'down', '~> 5.0'
gem 'faker' # Generate fake data
gem 'fastimage' # Light gem to get image resolution
gem 'httparty', '~> 0.13.1'
gem 'i18n-js', '~> 3.0' # Localization in javascript files
2017-08-02 23:27:05 +08:00
gem 'jbuilder' # JSON structures via a Builder-style DSL
gem 'logging', '~> 2.0.0'
gem 'nested_form_fields'
2019-07-03 15:48:20 +08:00
gem 'nokogiri', '~> 1.10.3' # HTML/XML parser
gem 'rails_autolink', '~> 1.1', '>= 1.1.6'
gem 'rgl' # Graph framework for project diagram calculations
gem 'roo', '~> 2.8.2' # Spreadsheet parser
gem 'rubyzip'
gem 'scenic', '~> 1.4'
gem 'sdoc', '~> 1.0', group: :doc
gem 'silencer' # Silence certain Rails logs
gem 'sneaky-save', git: 'https://github.com/einzige/sneaky-save'
gem 'turbolinks', '~> 5.1.1'
gem 'underscore-rails'
gem 'wicked_pdf', '~> 1.4.0'
gem 'wkhtmltopdf-heroku', '2.12.5'
2016-02-12 23:52:43 +08:00
2019-06-24 21:17:42 +08:00
gem 'aws-sdk-rails'
gem 'aws-sdk-s3'
2016-02-12 23:52:43 +08:00
gem 'delayed_job_active_record'
2017-09-20 17:31:07 +08:00
gem 'devise-async',
git: 'https://github.com/mhfs/devise-async.git',
branch: 'devise-4.x'
2019-09-12 23:21:48 +08:00
gem 'image_processing', '~> 1.2'
gem 'paperclip', '~> 6.1'
2019-02-12 23:07:20 +08:00
gem 'rufus-scheduler', '~> 3.5'
2017-09-20 17:31:07 +08:00
gem 'discard', '~> 1.0'
gem 'ruby-graphviz', '~> 1.2' # Graphviz for rails
gem 'tinymce-rails', '~> 4.9.3' # Rich text editor - SEE BELOW
# Any time you update tinymce-rails Gem, also update the cache_suffix parameter
# in sitewide/tiny_mce.js - to prevent browsers from loading old, cached .js
# TinyMCE files which might cause errors
2017-01-19 05:40:08 +08:00
2017-01-04 17:51:55 +08:00
gem 'base62' # Used for smart annotations
gem 'newrelic_rpm'
2016-02-12 23:52:43 +08:00
# Permission helper Gem
2019-09-12 23:21:48 +08:00
gem 'canaid', git: 'https://github.com/biosistemika/canaid', branch: 'rails_6'
2016-02-12 23:52:43 +08:00
group :development, :test do
gem 'awesome_print'
gem 'better_errors'
gem 'binding_of_caller'
gem 'bullet'
2016-02-12 23:52:43 +08:00
gem 'byebug'
gem 'factory_bot_rails'
gem 'listen', '~> 3.0'
gem 'overcommit'
2017-07-06 15:07:05 +08:00
gem 'pry'
gem 'pry-byebug'
gem 'pry-rails'
2017-09-28 20:49:33 +08:00
gem 'rails-controller-testing'
2019-09-12 23:21:48 +08:00
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'rubocop', '>= 0.59.0', require: false
gem 'rubocop-performance'
2019-09-17 19:31:56 +08:00
gem 'rubocop-rails'
gem 'timecop'
2016-02-12 23:52:43 +08:00
end
2017-07-06 15:07:05 +08:00
group :test do
gem 'capybara'
gem 'capybara-email'
2019-09-16 16:26:13 +08:00
gem 'cucumber-rails', '~> 1.8', require: false
gem 'database_cleaner'
gem 'json_matchers'
gem 'selenium-webdriver'
gem 'shoulda-matchers'
2017-07-06 15:07:05 +08:00
gem 'simplecov', require: false
gem 'webmock'
2017-07-06 15:07:05 +08:00
end
2016-02-12 23:52:43 +08:00
group :production do
gem 'puma'
gem 'rails_12factor'
gem 'whacamole'
2016-02-12 23:52:43 +08:00
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: %i(mingw mswin x64_mingw jruby)