0.0
No commit activity in last 3 years
No release in over 3 years
This gems will help you generate Sinatra Skeleton and CRUD Scaffold.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

SweetSinatra

Currently under construction. We are going to debug and leave this gem in a functional basic stage soon. We built SweetSinatra in 8 hours and won the Best Back-end category at the August DBC Hackaton.

Installation

Add this line to your application's Gemfile:

gem 'sweetsinatra'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sweetsinatra

Usage

Create a new sinatra app project

$ sweetsinatra new APP_NAME

Create a scaffold

$ sweetsinatra scaffold TABLE_NAME FIELD_NAME DATA_TYPE *

*create as many fields you need by repeating the "FIELD_NAME DATA_TYPE" command

Contributing

  1. Fork it ( https://github.com/[my-github-username]/SweetSinatra/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 a new Pull Request