Mr Bones 2.0.0 (Pygmy Orchestra)

Mr Bones version 2.0.0
by Tim P.
http://codeforpeople.rubyforge.org/bones
(the “Pygmy Orchestra” 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

  • 2 major enhancements
    • Reworked the PROJ open struct to use nested open struct
      objects
    • Renamed a few of the .rake files to match the namespaces
      they define
  • 4 minor enhancements
    • Selectable project skeleton when creating a new project
    • Added an empty ‘prereqs’ task to several of the namespaces
      (can be used for running code before any of the
      tasks in that namespace are invoked)
    • Extra refinement on notes
      rake notes TwP #=> all notes for TwP
      rake notes:todo TwP #=> all todos for TwP
    • Insalling a gem will no longer try to update the gem
      sources from RubyForge
  • 1 bug fix
    • On some systems, the quiet method was not reopening
      stdout and stderr correctly

== VERSION 2.0.0 CHANGES

Version 2.0.0 of Mr Bones introduces backwards incompatibilities. Here
is
what you need to update in order for your current projects to work with
this latest release.

Perform an update the tasks in your project directory:

bones -u your/project/directory

The following .rake files have been renamed in Mr Bones 2.0.0 (the old
name is on the left and the new name is on the right). You will need to
delete the old version and use only the new version.

doc.rake => rdoc.rake
annotations.rake => notes.rake

The PROJ openstruct has been amended to contain a collection of nested
openstructs. This will affect any settings you might have in the
top-level Rakefile for your project. Here is the translation key (old
names on the left and new names on the right).

rubyforge_name => rubyforge.name

specs => spec.files
spec_opts => spec.opts

tests => test.files
test_file => test.file
test_opts => test.opts

rcov_dir => rcov.dir
rcov_opts => rcov.opts
rcov_threshold => rcov.threshold
rcov_threshold_exact => rcov.threshold_exact

rdoc_opts => rdoc.opts
rdoc_include => rdoc.include
rdoc_exclude => rdoc.exclude
rdoc_main => rdoc.main
rdoc_dir => rdoc.dir
rdoc_remote_dir => rdoc.remote_dir

dependencies => gem.dependencies
executables => gem.executables
extensions => gem.extensions
files => gem.files
need_tar => gem.need_tar
need_zip => gem.need_zip
post_install_message => gem.extras[‘post_install_message’]

annotation_exclude => notes.exclude
annotation_extensions => notes.extensions
annotation_tags => notes.tags

svn => svn.path
svn_root => svn.root
svn_trunk => svn.trunk
svn_tags => svn.tags
svn_branches => svn.branches

ann_file => ann.file
ann_text => ann.text
ann_paragraphs => ann.paragraphs
ann_email => ann.email

And of course, each name should be prepended with PROJ in your Rakefile.

== INSTALL

  • sudo gem install bones

== SYNOPSIS

To create a new “Get Fuzzy” project:

bones get_fuzzy

If a new release of Mr Bones comes out with better features the “Get
Fuzzy”
project will need to be updated:

bones --update get_fuzzy

And if you ever get confused about what Mr Bones can do:

bones --help

== FUN FACT

The number of left-handed men is double that of left-handed women.

== POST SCRIPT

Blessings,
TwP

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs