forked from ronin-rb/ronin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGemfile
More file actions
59 lines (47 loc) · 1.99 KB
/
Gemfile
File metadata and controls
59 lines (47 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
source 'https://rubygems.org'
DM_URI = 'http://github.com/datamapper'
DM_VERSION = '~> 1.2'
DO_VERSION = '~> 0.10.3'
RONIN_URI = 'http://github.com/ronin-ruby'
gemspec
gem 'jruby-openssl', '~> 0.7', :platforms => :jruby
# 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-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.5', :git => "#{RONIN_URI}/ronin-support.git"
group :development do
gem 'rake', '~> 10.0'
gem 'rubygems-tasks', '~> 0.1'
gem 'rspec', '~> 2.4'
gem 'kramdown', '~> 1.0'
gem 'kramdown-man', '~> 0.1'
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