public
Rubygem
Fork of sam/dm-more
Description: Extras for DataMapper, including bridges to DataObjects::Migrations and Merb::DataMapper
Homepage: http://datamapper.org
Clone URL: git://github.com/dysinger/dm-more.git
Search Repo:
Some tweaks to update to latest DM 0.9.0 compatibility. Not finished...
sam (author)
Fri May 02 14:18:55 -0700 2008
commit  9b0c1a427e1acf9c92b759c1826c2e0ced7335aa
tree    ed5c6dcba5a96e3b76d00309b91e2f416411680a
parent  1e7593b3e941a56ad6e8b5143ced593ef9fc1865
...
1
2
3
 
 
 
 
 
4
5
6
...
1
 
 
2
3
4
5
6
7
8
9
0
@@ -1,6 +1,9 @@
0
 #!/usr/bin/env ruby
0
-require "rubygems"
0
-require "data_mapper"
0
+require 'rubygems'
0
+
0
+gem 'dm-core', '>= 0.9'
0
+require 'data_mapper'
0
+
0
 require "pathname"
0
 require Pathname('data_mapper/cli')
0
 require "optparse"
...
173
174
175
176
 
177
178
179
...
173
174
175
 
176
177
178
179
0
@@ -173,7 +173,7 @@
0
 
0
         begin
0
           configure(argv)
0
- DataMapper::Repository.setup options
0
+ DataMapper.setup(:default, options)
0
 
0
           load_models if config[:models]
0
 

Comments

    No one has commented yet.