# Edit this Gemfile to bundle your application's dependencies.
# This preamble is the current preamble for Rails 3 apps; edit as needed.
source 'https://rubygems.org'

gem 'rails', '~> 4.0'
gem 'actionmailer'

gem 'mysql2'

# activexml require
gem 'nokogiri', '~>1.6.0'

gem 'tilt', '>= 1.4.1'

# make sure we can delay tasks
gem 'delayed_job_active_record', '>= 4.0.0'
# to have the delayed job daemon
gem 'daemons'

# to fill errbit
gem 'hoptoad_notifier', "~> 2.3"

gem 'rdoc'
gem 'xmlhash', '>=1.3.6'
gem 'ruby-ldap', require: false

# memcache client
gem 'dalli', require: false

# JSON library - the default json conflicts with activerecord (by means of vice-versa monkey patching)
gem 'yajl-ruby'

# for searching in webui - 3.0.5 shows some regressions not yet debugged
gem 'thinking-sphinx'

# don't rely on cron+rake 
gem 'clockwork', '>= 0.7'

# used to paginate search results
gem 'kaminari'

gem 'escape_utils'
gem 'haml'

group :production do
  # if you have an account, it can be configured by
  # placing a config/newrelic.yml
  # be aware about the non-OSS license
#  gem 'newrelic_rpm'
end

group :test do
  gem 'database_cleaner', '>= 1.0.1'
  gem 'ci_reporter'
  gem 'simplecov', require: false
  gem 'minitest', '< 5.0'
  # colorize minitest output
  gem 'minitest-colorize'
  # generate random long strings
  gem 'faker'
  # freeze time
  gem 'timecop'
  # to fake backend replies
  gem 'webmock', '>= 1.9.0'
  # for code quality checks
  gem 'flog', '> 4.1.0'

  gem 'capybara_minitest_spec'

  # See test/test_helper.rb for details:
  gem 'poltergeist', '>= 1.4'

  gem 'mocha', '> 0.13.0', require: false

end

group :development do
  gem 'pry', '>= 0.9.12'
  gem 'unicorn-rails' # webrick won't work
  gem 'rack-mini-profiler'
end

# Gems used only for assets and not required in production environments by default.
group :assets do
  gem 'cssmin', '>= 1.0.2'
  gem 'uglifier', '>= 1.2.2'
  gem 'sass-rails'
  gem 'jquery-datatables-rails'
  gem 'codemirror-rails', '>= 3.13'
  gem 'rails_tokeninput', '>= 1.6.1.rc1'
  gem 'sprite-factory', '>= 1.5.2'
  gem 'chunky_png'

  gem 'jquery-rails'
  gem 'jquery-ui-rails'
  # Use bootstrap as the front-end framework
  gem 'bootstrap-sass-rails'
  # Use font-awesome as scalable vector icons
  gem "font-awesome-rails"
end

