This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
/
Gemfile
87 lines (69 loc) · 3.15 KB
/
Gemfile
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# If you're working on more than one datamapper gem at a time, then it's
# recommended to create a local Gemfile and use this instead of the git
# sources. This will make sure that you are developing against your
# other local datamapper sources that you currently work on. Gemfile.local
# will behave identically to the standard Gemfile apart from the fact that
# it fetches the gems from local paths. This means that you can use the
# same environment variables, like ADAPTER when running bundle commands.
# Gemfile.local is added to .gitignore, so you don't need to worry about
# accidentally checking local development paths into git.
#
# bundle exec rake local_gemfile
#
# will give you a Gemfile.local file that points to your local clones of
# the various datamapper gems. It's assumed that all datamapper repo clones
# reside in the same directory. You can use the Gemfile.local like so for
# running any bundle command:
#
# BUNDLE_GEMFILE=Gemfile.local bundle foo
#
# To speed up running bundle tasks, it's recommended to run
#
# bundle lock
#
# after running 'bundle install' for the first time. This will make 'bundle exec' run
# a lot faster compared to the unlocked version. With an unlocked bundle you would
# typically just run 'bundle install' from time to time to fetch the latest sources from
# upstream. When you locked your bundle, you need to run
#
# bundle install --relock
#
# to make sure to fetch the latest updates and then lock the bundle again. Gemfile.lock
# is added to the .gitignore file, so you don't need to worry about accidentally checking
# it into version control.
source 'http://rubygems.org'
DATAMAPPER = 'git://github.com/datamapper'
DM_VERSION = '~> 1.0.0.rc1'
DO_VERSION = '~> 0.10.2'
group :runtime do # Runtime dependencies (as in the gemspec)
gem 'do_oracle', DO_VERSION, :git => "#{DATAMAPPER}/do.git"
gem 'dm-do-adapter', DM_VERSION, :git => "#{DATAMAPPER}/dm-do-adapter.git"
end
group(:development) do # Development dependencies (as in the gemspec)
gem 'dm-migrations', DM_VERSION, :git => "#{DATAMAPPER}/dm-migrations.git"
gem 'rake', '~> 0.8.7'
gem 'rspec', '~> 1.3'
gem 'jeweler', '~> 1.4'
end
group :datamapper do # We need this because we want to pin these dependencies to their git master sources
if ENV['EXTLIB']
gem 'extlib', '~> 0.9.15', :git => "#{DATAMAPPER}/extlib.git", :require => nil
else
gem 'activesupport', '~> 3.0.0.beta3', :git => 'git://github.com/rails/rails.git', :require => nil
end
gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
gem 'data_objects', DO_VERSION, :git => "#{DATAMAPPER}/do.git"
plugins = ENV['PLUGINS'] || ENV['PLUGIN']
plugins = (plugins.to_s.gsub(',',' ').split(' ') + ['dm-migrations']).uniq
plugins.each do |plugin|
gem plugin, DM_VERSION, :git => "#{DATAMAPPER}/#{plugin}.git"
end
end
group :quality do # These gems contain rake tasks that check the quality of the source code
gem 'metric_fu', '~> 1.3'
gem 'rcov', '~> 0.9.7'
gem 'reek', '~> 1.2.7'
gem 'roodi', '~> 2.1'
gem 'yard', '~> 0.5'
gem 'yardstick', '~> 0.1'
end