source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.5.1'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'

gem 'therubyracer'

# Use jquery as the JavaScript library
gem 'jquery-rails'
# autocomplete for search
gem 'jquery-ui-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
gem 'jquery-turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'

# Use Unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# memcached
gem 'dalli'

# web server
gem 'puma'

# scheduler
gem 'whenever', require: false

# authentication
gem 'devise'

# files
gem 'paperclip'

# enable login via rest
gem 'devise_token_auth'
gem 'rack-cors', require: 'rack/cors'

# bootstrap
gem 'bootstrap-sass'

# select box used in search
gem 'select2-rails'

gem 'rmagick'

# Gruff (graphs and charts)
# gem 'gruff'

# Dspace REST API Integration
gem 'dspace_rest_client'

# pretty logs
gem 'rainbow'

# chart js
gem 'chart-js-rails'

# depoyment
gem 'mina'

# management visual framework
gem 'locastyle'

# paginate results
gem 'kaminari'

# docs
gem 'rdoc'
gem 'stackprof'

# awesome font icons
gem 'font-awesome-rails'

group :development do
  gem 'immigrant'

  # mute assets in log
  gem 'quiet_assets'

  # static analysis tool for security vulnerabilities
  gem 'brakeman', require: false

  gem 'dawnscanner', require: false

  # evaluate source code
  gem 'rubycritic', require: false

  # profiler
  gem 'rack-mini-profiler'
  gem 'flamegraph'
  # reduce queries - https://github.com/flyerhzm/bullet
  gem 'bullet'

  gem 'better_errors'

  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug'

  # Access an IRB console on exception pages or by using <%= console %> in views
  gem 'web-console', '~> 2.0'

  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'

  # JavaScript runtime
  gem 'execjs'
end

group :test do
  gem 'shoulda'
end

gem 'streamio-ffmpeg', '~> 1.0.0'

# sidekiq
gem 'sidekiq'
gem 'sinatra', require: false
gem 'slim'

# CUrl
gem 'curb', '~> 0.8.8'

# libArchive (Zip, Rar, ...)
# C extension is required
# For Mac OSX: brew install libarchive && bundle config build.libarchive "--with-opt-dir=/usr/local/opt/libarchive"
# gem 'libarchive', '~> 0.1.2', :require => 'libarchive_ruby'
gem 'libarchive-static'

gem 'gitlab'

# upload
gem 'resumablejs-rails'

# authorization
gem 'pundit'

# elasticsearch integration
gem 'searchkick'

# enable/disable features by enviroments
gem 'feature'

# mass insert in ActiveRecord
gem 'activerecord-import'

# social connect
gem 'social-share-button'
gem 'meta-tags'
gem 'omniauth-facebook'
gem 'omniauth-twitter'
gem 'omniauth-google-oauth2'

# edit in place with ajax
gem 'best_in_place'

# get mime type
gem 'mimemagic'

# html screenshot
gem 'screencap'

gem 'wicked'