Sha256: 8a8afbc45aa920302bc3a911813be7a28ac1c9b43eeac49baa3b1249f31c34a1

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 KB

Contents

source 'https://rubygems.org'

DM_URI = 'http://github.com/datamapper'
DM_VERSION = '~> 1.1.0'
DO_VERSION = '~> 0.10.3'
RONIN_URI = 'http://github.com/ronin-ruby'

gemspec

# DataMapper dependencies
# gem 'data_objects',       DO_VERSION, :git => "#{DM_URI}/do.git"
# gem 'do_sqlite3',         DO_VERSION, :git => "#{DM_URI}/do.git"
# gem 'dm-do-adapter',      DM_VERSION, :git => "#{DM_URI}/dm-do-adapter.git"
# gem 'dm-sqlite-adapter',  DM_VERSION, :git => "#{DM_URI}/dm-sqlite-adapter.git"
# gem 'dm-core',            DM_VERSION, :git => "#{DM_URI}/dm-core.git"
# gem 'dm-types',           DM_VERSION, :git => "#{DM_URI}/dm-types.git"
# gem 'dm-constraints',     DM_VERSION, :git => "#{DM_URI}/dm-constraints.git"
# gem 'dm-migrations',      DM_VERSION, :git => "#{DM_URI}/dm-migrations.git"
# gem 'dm-validations',     DM_VERSION, :git => "#{DM_URI}/dm-validations.git"
# gem 'dm-serializer',      DM_VERSION, :git => "#{DM_URI}/dm-serializer.git"
# gem 'dm-aggregates',      DM_VERSION, :git => "#{DM_URI}/dm-aggregates.git"
# gem 'dm-timestamps',      DM_VERSION, :git => "#{DM_URI}/dm-timestamps.git"

# Library dependencies
# gem 'ronin-support',	'~> 0.4.0.rc1', :git => "#{RONIN_URI}/ronin-support.git"

group :development do
  gem 'rake',         '~> 0.8'

  gem 'ore-tasks',    '~> 0.4'
  gem 'rspec',        '~> 2.4'

  gem 'kramdown',       '~> 0.12'
  gem 'ruby-graphviz',  '~> 0.9.10'
  gem 'dm-visualizer',  '~> 0.2.0'
end

#
# To enable additional DataMapper adapters for development work or for
# testing purposes, simple set the ADAPTER or ADAPTERS environment
# variable:
#
#     export ADAPTER="postgres"
#     bundle install
#
#     ./bin/ronin --database postgres://ronin@localhost/ronin
#
require 'set'

DM_ADAPTERS = Set['postgres', 'mysql', 'oracle', 'sqlserver']

adapters = (ENV['ADAPTER'] || ENV['ADAPTERS']).to_s
adapters = Set.new(adapters.to_s.tr(',',' ').split)

(DM_ADAPTERS & adapters).each do |adapter|
  gem "dm-#{adapter}-adapter", DM_VERSION #, :git => "#{DM_URI}/dm-#{adapter}-adapter.git"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-1.4.0.rc1 Gemfile