internetee-registry/Gemfile
2015-09-17 15:53:06 +03:00

169 lines
5.4 KiB
Ruby

# Use https only for accessing github
# https://github.com/bundler/bundler/pull/3447
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end if Bundler::VERSION < '2'
source 'https://rubygems.org'
# core
gem 'rails', '4.2.4' # when update, all initializers eis_custom files needs check/update
gem 'iso8601', '0.8.6' # for dates and times
gem 'hashie-forbidden_attributes', '0.1.1'
gem 'SyslogLogger', '2.0', require: 'syslog/logger'
# load env
gem 'figaro', '1.1.1'
# model related
gem 'pg', '0.18.2'
gem 'ransack', '1.5.1' # for searching
gem 'validates_email_format_of', '1.6.3' # validates email against RFC 2822 and RFC 3696
# with polymorphic fix
gem 'paper_trail',
github: 'airblade/paper_trail',
ref: 'a453811226ec4ea59753ba6b827e390ced2fc140'
# NB! if this gets upgraded, ensure Setting.reload_settings! still works correctly
gem 'rails-settings-cached', '0.4.1' # for settings
# html-xml
gem 'haml-rails', '0.9.0' # haml for views
gem 'nokogiri', '1.6.6.2' # For XML parsing
# style
gem 'sass-rails', '5.0.3' # sass style
gem 'bootstrap-sass', '3.3.5.1' # bootstrap style
# js
gem 'uglifier', '2.7.1' # minifies js
gem 'coffee-rails', '4.1.0' # coffeescript support
gem 'turbolinks', '2.5.3' # faster page load
gem 'jquery-rails', '4.0.3' # jquery
gem 'selectize-rails', '0.12.1' # include selectize.js for select
gem 'therubyracer', '0.12.2', platforms: :ruby
gem 'jquery-validation-rails', '1.13.1' # validate on client side
# view helpers
gem 'kaminari', '0.16.3' # pagination
gem 'nprogress-rails', '0.1.6.7' # visual loader
gem 'html5_validators', '1.2.2' # model requements now automatically on html form
gem 'coderay', '1.1.0' # xml console visualize
gem 'select2-rails', '3.5.9.3' # for autocomplete
gem 'bootstrap-datepicker-rails', '1.3.1.1' # datepicker
gem 'liquid', '3.0.6' # for email templates
# rights
gem 'devise', '3.5.1' # authenitcation
gem 'cancancan', '1.11.0' # autharization
# rest api
gem 'grape', '0.12.0'
gem 'jbuilder', '2.2.16' # json api
# registry specfic
gem 'simpleidn', '0.0.5' # For punycode
gem 'isikukood' # for EE-id validation
gem 'money-rails', '1.4.1'
# deploy
gem 'whenever', '0.9.4', require: false
gem 'data_migrate',
github: 'internetee/data-migrate',
ref: '35d22b09ff37a4e9d61ab326ad5d8eb0edf1fc81'
# monitors
gem 'newrelic_rpm', '3.12.0.288'
# country listing
gem 'countries', '0.11.4'
# cloning activerecord objects
gem 'deep_cloneable', '2.1.1'
# id + mid login
gem 'digidoc_client', '0.2.1'
# epp
gem 'epp', '1.4.2', github: 'internetee/epp'
gem 'epp-xml', '1.0.4' # EIS EPP XMLs
gem 'uuidtools', '2.1.5' # For unique IDs (used by the epp gem)
# que
gem 'que', '0.10.0'
gem 'que-web', '0.4.0'
gem 'daemons-rails', '1.2.1'
# for importing legacy db
gem 'activerecord-import', '0.7.0' # for inserting dummy data
# for generating pdf
gem 'pdfkit', '0.6.2'
# for datepicker
gem 'jquery-ui-rails', '5.0.5'
group :development do
# dev tools
gem 'spring', '1.3.6'
gem 'spring-commands-rspec', '1.0.4'
# emits errors, needs more investigation
# gem 'spring-watcher-listen', # otherwise spring polls the filesystem on every 0.2 seconds
# github: 'jonleighton/spring-watcher-listen',
# ref: '7f6003e14f8f9ca178a5194f210c07f54cfb67ec'
gem 'guard', '2.12.9' # run tests automatically
gem 'guard-rspec', '4.5.2'
gem 'guard-rails', '0.7.1' # run EPP server automatically
gem 'rubocop', '0.32.1'
gem 'guard-rubocop', '1.2.0'
# improved errors
gem 'better_errors', '2.1.1' # webconsole replacement
gem 'binding_of_caller', '0.7.2'
gem 'traceroute', '0.5.0' # for finding dead routes and unused actions
# deploy
gem 'mina', '0.3.1' # for fast deployment
end
group :development, :test do
# test stack
gem 'rspec-rails', '3.3.2'
gem 'capybara', '2.4.4'
gem 'phantomjs-binaries', '1.9.2.4'
gem 'poltergeist', '1.6.0' # We are using PhantomJS instead
gem 'phantomjs', '1.9.8.0'
gem 'fabrication', '2.13.2' # Replacement for fixtures
gem 'shoulda-matchers', '2.8.0', require: false # Additional matchers for RSpec
gem 'launchy', '2.4.3' # for opening browser automatically
# helper gems
gem 'database_cleaner', '1.4.1' # For cleaning db in feature and epp tests
gem 'faker', '1.4.3' # Library to generate fake data
# debug
gem 'pry', '0.10.1'
# code review
gem 'simplecov', '0.10.0', require: false
gem 'rubycritic', '1.4.0'
gem 'bullet', '4.14.7' # for finding database optimizations
gem 'bundler-audit',
github: 'rubysec/bundler-audit',
ref: 'f89ef7fae1090bbad825ea76812d56d72b417055' # for finding future vulnerable gems
gem 'brakeman', '3.0.5', require: false # for security audit'
# tmp, otherwise conflics with breakman
# gem 'html2haml', github: 'haml/html2haml', ref: '6984f50bdbbd6291535027726a5697f28778ee8d'
gem 'html2haml', '2.0.0'
gem 'sdoc', '0.4.1' # bundle exec rake doc:rails generates the API under doc/api.
gem 'railroady', '1.3.0' # to generate database diagrams
# dev tools
gem 'unicorn'
# for travis
gem 'rake'
gem 'autodoc'
end