2016-01-28 18:55:15 +00:00
|
|
|
source 'https://rubygems.org'
|
2012-04-10 13:31:21 +00:00
|
|
|
|
2015-12-03 13:42:02 +00:00
|
|
|
ruby '2.2.3'
|
2015-12-03 10:09:18 +00:00
|
|
|
|
2016-03-15 16:10:11 +00:00
|
|
|
gem 'rails', '4.2.6'
|
2013-08-22 20:29:24 +00:00
|
|
|
gem 'rails-observers'
|
|
|
|
gem 'activerecord-session_store'
|
2013-05-27 07:24:09 +00:00
|
|
|
|
2012-04-10 13:31:21 +00:00
|
|
|
# Bundle edge Rails instead:
|
2012-04-10 14:06:46 +00:00
|
|
|
#gem 'rails', :git => 'git://github.com/rails/rails.git'
|
2012-04-10 13:31:21 +00:00
|
|
|
|
|
|
|
gem 'json'
|
|
|
|
|
|
|
|
# Gems used only for assets and not required
|
|
|
|
# in production environments by default.
|
|
|
|
group :assets do
|
2014-11-13 20:03:29 +00:00
|
|
|
gem 'sass-rails' #, github: 'rails/sass-rails'
|
2014-05-20 19:49:48 +00:00
|
|
|
gem 'coffee-rails'
|
2015-04-13 14:33:10 +00:00
|
|
|
gem 'coffee-script-source'
|
2015-04-13 16:56:52 +00:00
|
|
|
|
2015-09-09 14:14:51 +00:00
|
|
|
gem 'sprockets'
|
2015-04-16 20:15:49 +00:00
|
|
|
|
2013-08-04 21:41:11 +00:00
|
|
|
gem 'uglifier'
|
2015-04-13 09:52:32 +00:00
|
|
|
gem 'eco'
|
2012-04-10 13:31:21 +00:00
|
|
|
end
|
|
|
|
|
2015-06-10 09:47:37 +00:00
|
|
|
gem 'autoprefixer-rails', '>=5.2'
|
2015-05-28 08:39:15 +00:00
|
|
|
|
2012-11-07 12:30:27 +00:00
|
|
|
gem 'omniauth'
|
|
|
|
gem 'omniauth-twitter'
|
|
|
|
gem 'omniauth-facebook'
|
|
|
|
gem 'omniauth-linkedin'
|
2012-04-29 21:28:45 +00:00
|
|
|
gem 'omniauth-google-oauth2'
|
2012-04-10 14:06:46 +00:00
|
|
|
|
2015-12-17 18:15:50 +00:00
|
|
|
gem 'zendesk_api'
|
|
|
|
|
2015-12-11 12:06:36 +00:00
|
|
|
gem 'twitter'
|
2012-04-29 21:28:45 +00:00
|
|
|
gem 'koala'
|
2016-01-28 18:55:15 +00:00
|
|
|
gem 'mail'
|
2016-02-01 09:23:55 +00:00
|
|
|
gem 'email_verifier'
|
2016-02-03 13:33:03 +00:00
|
|
|
gem 'htmlentities'
|
2012-04-10 14:06:46 +00:00
|
|
|
|
2012-04-29 21:28:45 +00:00
|
|
|
gem 'mime-types'
|
2012-04-10 14:06:46 +00:00
|
|
|
|
2015-09-10 19:09:50 +00:00
|
|
|
gem 'biz'
|
|
|
|
|
2012-04-10 14:06:46 +00:00
|
|
|
gem 'delayed_job_active_record'
|
2012-04-29 21:28:45 +00:00
|
|
|
gem 'daemons'
|
|
|
|
|
|
|
|
gem 'simple-rss'
|
2012-04-10 14:06:46 +00:00
|
|
|
|
2012-04-14 11:30:41 +00:00
|
|
|
# e. g. on linux we need a javascript execution
|
2014-12-09 10:41:34 +00:00
|
|
|
gem 'libv8'
|
2014-08-13 15:44:54 +00:00
|
|
|
gem 'execjs'
|
|
|
|
gem 'therubyracer'
|
2012-04-14 11:30:41 +00:00
|
|
|
|
2016-01-22 10:56:32 +00:00
|
|
|
# Include database gems for the adapters found in the database
|
|
|
|
# configuration file, thanks to redmine, taken from https://github.com/redmine/redmine/blob/master/Gemfile
|
|
|
|
require 'erb'
|
|
|
|
require 'yaml'
|
|
|
|
database_file = File.join(File.dirname(__FILE__), 'config/database.yml')
|
|
|
|
if File.exist?(database_file)
|
|
|
|
database_config = YAML.load(ERB.new(IO.read(database_file)).result)
|
|
|
|
adapters = database_config.values.map { |c| c['adapter'] }.compact.uniq
|
|
|
|
if adapters.any?
|
|
|
|
adapters.each do |adapter|
|
|
|
|
case adapter
|
|
|
|
when 'mysql2'
|
|
|
|
gem 'mysql2', '~> 0.3.20'
|
|
|
|
when /postgresql/
|
|
|
|
gem 'pg'
|
|
|
|
when /sqlite3/
|
|
|
|
gem 'sqlite3'
|
|
|
|
else
|
|
|
|
warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
|
|
|
warn('No adapter found in config/database.yml, please configure it first')
|
|
|
|
end
|
|
|
|
else
|
|
|
|
warn('Please configure your config/database.yml first')
|
|
|
|
end
|
2012-04-14 11:30:41 +00:00
|
|
|
|
2013-02-07 21:24:03 +00:00
|
|
|
gem 'net-ldap'
|
|
|
|
|
2014-05-12 08:03:48 +00:00
|
|
|
gem 'writeexcel'
|
2015-04-13 09:52:32 +00:00
|
|
|
gem 'icalendar'
|
2015-08-17 13:25:41 +00:00
|
|
|
gem 'browser'
|
2014-05-12 08:03:48 +00:00
|
|
|
|
2016-04-15 21:56:10 +00:00
|
|
|
# integrations
|
|
|
|
gem 'slack-notifier'
|
|
|
|
|
2012-07-23 22:22:23 +00:00
|
|
|
# event machine
|
|
|
|
gem 'eventmachine'
|
|
|
|
gem 'em-websocket'
|
2012-11-08 20:11:54 +00:00
|
|
|
|
2015-10-07 18:42:29 +00:00
|
|
|
gem 'diffy'
|
|
|
|
|
2015-04-13 09:52:32 +00:00
|
|
|
# Gems used only for develop/test and not required
|
2013-01-23 07:28:03 +00:00
|
|
|
# in production environments by default.
|
|
|
|
group :development, :test do
|
|
|
|
|
2015-04-30 17:14:51 +00:00
|
|
|
gem 'test-unit'
|
2015-05-01 11:53:35 +00:00
|
|
|
gem 'spring'
|
|
|
|
gem 'sqlite3'
|
2012-11-12 18:29:22 +00:00
|
|
|
|
2015-05-01 11:53:35 +00:00
|
|
|
# code coverage
|
|
|
|
gem 'simplecov'
|
|
|
|
gem 'simplecov-rcov'
|
2012-11-12 18:29:22 +00:00
|
|
|
|
2015-05-01 11:53:35 +00:00
|
|
|
# UI tests w/ Selenium
|
|
|
|
gem 'selenium-webdriver'
|
2013-01-23 07:28:03 +00:00
|
|
|
|
2015-05-01 11:53:35 +00:00
|
|
|
# livereload on template changes (html, js, css)
|
2015-09-29 13:00:30 +00:00
|
|
|
gem 'guard', '>= 2.2.2', require: false
|
|
|
|
gem 'guard-livereload', require: false
|
2015-05-01 11:53:35 +00:00
|
|
|
gem 'rack-livereload'
|
2015-09-29 13:00:30 +00:00
|
|
|
gem 'rb-fsevent', require: false
|
2015-04-27 13:34:28 +00:00
|
|
|
|
2015-05-01 11:53:35 +00:00
|
|
|
# code QA
|
2015-11-30 13:06:12 +00:00
|
|
|
gem 'pre-commit'
|
2015-05-01 11:53:35 +00:00
|
|
|
gem 'rubocop'
|
2015-11-30 13:06:12 +00:00
|
|
|
gem 'coffeelint'
|
|
|
|
|
2013-01-23 07:28:03 +00:00
|
|
|
end
|
2013-02-26 21:23:25 +00:00
|
|
|
|
2016-03-17 10:58:42 +00:00
|
|
|
gem 'puma'
|
2016-01-22 10:56:32 +00:00
|
|
|
|
|
|
|
# load onw gem's
|
|
|
|
local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local')
|
|
|
|
if File.exist?(local_gemfile)
|
|
|
|
eval_gemfile local_gemfile
|
|
|
|
end
|