Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Tweaking RDoc.

  • Loading branch information...
commit b7ff56de1db5dd0c1a249d6d40996f89df944eef 1 parent bd3929c
Pavel Kunc authored

Showing 1 changed file with 15 additions and 11 deletions. Show diff stats Hide diff stats

  1. +15 11 README.rdoc
26 README.rdoc
Source Rendered
@@ -2,9 +2,10 @@
2 2
3 3 A plug-in for the Merb framework that provides support for Sequel models.
4 4
5   -This version if fork of the code in the official merb-plugins
6   -(http://github.com/wycats/merb-plugins) repository. To allow faster and
7   -more independent release cycle to keep up with the Sequel monthly releases.
  5 +This is fork of the code in the official merb-plugins
  6 +(http://github.com/wycats/merb-plugins) repository. I did separate repository
  7 +and Gem to allow faster and more independent release cycle to keep up with the
  8 +Sequel monthly releases.
8 9
9 10 Plug-in should be compatible with Merb 0.9.9 and higher and Sequel 1.4.0 and
10 11 higher including 2.x and incoming *3.x*.
@@ -12,13 +13,16 @@ higher including 2.x and incoming *3.x*.
12 13 Any issues please report to http://github.com/pk/merb_sequel/issues.
13 14
14 15
15   -= Install
  16 +== Install
16 17
17   -gem sources -a http://gems.github.com
18   -gem install pk-merb_sequel
  18 + gem install pk-merb_sequel --source http://gems.github.com
19 19
  20 +In Merb, add it as a dependency to your config/dependencies.rb:
  21 +
  22 + dependency 'pk-merb_sequel', :require_as => 'merb_sequel'
20 23
21   -= Connection options
  24 +
  25 +== Connection options
22 26
23 27 Merb Sequel plug-in uses config/database.yml for connection configuration.
24 28
@@ -36,15 +40,15 @@ Options are:
36 40 * username or user, default is an empty string
37 41
38 42
39   -= Generators
  43 +== Generators
40 44
41 45 After you install the plug-in, merb-gen can generate Sequel models for you:
42 46
43   -merb-gen model --orm=sequel Article
  47 + merb-gen model --orm=sequel Article
44 48
45 49 same with the resources
46 50
47   -merb-gen resource --orm=sequel Article
  51 + merb-gen resource --orm=sequel Article
48 52
49 53
50 54 *Note that if you have specified that you use Sequel in init.rb or environment
@@ -53,7 +57,7 @@ via _use_orm :sequel_, you don't need to specify --orm option explicitly when
53 57 using merb-gen*.
54 58
55 59
56   -= Contributors
  60 +== Contributors
57 61
58 62 Originally written by Duane Johnson (canadaduane at gmail.com).
59 63

0 comments on commit b7ff56d

Please sign in to comment.
Something went wrong with that request. Please try again.