Pistos / m4dbi

M4DBI is a Ruby library that provides ORM modelling and more to the Ruby DBI library.

This URL has Read+Write access

m4dbi / HIM
100644 51 lines (32 sloc) 1.392 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
== M4DBI - Models (and more) For DBI
 
http://purepistos.net/m4dbi
 
M4DBI is a Ruby library that provides ORM modelling to the Ruby DBI package
( http://ruby-dbi.rubyforge.org/ ).
 
=== Dependencies
 
  - dbi (of course) http://ruby-dbi.rubyforge.org/
    - DBDs for your choice of DBs
  - metaid (gem install metaid)
  - bacon (optional, for running tests; gem install bacon)
    
=== Installation
 
==== Nightly Gem
 
  wget http://rome.purepistos.net/m4dbi/m4dbi-nightly.gem
  gem install m4dbi-nightly.gem
  
==== Repository
 
To use the repository version, you need git ( http://git.or.cz ).
Chances are, there is a git package for your Linux/UNIX flavour.
 
  cd /where/you/want/m4dbi
  git clone git://github.com/Pistos/m4dbi.git
  
Change the following to whatever the equivalent paths are for your system:
 
  cd /usr/lib/ruby/site_ruby/1.8
  ln -s /path/to/cloned/m4dbi/lib/m4dbi
  ln -s /path/to/cloned/m4dbi/lib/m4dbi.rb
 
=== Usage
 
See http://rome.purepistos.net/m4dbi/examples/ . These are automatically
generated from the spec files under the spec/ dir.
 
=== Source Code
 
Browse source at http://github.com/Pistos/m4dbi/tree/master .
See coverage at http://rome.purepistos.net/m4dbi/rcov .
Very limited rdocs at http://rome.purepistos.net/m4dbi/rdoc .
 
=== Feedback and Support
 
On IRC: irc.freenode.net ##mathetes or ##ramaze .
Use http://mibbit.com if you don't have an IRC client.