Gemfile
source 'https://rubygems.org'
def darwin_only(require_as)
RUBY_PLATFORM.include?('darwin') && require_as
end
def linux_only(require_as)
RUBY_PLATFORM.include?('linux') && require_as
end
gem 'rails', '3.2.22.3'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'less-rails', '~> 2.3.2'
gem 'sass-rails', '~> 3.2.3'
gem 'therubyracer', platform: :ruby
gem 'uglifier', '>= 2.7.2'
gem 'chart-js-rails'
end
group :test do
gem "selenium-webdriver", "~> 2.45.0"
gem "machinist", "~> 2.0"
gem "database_cleaner", "~> 0.9.1"
gem "loadable_component", ">= 0.1.1"
gem 'simplecov', require: false
gem 'coveralls', require: false
end
group :test, :development do
gem "rspec-rails", "~> 3.0"
gem 'jasmine', '2.3.0'
gem 'pry-rails'
gem 'pry'
end
group :development do
gem 'puma'
gem "rails-erd"
gem 'quiet_assets'
gem 'bullet'
gem 'meta_request'
gem 'better_errors'
end
# deployment
gem 'capistrano', '~> 2.13'
gem 'capistrano-maintenance'
gem 'capistrano-ext'
# services
gem 'hipchat'
gem 'twitter'
# frontend stuff
gem 'jquery-rails', '>= 3.0.4'
gem 'jquery-tablesorter', ">= 1.5.0"
gem 'redcarpet', ">= 3.3.2"
# authentication
gem 'devise', "~> 2.2.5"
# authorization
gem 'pundit'
# pagination
gem 'kaminari'
# url slugs
gem 'friendly_id', "~> 4.0"
# view models
gem 'draper'
# api
gem 'roar-rails'
# various db / model
gem 'pg'
gem 'acts_as_tree', '~> 1.1'
gem 'yaml_db' # db dump / load
gem 'acts-as-taggable-on', '~> 2.4.1'
# search
gem 'elasticsearch-model', '~> 0.1.9'
gem 'elasticsearch-rails', '~> 0.1.9'
# caching
gem 'cache_digests'
# images
gem 'mini_magick', "~> 4.9"
gem 'carrierwave', '~> 0.8'
# logging
gem 'lograge'
# email
gem 'mail'
gem 'valid_email'
# serialization / parsing
gem 'multi_json'
gem 'yajl-ruby'
gem 'nokogiri'
gem 'unicode_utils'
# app settings
gem 'settingslogic'
# instrumentation
gem 'statsd-ruby', :require => 'statsd'
# http
gem 'faraday'
gem 'typhoeus'
gem 'net-http-persistent'
# cors
gem 'rack-cors', :require => 'rack/cors'
# state machine
gem 'workflow'
# data import
if ENV['LOCAL_IMPORTER']
gem 'hdo-storting-importer', :path => File.expand_path("../../hdo-storting-importer", __FILE__)
else
gem 'hdo-storting-importer', "~> 0.6.0", require: 'hdo/storting_importer'
end
# necessary for ruby 2.2
gem 'test-unit', '~> 3.0'