bones version 3.4.2
by Tim P.
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.
2 bug fixes
- small typo in gem task descriptions [Stephen B.]
- better handling of undefined configuration settings
- gem install bones
If you would like some extra functinoality the following plugins can be
- gem install bones-git
- gem install bones-extras
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.
The ‘bones-extras’ gem provides rake tasks for running Rspec tests,
Rcov on your source code, and pushing releases to RubyForge. You will
have the corresponding gems installed for these tasks to be loaded.
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 gemcutter and rubyforge
- 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.