Skip to content

Commit

Permalink
New DM repo layout, rails-3.0.0.beta2, rspec-2.0.0.beta.5
Browse files Browse the repository at this point in the history
  • Loading branch information
snusnu committed Apr 5, 2010
1 parent 04d8efe commit 10674fc
Showing 1 changed file with 28 additions and 37 deletions.
65 changes: 28 additions & 37 deletions rails_master_gemfile.rb
@@ -1,19 +1,17 @@
remove_file 'Gemfile'
create_file 'Gemfile' do
<<-GEMFILE
source 'http://gemcutter.org'
source 'http://rubygems.org'
git 'git://github.com/rails/rails.git'
gem 'activesupport', '~> 3.0.0.beta1', :require => 'active_support'
gem 'actionpack', '~> 3.0.0.beta1', :require => 'action_pack'
gem 'railties', '~> 3.0.0.beta1', :require => 'rails'
gem 'activesupport', '~> 3.0.0.beta2', :require => 'active_support'
gem 'actionpack', '~> 3.0.0.beta2', :require => 'action_pack'
gem 'actionmailer', '~> 3.0.0.beta2', :require => 'action_mailer'
gem 'railties', '~> 3.0.0.beta2', :require => 'rails'
# Uncomment this if you need actionmailer
# gem 'actionmailer', '~> 3.0.0.beta1', :require => 'action_mailer'
gem 'data_objects', '~> 0.10.1'
gem 'do_sqlite3', '~> 0.10.1'
gem 'data_objects', '~> 0.10.1'
gem 'do_sqlite3', '~> 0.10.1'
# You can use any of the other available database adapters.
# This is only a small excerpt of the list of all available adapters
Expand All @@ -24,40 +22,33 @@
#
# for a rather complete list of available datamapper adapters and plugins
# gem 'do_mysql', '~> 0.10.1'
# gem 'do_postgres', '~> 0.10.1'
# gem 'do_oracle', '~> 0.10.1'
# gem 'do_mysql', '~> 0.10.1'
# gem 'do_postgres', '~> 0.10.1'
# gem 'do_oracle', '~> 0.10.1'
gem 'dm-core', '~> 0.10.2', :git => 'git://github.com/datamapper/dm-core.git'
datamapper = 'git://github.com/datamapper'
git "git://github.com/datamapper/dm-more.git" do
gem 'dm-types', '~> 0.10.2'
gem 'dm-validations', '~> 0.10.2'
gem 'dm-constraints', '~> 0.10.2'
gem 'dm-aggregates', '~> 0.10.2'
gem 'dm-timestamps', '~> 0.10.2'
gem 'dm-migrations', '~> 0.10.2'
gem 'dm-observer', '~> 0.10.2'
end
gem 'dm-core', '~> 0.10.2', :git => "#{datamapper}/dm-core.git"
gem 'dm-rails', '~> 0.10.2', :git => "#{datamapper}/dm-rails.git"
gem 'dm-types', '~> 0.10.2', :git => "#{datamapper}/dm-types"
gem 'dm-validations', '~> 0.10.2', :git => "#{datamapper}/dm-validations"
gem 'dm-constraints', '~> 0.10.2', :git => "#{datamapper}/dm-constraints"
gem 'dm-transactions', '~> 0.10.2', :git => "#{datamapper}/dm-transactions.git"
gem 'dm-aggregates', '~> 0.10.2', :git => "#{datamapper}/dm-aggregates"
gem 'dm-timestamps', '~> 0.10.2', :git => "#{datamapper}/dm-timestamps"
gem 'dm-migrations', '~> 0.10.2', :git => "#{datamapper}/dm-migrations"
gem 'dm-observer', '~> 0.10.2', :git => "#{datamapper}/dm-observer"
git 'git://github.com/datamapper/dm-transactions.git'
gem 'dm-transactions', '~> 0.10.2'
group(:test) do
git 'git://github.com/datamapper/dm-rails.git'
gem 'dm-rails', '~> 0.10.2'
rspec = 'git://github.com/rspec'
git 'git://github.com/rspec/rspec.git'
git 'git://github.com/rspec/rspec-core.git'
git 'git://github.com/rspec/rspec-expectations.git'
git 'git://github.com/rspec/rspec-mocks.git'
git 'git://github.com/rspec/rspec-rails.git'
gem 'rspec', '2.0.0.beta.5', :git => "#{rspec}/rspec.git"
gem 'rspec-core', '2.0.0.beta.5', :git => "#{rspec}/rspec-core.git", :require => 'rspec/core'
gem 'rspec-expectations', '2.0.0.beta.5', :git => "#{rspec}/rspec-expectations.git", :require => 'rspec/expectations'
gem 'rspec-mocks', '2.0.0.beta.5', :git => "#{rspec}/rspec-mocks.git", :require => 'rspec/mocks'
gem 'rspec-rails', '2.0.0.beta.5', :git => "#{rspec}/rspec-rails.git"
group(:test) do
gem 'rspec', '2.0.0.beta.4'
gem 'rspec-core', '2.0.0.beta.4', :require => 'rspec/core'
gem 'rspec-expectations', '2.0.0.beta.4', :require => 'rspec/expectations'
gem 'rspec-mocks', '2.0.0.beta.4', :require => 'rspec/mocks'
gem 'rspec-rails', '2.0.0.beta.4'
end
GEMFILE
end

2 comments on commit 10674fc

@dkubb
Copy link

@dkubb dkubb commented on 10674fc Apr 5, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the DM git repos need the .git extension or is it optional? Also, what about removing references to the DO drivers, and instead reference the dm adapters for each DB?

@snusnu
Copy link
Owner Author

@snusnu snusnu commented on 10674fc Apr 5, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll reference the extracted adapter gems once dm-core passes specs when using them. The extraction isn't complete yet, specs still need to be ported for one, and I don't want to depend on something I've never ran specs for :)

Please sign in to comment.