Sha256: 28701403454910af6ce266008589dc551b5b1e10bce3a7cd8a56d3b8de5dd7db

Contents?: true

Size: 634 Bytes

Versions: 3

Compression:

Stored size: 634 Bytes

Contents

source 'http://rubygems.org'

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

active_record_version = ENV['ACTIVE_RECORD_VERSION'] || 'default'

active_record_opts =
  case active_record_version
  when 'master'  then {github: 'rails/rails'}
  when 'default' then '~> 3.0'
  else "~> #{active_record_version}"
  end

mongoid_version = ENV['MONGOID_VERSION'] || 'default'

mongoid_opts =
  case mongoid_version
  when 'master'  then {github: 'mongoid/mongoid'}
  when 'default' then '~> 3.0'
  else "~> #{mongoid_version}"
  end

gem 'activerecord', active_record_opts
gem 'mongoid', mongoid_opts

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
by_star-2.2.1 Gemfile
by_star-2.2.0 Gemfile
by_star-2.2.0.rc1 Gemfile