Sha256: 3fdce12093e40db0341e559ed84f03e97039975bb95eb630ac0b547742295897

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

source 'https://rubygems.org'
gemspec

gem 'rake'

rails = ENV['RAILS'] || '6-0-stable'

rails_version = case rails
                when /\// # A path
                  File.read(File.join(rails, "RAILS_VERSION"))
                when /^v/ # A tagged version
                  rails.gsub(/^v/, '')
                else
                  rails
                end

gem 'faker', '~> 0.9.5'
gem 'sqlite3', ::Gem::Version.new(rails_version) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
gem 'pg', '~> 1.0'
gem 'pry', '0.10'
gem 'byebug'

case rails
when /\// # A path
  gem 'activesupport', path: "#{rails}/activesupport"
  gem 'activemodel', path: "#{rails}/activemodel"
  gem 'activerecord', path: "#{rails}/activerecord", require: false
  gem 'actionpack', path: "#{rails}/actionpack"
  gem 'actionview', path: "#{rails}/actionview"
when /^v/ # A tagged version
  git 'https://github.com/rails/rails.git', :tag => rails do
    gem 'activesupport'
    gem 'activemodel'
    gem 'activerecord', require: false
    gem 'actionpack'
  end
else
  git 'https://github.com/rails/rails.git', :branch => rails do
    gem 'activesupport'
    gem 'activemodel'
    gem 'activerecord', require: false
    gem 'actionpack'
  end
end
gem 'mysql2', '~> 0.5.2'

group :test do
  gem 'machinist', '~> 1.0.6'
  gem 'rspec', '~> 3'
  gem 'simplecov', :require => false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ransack-2.3.2 Gemfile
ransack-2.3.1 Gemfile