Skip to content

adjust/dumbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dumbo

postgres extension with fun

Installation

Add this line to your application's Gemfile:

gem 'dumbo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dumbo

Getting Started

At the command prompt, create a new extension:

dumbo new myextention

where "myextention" is the extension name.

Change directory to myextention to start hacking:

cd myapp

As a stating point take a look at the sample function in

sql/sample.sql

and the corresponding test file

spec/sample_spec.rb

build the extension and run the specs

rake

if you start working on a new version run

rake dumbo:new_version [level]

where level is new version level (major, minor patch)

when you are done you can create the migration files with

rake dumbo:migrations

Contributing

  1. Fork it ( http://github.com/adeven/dumbo/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request