Sha256: 8ad315d6d74f138caa3aa670e6494aa79e6de9c657eedb3b43b6352db86a454b

Contents?: true

Size: 833 Bytes

Versions: 3

Compression:

Stored size: 833 Bytes

Contents

# frozen_string_literal: true

source 'https://rubygems.org'

# Specify your gem's dependencies in database_rewinder.gemspec
gemspec

if ENV['RAILS_VERSION'] == 'edge'
  gem 'rails', git: 'https://github.com/rails/rails.git'
elsif ENV['RAILS_VERSION']
  gem 'rails', "~> #{ENV['RAILS_VERSION']}.0"
else
  gem 'rails'
end

gem 'nokogiri', RUBY_VERSION < '2.1' ? '~> 1.6.0' : '>= 1.7'
gem 'loofah', RUBY_VERSION < '2.5' ? '< 2.21.0' : '>= 0'
gem 'selenium-webdriver'

rails_version = ENV['RAILS_VERSION'] || '∞'

case ENV['DB']
when 'postgresql'
  gem 'pg', rails_version <= '5.2' ? '~> 0.21' : '>= 1'
when 'mysql'
  if rails_version <= '4.1'
    gem 'mysql2', '~> 0.3.13'
  elsif rails_version <= '4.2'
    gem 'mysql2', '~> 0.4.0'
  else
    gem 'mysql2'
  end
else
  gem 'sqlite3', rails_version <= '5.0' ? '< 1.4' : '>= 1.4'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
database_rewinder-1.0.1 Gemfile
database_rewinder-1.0.0 Gemfile
database_rewinder-0.9.9 Gemfile