Mr Bones 2.2.0 (Distal Phalanges)

Mr Bones version 2.2.0
by Tim P.
http://codeforpeople.rubyforge.org/bones
(the “Distal Phalanges” release)

== DESCRIPTION

Mr Bones is a handy tool that builds a skeleton for your new Ruby
projects.
The skeleton contains some starter code and a collection of rake tasks
to
ease the management and deployment of your source code. Mr Bones is not
viral – all the code your project needs is included in the skeleton (no
gem dependency required).

== CHANGES

  • 4 minor enhancements
    • projects can be instantiated from git or svn repositories
    • added a task to generate a project gemspec for use on github [Sandro
      Turriate]
    • Mr Bones erb translation is now applied to files with a
      ‘.bns’ extension instead of an ‘.erb’ extension
    • refactored the main bones application
  • 1 bugfix
    • Mr Bones tasks are only added to the gemspec when a package
      is being built

You can instantiate a new project from a git or svn repository. For
example,
if you would like to use the “bort” rails template from github, you can
type
in the following:

bones create --repository git://github.com/fudgestudios/bort.git foo

Typing in the full path to the repository each time is tedious. You can
create an alias by freezing the repository and giving it an easy to
remember
name.

bones freeze --repository git://github.com/fudgestudios/bort.git bort

This does not checkout a copy of the repository; it give us an easy to
use
alias when we want to create a new proejct based on the repository. The
following command will use our new alias to instantiate a new project
called
“foo”:

bones create --skeleton bort foo

If the repository contains ‘.bns’ files they will be filtered through
the
ERb templating system. All the custom modifications described in the
next
section apply to repository based skeletons as well.

== INSTALL

  • sudo gem install bones

== SYNOPSIS

To create a new “Get Fuzzy” project:

bones create get_fuzzy

If you ever get confused about what Mr Bones can do:

bones --help

== REQUIREMENTS

Mr Bones does not have any “requirements”, but if you do not have the
following gems installed you will not get all that Mr Bones has to
offer.

  • rubyforge - for easy gem publishing to rubyforge.org
  • rcov - for code coverage testing
  • rspec - if that’s the way you roll
  • facets - for pretty colors

Actually, you will need at least version 1.2.0 of rubygems installed to
use
Mr Bones.

== FUN FACT

“Tom Sawyer” was the first novel written on a typewriter.

== POST SCRIPT

Blessings,
TwP