team-umlaut/umlaut

View on GitHub
Gemfile

Summary

Maintainability
Test Coverage
source "https://rubygems.org"

# Declare your gem's dependencies in umlaut.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec

group :development, :test do

  platforms :jruby do
    gem 'activerecord-jdbc-adapter', "~> 1.2", ">= 1.2.9"
    gem 'jdbc-mysql', ">= 5.1.24", :require => false
    gem 'jruby-rack'
    gem 'therubyrhino'
    gem 'jruby-openssl'
  end

  platforms :ruby do
    gem 'mysql2', ">= 0.3.11", "< 0.4.0" # mysql2 0.4.0 does not work with rails 4.2.4. Later Rails it should. 
    # the ruby racer needed for running app tests on platforms
    # without javascript runtime found. 0.12 is having a hard
    # time installing on my OSX, 0.11.x is good enough for these purposes. 
    gem 'therubyracer', "~> 0.11.0"
  end

  platforms :mri do
    gem 'ruby-prof', "~> 0.13.0"
  end

  gem 'jquery-rails'
  gem "activerecord-import"
end

group :debug do
  gem 'debugger', :platform => :mri_19
  gem 'byebug',   :platform => [:mri_21, :mri_22]
  gem 'ruby-debug', :platform => :jruby
end

# Add coveralls for testing.
gem "coveralls", "~> 0.6.0", :require => false, :group => :test

# This is experimental and mainly used for testing. If you want to test against
# Rails 3.2, try:
#     $ RAILS_GEM_SPEC="~> 3.2.0" bundle update
#     $ RAILS_GEM_SPEC="~> 3.2.0" bundle exec rake test
if ENV["RAILS_GEM_SPEC"]
  gem "rails", ENV["RAILS_GEM_SPEC"]
  # Our tests assume minitest, but Rails 3 is only compatible with
  # older versions of minitest. This works for now. 
  if ENV["RAILS_GEM_SPEC"] =~ /([\d.]+)/ && $1.split(".")[0].to_i < 4
    gem "minitest", "~> 4.0"
  end
end

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.