• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 16 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mr Bones is a handy tool that creates new projects from a code skeleton

.github/workflows/ruby.yml

Mr Bones

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 rake tasks to ease the management and deployment of your source code. Several Mr Bones plugins are available for creating git repositories, creating GitHub projects, running various test suites and source code analysis tools.

https://rubygems.org/gems/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

After your project is created, you can view all the available configuration options:

rake bones:options

Detailed information about the options (or a subset of options) can also be displayed:

rake bones:help        #=> for all options
rake bones:help gem    #=> for the "gem" subset

Features

Mr Bones is configurable, helpful, and it simplifies project development.

Mr Bones simplifies project creation by using a code template for generating a new working area for your code. This skeleton is customizable, and you can 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 simplify common development tasks. These tasks include ...

  • release announcements
  • gem packaging and management
  • releasing to rubygems.org
  • documentation
  • annotation listing (TODO, FIXME, etc)
  • testing

The provided rake tasks are configured using a "Bones" configuration block in the Rakefile. You can obtain a list of the available options and descriptive help for each option by running the various "bones" tasks (use "rake -T" to list the available tasks). Although there are many configuration options, the vast majority of them have sensible defaults; tailor to suit your needs in the Bones configuration block.

Mr Bones can be extended via plugins. The plugins provide new rake tasks and configuration options for those tasks. Other developers can release plugins to automate the use of their libraries in a bones enabled system.

Currently there are a "bones-git" plugin for interacting with github and git repositories and a "bones-extras" plugin for working with Rcov, RubyForge, and Rspec.

Install

gem install bones

If you would like some extra functionality the following plugins can be installed:

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 with the git repository are also provided.

Development

Download a copy of the source code from GitHub

git clone https://github.com/TwP/bones.git

Run the bootstrap script to install the development dependencies

script/bootstrap

You should now be able to run the test specs and see them pass

rake spec

Acknowledgements

Ryan Davis and Eric Hodel and their Hoe gem (from which much of the Mr Bones rake tasks have been stolen). The rails team and their source annotation extractor. Bruce Williams for help in coming up with the project name. Ara T. Howard for letting me squat in the codeforpeople rubyforge project.

More Repositories

1

logging

A flexible logging library for use in Ruby programs based on the design of Java's log4j library.
Ruby
523
star
2

webby

NO LONGER UNDER DEVELOPMENT
Ruby
266
star
3

servolux

Threads : Servers : Forks : Daemons
Ruby
197
star
4

inifile

Native Ruby package for reading and writing INI files
Ruby
95
star
5

logging-rails

Railtie for integrating the Logging framework with Rails
Ruby
81
star
6

directory_watcher

Event notification for file system changes
Ruby
73
star
7

little-plugger

A gems based plugin framework for Ruby
Ruby
31
star
8

loquacious

tell everyone how to configure your project
Ruby
19
star
9

dotfiles

my dotfiles
Vim Script
18
star
10

jquery-ui.flipbook

jQuery UI FlipBook image viewer
JavaScript
11
star
11

pixel_pi

A library for controlling NeoPixels via Ruby on the RaspberryPi
C
8
star
12

polylog

Logging Framework Abstraction Layer
Ruby
8
star
13

bitwise

Packed binary data manipulation library for Ruby
Ruby
7
star
14

spawner

Manage a collection of child processes in a cross platform fashion
Ruby
7
star
15

mmap

Guy Decuox's mmap library for ruby
C
6
star
16

miscellanea

fun, exciting, and useful chunks of text and software
Tcl
6
star
17

logging-email

An email appender for the Ruby Logging framework
Ruby
5
star
18

expiration-date

auto expiring / auto refreshing attributes for all your ruby classes
Ruby
5
star
19

elasticon-2015

Talk for Elastic{on} 2015
4
star
20

githubbub

making rubyforge and github play together
Ruby
4
star
21

pdf_merge

OS X utility for merging PDF documents
Ruby
4
star
22

enigma

Presentation for the Boulder Ruby Users Group
Ruby
3
star
23

bones-git

Ruby
3
star
24

heap_hop

Ruby heap parser and analyzer
Ruby
3
star
25

bones-rspec

Mr Bones plugin for RSpec
Ruby
3
star
26

bones-extras

Extra plugins for Mr Bones
Ruby
2
star
27

bones-rcov

Mr Bones plugin for rcov tasks
Ruby
2
star
28

logtastic

A web application for storing, searching, and viewing log events
JavaScript
2
star
29

pixelbot

Tasty integration of neopixels and web services
Ruby
2
star
30

bones-yard

Mr Bones plugin for the Yard documentation gem
Ruby
1
star
31

MacCraft

tools for the private MacOS Minecraft server
Ruby
1
star
32

bones-rubyforge

Mr Bones plugin for the Rubyforge gem
Ruby
1
star
33

roadie

environment based configuration
Ruby
1
star
34

bones-zentest

Mr Bones plugin for the ZenTest gem
Ruby
1
star
35

twp.github.io

Pea53 GitHub Pages
CSS
1
star