Entries tagged with ruby

Twitter Bootstrap theme for RDoc

screen1

I created a RDoc Generator with Bootstrap forked from Hanna Nouveau.

http://ngs.github.io/hanna-bootstrap/

Hanna Bootstrap is available from RubyGems.

gem install hanna-bootstrap

Or git-clone from the repo if you would.

git clone git://github.com/ngs/hanna-bootstrap.git

The templates of this generator are written in HAML, SASS, CoffeeScript.

You can customize your favorite Bootstrap based theme easily. Enjoy!

Using blink(1) as RSpec formatter

I created Ruby library for blink(1) that wraps official blink1-lib C interface.

This video shows runnning RSpec using blink(1) as formatter, shows current status with LED color.

Both are available on RubyGems

gem install rb-blink1
gem install blink1-formatter

GitHub: rb-blink1, blink1-formatter

Open Graph protocol tag helper for nanoc

I’ve created Open Graph protocol tag helper for nanoc to build my corporate site.

To use this helper:

      Download Ruby code
      Place it to lib/nanoc/helpers/ on your nanoc project.
      Add require 'nanoc/helpers/og_tags' to lib/default.rb.
      Now you can use og_tag helper in your templates. For more details see the spec or trace my haml template.