Skip to content

Instantly share code, notes, and snippets.

@vraravam
Last active March 18, 2019 07:15
Show Gist options
  • Save vraravam/588f2cacb4ceae57ef29 to your computer and use it in GitHub Desktop.
Save vraravam/588f2cacb4ceae57ef29 to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
"https://github.com/#{repo_name}.git"
end
source 'https://rubygems.org'
ruby '2.4.2'
gem 'rails', '5.1.4'
gem 'libv8', '~> 5.9'
gem 'bootsnap', '~> 1.1', require: false
gem 'dotenv-rails', '~> 2.2'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '~> 3.0'
gem 'coffee-rails', '~> 4.2.1'
gem 'jquery-ui-rails', '~> 6.0.1'
gem 'jbuilder', '~> 2.7'
# gem 'request_store', '~> 1.3', '>= 1.3.2' TODO: Need to research and incorporate this gem
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
gem 'rails-i18n', '~> 5.0'
gem 'kaminari', '~> 1.0.1'
gem 'bootstrap-sass', '~> 3.3.7'
gem 'active_bootstrap_skin', '~> 0.1.4'
gem 'font-awesome-sass', '~> 4.7.0'
gem 'devise', '~> 4.3'
gem 'devise-i18n', '~> 1.1'
gem 'devise_invitable', '~> 1.7'
gem 'activeadmin', '1.0' # TODO: Locking AA due to this bug: https://github.com/activeadmin/activeadmin/issues/5124 It might also be related to: https://github.com/activeadmin/activeadmin/pull/5052/commits (not sure)
# gem 'activeadmin', github: 'activeadmin/activeadmin'
# gem 'activeadmin', github: 'vraravam/activeadmin'
# gem 'activeadmin', path: '../activeadmin'
gem 'active_admin_paranoia', '~> 1.0.11'
gem 'active_admin_datetimepicker', '~> 0.5'
gem 'paranoia', '~> 2.3'
gem 'pg', '~> 0.20'
gem 'scenic', '~> 1.4'
gem 'pundit', '~> 1.1.0'
gem 'validates', '~> 1.0.0'
gem 'global_phone', '~> 1.0.1'
# gem 'global_phone_dbgen', '~> 1.0' # TODO: Uncomment for regenerating the phone format database. Run the following command: global_phone_dbgen https://raw.githubusercontent.com/googlei18n/libphonenumber/v8.4.1/resources/PhoneNumberMetadata.xml > db/global_phone.json
gem 'tinymce-rails', '~> 4.6.1'
gem 'carrierwave', '~> 1.0'
gem 'rmagick', '~> 2.16.0'
gem 'nprogress-rails', '~> 0.2.0.2'
gem 'jquery-dirtyforms-rails', '~> 2.0'
# TODO: Uncomment "country-select" gem if we want a country select box.
# gem 'country-select', '~> 1.1.1'
gem 'selectize-rails', '~> 0.12.3'
# Use puma as the app server
gem 'puma', '~> 3.8'
gem 'rack-attack', '~> 5.0'
gem 'biz', '~> 1.6'
# gem 'nested_attributes_uniqueness', '~> 1.0.1' # TODO: Uncomment once the 'https://github.com/vinsol/nested_attributes_uniqueness/issues/11' has been fixed
gem 'nested_attributes_uniqueness', github: 'vinsol/nested_attributes_uniqueness'
gem 'devise_zxcvbn', '~> 4.4.1'
gem 'i18n-js', '>= 3.0.0.rc14'
gem 'browser-timezone-rails', '~> 1.0.1'
gem 'paper_trail', '~> 7.0'
gem 'validates_timeliness', '~> 4.0.2'
gem 'state_machines', '~> 0.5'
gem 'state_machines-activerecord', '~> 0.5'
gem 'state_machines-audit_trail', '~> 1.0'
gem 'date_range_overlap', '~> 0.0.0'
gem 'has_barcode', '~> 0.2.3'
gem 'savon', '~> 2.11'
gem 'retriable', '~> 3.0'
gem 'wicked_pdf', '~> 1.1'
gem 'wkhtmltopdf-binary', '~> 0.12.3.1'
gem 'activeadmin-ajax_filter', '~> 0.3'
gem 'currency-in-words', '~> 0.1.3'
gem 'whenever', '~> 0.9.7', require: false
gem 'ar_transaction_changes', '~> 1.1'
group :development, :test do
gem 'rake', '~> 12.0'
gem 'pry-byebug', '~> 3.3'
gem 'better_errors', '~> 2.2'
gem 'bullet', '~> 5.6'
gem 'annotate', '~> 2.7.1', require: false
gem 'rspec-rails', '~> 3.6'
# gem 'pippi', '~> 0.0.14', require: false
gem 'bundler-audit', '~> 0.6', require: false
# gem 'dawnscanner', '~> 1.6.7', require: false # TODO: This seems like a better security scanner than(?) the above, but its not working as of now
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'mini_racer', '~> 0.1'
end
group :development do
gem 'web-console', '~> 3.4'
gem 'listen', '~> 3.1'
# gem 'flamegraph', '~> 0.1.0', require: false
gem 'rack-mini-profiler', '~> 0.10.1'
gem 'binding_of_caller', '~> 0.7.2'
gem 'spring', '~> 2.0.2'
# gem 'guard-bundler', '~> 2.1.0', require: false
# gem 'guard-rails', '~> 0.8.0', require: false
# gem 'guard-rspec', '~> 4.7.2', require: false
# gem 'rb-fchange', '~> 0.0.6', require: false
# gem 'rb-fsevent', '~> 0.9.5', require: false
# gem 'rb-inotify', '~> 0.9.5', require: false
# The following are only needed from time-to-time
# gem 'derailed_benchmarks', '~> 1.1.3', require: false
# gem 'stackprof', '~> 0.2.7', require: false
# gem 'lol_dba', '~> 2.1.1'
# gem 'active_sanity', '~> 0.3.0'
# gem 'rails-erd', '~> 1.4.7'
# gem 'rails_layout', '~> 1.0.31', require: false
end
# TODO: Temporarily enabling these gems due to need to create seed data in production for Henry
gem 'timecop', '~> 0.9'
gem 'faker', '~> 1.7', require: false
# gem 'active_sanity', github: 'pcreux/active_sanity', require: false # TODO: Wait for @pcreux to accept my ignore-related changes (https://github.com/pcreux/active_sanity/pull/1)
gem 'active_sanity', github: 'vraravam/active_sanity', branch: 'rails-5.1', require: false
# gem 'active_sanity', path: '../active_sanity', require: false
group :test do
gem 'rubocop', '~> 0.49', require: false
gem 'rubocop-rspec', '~> 1.12', require: false
# gem 'pronto', '~> 0.3.3'
gem 'rails-controller-testing', '~> 1.0.1'
gem 'brakeman', '~> 3.5', require: false
gem 'metric_fu', '~> 4.12.0', require: false
gem 'fuubar', '~> 2.2.0'
gem 'database_cleaner', '~> 1.6'
gem 'factory_girl_rails', '~> 4.6'
gem 'shoulda', '~> 3.5.0'
gem 'simplecov', '~> 0.14', require: false
gem 'spring-commands-rspec', '~> 1.0.4'
end
group :production do
gem 'rack-cors', '~> 1.0', require: 'rack/cors'
gem 'fog-aws', '~> 1.2'
gem 'lograge', '~> 0.5'
gem 'rails_12factor', '~> 0.0.3'
# TODO: Turn on caching using rack-cache
# gem 'rack-cache', '~> 1.2', require: 'rack/cache'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment