bones version 3.7.0
by Tim P.
bones | RubyGems.org | your community gem host
Mr Bones is a handy tool that creates new Ruby projects from a code
skeleton. The skeleton contains some starter code and a collection of
tasks to ease the management and deployment of your source code. Several
Bones plugins are available for creating git repositories, creating
projects, running various test suites and source code analysis tools.
- updates to support rake 0.9.0 [gioele]
- support for rubygems 1.8.X
- paragraph_of fixes [gioele]
- gem install bones
If you would like some extra functinoality the following plugins can be
- gem install bones-git
- gem install bones-yard
- gem install bones-rspec
- gem install bones-rcov
A complete list of available plugins is available via the bones command:
bones plugins --all
The ‘bones-git’ gem provides command line options for generating a git
repository and pushing to github upon creation. Rake tasks for working
the git repository are also provided.
To create a new “Get Fuzzy” project:
bones create get_fuzzy
If you ever get confused about what Mr Bones can do:
After your project is created, you can view all the available
Detailed information about the options (or a subset of options) can also
rake bones:help #=> for all options
rake bones:help gem #=> for the “gem” subset
Mr Bones is configurable, helpful, and it simplifies project
Mr Bones simplifies project creation by using a code template for
a new working area for your code. This skeleton is customizable, and you
have multiple skeletons for various types of projects you work on - ruby
libraries, web applications, or even writing projects.
When working with Rake, Mr Bones provides a set of tasks that help
common development tasks. These tasks include …
- release announcements
- gem packaging and management
- releasing to rubygems.org and rubyforge.org
- annotation listing (TODO, FIXME, etc)
The provided rake tasks are configured using a “Bones” configuration
the Rakefile. You can obtain a list of the available options and
help for each option by running the various “bones” tasks (use “rake -T”
list the available tasks). Although there are many configuration
vast majority of them have sensible defaults; tailor to suit your needs
Bones configuration block.
Mr Bones can be extended via plugins. The plugins provide new rake tasks
configuration options for those tasks. Other developers can release
automate the use of their libraries in a bones enabled system.
Currently there are a “bones-git” plugin for interacting with github and
repositories and a “bones-extras” plugin for working with Rcov,
There is far more information available in the Mr Bones manual.