Project

hoboken

0.03
No release in over a year
Sinatra project generator.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.1.0
~> 2.2
~> 0.1
~> 2.7
~> 1.10
~> 5.2
~> 2.6
~> 1.0
~> 1.1
~> 3.10
~> 1.12
~> 2.4
~> 5.43
~> 2.1
~> 1.4
~> 3.4
~> 4.2
~> 1.2
~> 12.0
~> 2.12
~> 4.6
~> 12.3
~> 6.2
~> 0.21
~> 4.3
~> 6.0
~> 3.13

Runtime

~> 1.1
 Project Readme

Hoboken

Gem Version Build Status Maintainability

Sinatra project generator and templates.

Installation

$ gem install hoboken

Usage

To see a list of available commands:

$ hoboken

Generating a new project:

$ hoboken generate [APP_NAME] [OPTIONS]

To see a list of options for the generate command:

$ hoboken help generate
Usage:
  hoboken generate [APP_NAME]

Options:
  [--ruby-version=RUBY_VERSION]      # Ruby version for Gemfile
  [--tiny], [--no-tiny]              # Generate views inline; do not create /public folder
  [--type=TYPE]                      # Architecture type (classic or modular)
                                     # Default: classic
  [--git], [--no-git]                # Create a Git repository and make initial commit
  [--api-only], [--no-api-only]      # API only, no views, public folder, etc.
  [--test-framework=TEST_FRAMEWORK]  # Testing framework; can be either test-unit or rspec
                                     # Default: test-unit

Generate a new Sinatra app

Additional Generators

Additional generators are available for existing projects generated using Hoboken:

$ hoboken add:github_action    # Github action that runs CI task
$ hoboken add:heroku           # Heroku deployment support
$ hoboken add:i18n             # Internationalization support using sinatra-r18n
$ hoboken add:metrics          # Add metrics (flog, flay, simplecov)
$ hoboken add:omniauth         # OmniAuth authentication (allows you to select a provider)
$ hoboken add:rubocop          # Basic Rubocop configuration and Rake task.
$ hoboken add:sequel           # Database access via Sequel gem
$ hoboken add:sidekiq          # Background processing with the Sidekiq gem
$ hoboken add:travis           # Basic Travis-CI YAML config
$ hoboken add:turnip           # Gherkin extension for RSpec
$ hoboken add:twbs             # Twitter Bootstrap (requires Sprockets add-on)
$ hoboken add:vcr              # Record HTTP interactions and replay them during test runs

Resources