2019-01-16 22:02:23 +08:00
|
|
|
# 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-01-16 00:10:10 +08:00
|
|
|
ruby '2.4.5'
|
2016-02-12 23:52:43 +08:00
|
|
|
|
2018-03-12 15:57:02 +08:00
|
|
|
gem 'bootstrap-sass', '~> 3.3.7'
|
2016-02-12 23:52:43 +08:00
|
|
|
gem 'bootstrap_form'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'devise', '~> 4.3.0'
|
|
|
|
gem 'devise_invitable'
|
|
|
|
gem 'figaro'
|
|
|
|
gem 'pg', '~> 0.18'
|
|
|
|
gem 'rails', '5.1.6'
|
2016-11-22 21:57:41 +08:00
|
|
|
gem 'recaptcha', require: 'recaptcha/rails'
|
2017-05-10 20:57:11 +08:00
|
|
|
gem 'sanitize', '~> 4.4'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'sass-rails', '~> 5.0.6'
|
|
|
|
gem 'simple_token_authentication', '~> 1.15.1' # Token authentication for Devise
|
|
|
|
gem 'webpacker', '~> 2.0'
|
|
|
|
gem 'yomu'
|
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
|
|
|
|
|
|
|
# Gems for API implementation
|
2018-07-31 19:40:27 +08:00
|
|
|
gem 'active_model_serializers', '~> 0.10.7'
|
2018-07-24 20:21:33 +08:00
|
|
|
gem 'json-jwt'
|
2018-01-23 23:25:59 +08:00
|
|
|
gem 'jwt', '~> 1.5'
|
2018-07-31 19:40:27 +08:00
|
|
|
gem 'kaminari'
|
2018-10-11 15:48:06 +08:00
|
|
|
gem 'rack-attack'
|
2016-08-17 20:17:29 +08:00
|
|
|
|
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'
|
|
|
|
# Select elements for Bootstrap
|
2018-03-15 22:43:16 +08:00
|
|
|
gem 'bootstrap-select-rails', '~> 1.12.4'
|
2016-02-12 23:52:43 +08:00
|
|
|
gem 'uglifier', '>= 1.3.0'
|
|
|
|
# jQuery & plugins
|
2019-01-16 22:02:23 +08:00
|
|
|
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'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'jquery-ui-rails'
|
2016-02-12 23:52:43 +08:00
|
|
|
gem 'js_cookie_rails' # Simple JS API for cookies
|
|
|
|
gem 'spinjs-rails'
|
|
|
|
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'activerecord-import'
|
2017-06-23 21:19:08 +08:00
|
|
|
gem 'ajax-datatables-rails', '~> 0.3.1'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'aspector' # Aspect-oriented programming for Rails
|
|
|
|
gem 'auto_strip_attributes', '~> 2.1' # Removes unnecessary whitespaces AR
|
|
|
|
gem 'bcrypt', '~> 3.1.10'
|
|
|
|
gem 'commit_param_routing' # Enables different submit actions in the same form
|
2016-10-06 22:47:36 +08:00
|
|
|
gem 'deface', '~> 1.0'
|
2017-08-22 14:34:58 +08:00
|
|
|
gem 'delayed_paperclip',
|
|
|
|
git: 'https://github.com/jrgifford/delayed_paperclip.git',
|
|
|
|
ref: 'fcf574c'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'faker' # Generate fake data
|
|
|
|
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
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'logging', '~> 2.0.0'
|
|
|
|
gem 'nested_form_fields'
|
|
|
|
gem 'nokogiri', '~> 1.8.1' # HTML/XML parser
|
|
|
|
gem 'rails_autolink', '~> 1.1', '>= 1.1.6'
|
|
|
|
gem 'rgl' # Graph framework for project diagram calculations
|
|
|
|
gem 'roo', '~> 2.7.1' # Spreadsheet parser
|
|
|
|
gem 'rubyzip'
|
2017-10-26 22:59:00 +08:00
|
|
|
gem 'scenic', '~> 1.4'
|
2019-01-16 22:02:23 +08:00
|
|
|
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.1.0'
|
|
|
|
gem 'wkhtmltopdf-heroku'
|
2016-02-12 23:52:43 +08:00
|
|
|
|
2017-06-27 20:58:49 +08:00
|
|
|
gem 'aws-sdk', '~> 2'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'paperclip', '~> 5.3' # File attachment, image attachment library
|
2017-06-27 20:58:49 +08:00
|
|
|
|
2016-02-12 23:52:43 +08:00
|
|
|
gem 'delayed_job_active_record'
|
2017-09-20 17:31:07 +08:00
|
|
|
gem 'devise-async',
|
2019-01-16 22:02:23 +08:00
|
|
|
git: 'https://github.com/mhfs/devise-async.git',
|
|
|
|
branch: 'devise-4.x'
|
2017-09-20 17:31:07 +08:00
|
|
|
|
2018-05-24 20:39:25 +08:00
|
|
|
gem 'discard', '~> 1.0'
|
|
|
|
|
2016-08-17 20:17:29 +08:00
|
|
|
gem 'ruby-graphviz', '~> 1.2' # Graphviz for rails
|
2018-09-12 21:28:21 +08:00
|
|
|
gem 'tinymce-rails', '~> 4.7.13' # Rich text editor - SEE BELOW
|
2019-01-16 22:02:23 +08:00
|
|
|
# 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
|
2018-09-12 21:28:21 +08:00
|
|
|
# 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
|
2017-06-30 16:23:28 +08:00
|
|
|
gem 'devise_security_extension',
|
|
|
|
git: 'https://github.com/phatworx/devise_security_extension.git',
|
|
|
|
ref: 'b2ee978'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'newrelic_rpm'
|
2016-02-12 23:52:43 +08:00
|
|
|
|
2017-11-16 22:49:13 +08:00
|
|
|
# Permission helper Gem
|
|
|
|
gem 'canaid', git: 'https://github.com/biosistemika/canaid', branch: 'master'
|
|
|
|
|
2016-02-12 23:52:43 +08:00
|
|
|
group :development, :test do
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'awesome_print'
|
|
|
|
gem 'better_errors'
|
|
|
|
gem 'binding_of_caller'
|
|
|
|
gem 'bullet'
|
2016-02-12 23:52:43 +08:00
|
|
|
gem 'byebug'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'factory_bot_rails'
|
|
|
|
gem 'listen', '~> 3.0'
|
2019-01-07 19:36:57 +08:00
|
|
|
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'
|
2017-07-06 15:07:05 +08:00
|
|
|
gem 'rspec-rails'
|
2018-09-12 23:17:55 +08:00
|
|
|
gem 'rubocop', '>= 0.59.0', require: false
|
2016-10-05 20:12:19 +08:00
|
|
|
gem 'scss_lint', require: false
|
2016-09-14 00:53:44 +08:00
|
|
|
gem 'starscope', require: false
|
2016-02-12 23:52:43 +08:00
|
|
|
end
|
|
|
|
|
2017-07-06 15:07:05 +08:00
|
|
|
group :test do
|
|
|
|
gem 'capybara'
|
2017-11-08 18:59:01 +08:00
|
|
|
gem 'capybara-email'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'cucumber-rails', '~> 1.5', require: false
|
|
|
|
gem 'database_cleaner'
|
|
|
|
gem 'json_matchers'
|
2017-11-20 16:41:14 +08:00
|
|
|
gem 'phantomjs', require: 'phantomjs/poltergeist'
|
2019-01-16 22:02:23 +08:00
|
|
|
gem 'poltergeist'
|
|
|
|
gem 'shoulda-matchers'
|
2017-07-06 15:07:05 +08:00
|
|
|
gem 'simplecov', require: false
|
|
|
|
end
|
|
|
|
|
2016-02-12 23:52:43 +08:00
|
|
|
group :production do
|
|
|
|
gem 'puma'
|
|
|
|
gem 'rails_12factor'
|
2018-01-23 18:06:33 +08:00
|
|
|
gem 'whacamole'
|
2016-02-12 23:52:43 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
2018-01-23 18:06:33 +08:00
|
|
|
gem 'tzinfo-data', platforms: %i(mingw mswin x64_mingw jruby)
|