Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Nyan Cat flies across your terminal while your RSpec specs run!

branch: master
Octocat-spinner-32 bin Fix Ruby 1.8.6+ compatability October 08, 2011
Octocat-spinner-32 docs Enhance documentation October 08, 2011
Octocat-spinner-32 lib Extract Buffer October 09, 2011
Octocat-spinner-32 spec Optimize printing escape codes for coloured Nyan October 09, 2011
Octocat-spinner-32 test Benchmark October 09, 2011
Octocat-spinner-32 .gitignore Enhance documentation October 08, 2011
Octocat-spinner-32 .rspec Initial commit October 07, 2011
Octocat-spinner-32 Gemfile Initial commit October 07, 2011
Octocat-spinner-32 Guardfile Initial commit October 07, 2011
Octocat-spinner-32 README.md Typo October 09, 2011
Octocat-spinner-32 Rakefile Add Rake as dev dependency October 07, 2011
Octocat-spinner-32 nyan.gemspec Specify RSpec min version October 10, 2011
README.md

Nyan travis-ci

Your favourite aging meme is reheated as an RSpec custom formatter.

For entertainment purposes only.

NYAN?

FAQ

  • Didn't this meme jump the shark, like, ages ago?

Yes.

  • It's got no tail

Look closer.

  • It's got no feet!

LOOK CLOSER.

  • It's really slow

Write faster specs.

  • It's still really slow

Send me a pull request where the animation runs in a separate thread.

  • The colours are all wrong

Probably need a new graphics card or something.

Requirements

  • Your terminal window should have a black background and be at least 180 columns x 50 rows.
  • RSpec 2 (tested against RSpec 2.6)

Install

Add to your Gemfile (usually inside your :test group):

gem "nyan"

Alternatively install directly:

$ gem install nyan

Usage

Your terminal window should have a black background and be at least 180 columns x 50 rows.

$ rspec spec -f Nyan::Formatter

Or if you want the joy of Nyan without running specs, use the binary:

$ nyan

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Testing

$ rake

Author

Dave Nolan

Something went wrong with that request. Please try again.