Sha256: bcae7c2adcd3c250c0d6a6ade465111a5432dfdcab817c4090a258e134ec01d5

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 Bytes

Contents

# Defaults. For supported versions check .travis.yml
ENV['rails'] ||= ENV['orm'] == "mongoid4" ? '4.1.0' : '3.2.0'
ENV['orm']   ||= 'active_record'

source 'https://rubygems.org'

# Define Rails version
gem 'rails', "~> #{ENV['rails']}"

gem 'database_cleaner' if ENV['rails'][0] == '4'

case ENV['orm']
when 'active_record'
  gem 'activerecord'

when 'mongoid2'
  gem 'mongoid', '~> 2'
  gem 'bson_ext', '~> 1.7'

when 'mongoid3'
  gem 'mongoid', '~> 3'

when 'mongoid4'
  gem 'mongoid', '~> 4'
  gem 'moped'

when 'mongo_mapper'
  gem 'mongo_mapper', '~> 0.12'
  gem 'bson_ext', '~> 1.7'

end

gemspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doorkeeper-2.0.0.alpha1 Gemfile