Sha256: c5e8757fe3107b67c7fb3d46ad6159b906317e80429cc5541ddd995bbd1595e1

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

source :rubygems

MONGO_VERS = '1.8.0' unless defined? MONGO_VERS

RAILS_VERS = case ENV['RAILS_VERS']
             when '3.1'
               '~>3.1.0'
             when '3.2'
               '~>3.2.0'
             when nil
               nil
             else
               raise "Invalid RAILS_VERS.  Available versions are 3.1, and 3.2."
             end

gemspec

group :development, :test do
  gem 'rake'
  if !ENV['MONGO_SESSION_STORE_ORM'] || ENV['MONGO_SESSION_STORE_ORM'] == 'mongo_mapper'
    gem 'mongo_mapper', '>= 0.10.1'
  end

  if !ENV['MONGO_SESSION_STORE_ORM'] || ENV['MONGO_SESSION_STORE_ORM'] == 'mongoid'
    gem 'mongoid', '~> 3.0', :platforms => [:ruby_19, :jruby]
  end

  gem 'mongo',         MONGO_VERS
  gem 'bson_ext',      MONGO_VERS, :platforms => :ruby

  gem 'system_timer', :platforms => :ruby_18
  gem 'rbx-require-relative', '0.0.5', :platforms => :ruby_18
  gem 'ruby-debug',   :platforms => :ruby_18 unless ENV['TRAVIS']
  gem 'debugger',     :platforms => :ruby_19 unless ENV['TRAVIS']

  if RUBY_PLATFORM == 'java'
    gem 'jdbc-sqlite3'
    gem 'activerecord-jdbc-adapter'
    gem 'activerecord-jdbcsqlite3-adapter'
    gem 'jruby-openssl'
    gem 'jruby-rack'
  else
    gem 'sqlite3' # for devise User storage
  end
  RAILS_VERS ? gem('rails', RAILS_VERS) : gem('rails')
  gem 'rspec-rails'
  gem 'devise'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_session_store-rails3-4.0.0 Gemfile