Giter VIP home page Giter VIP logo

nyan-cat-formatter's Introduction

About Me

Website GitHub LinkedIn

I am a creator at heart with a passion for building things that people love. I also love making art - sketching, photography, and designing fills my soul.

Since 1999 I’ve had the privilege of shipping exceptional products to customers around the world. I’ve led teams ranging in size from 1 to 100 at start-ups and fortune 500 companies.

I graduated from business school in 2002 with a degree in Management Information Systems. In my junior year of college, I was hired by LexisNexis where I eventually lead small and large teams shipping a wide range of large-scale enterprise products.

In the recent past, I owned and operated a distinguished consulting firm Littlelines — specializing in shippinng products for small and large companies worldwide. For fourteen years, I lead engineering and design teams shipping hundreds of products for our clients. In 2020, the company was acquired.

Today, I’m the CEO of StaticPop Co., a small portfolio of digital companies I own or have invested in. I'm currently available for investment opportunities, business coaching, product strategy, speaking, and mentoring. If interested, please feel free to reach out.

nyan-cat-formatter's People

Contributors

albertbellonch avatar banzaiman avatar blackxored avatar czarneckid avatar dinduks avatar docwhat avatar edgibbs avatar firefly21 avatar gonzih avatar jonrowe avatar kmcphillips avatar kyanny avatar malditogeek avatar mattsears avatar parndt avatar pawurb avatar phallguy avatar philipmw avatar pinglamb avatar rewinfrey avatar rgould avatar serabe avatar sferik avatar tpickett66 avatar unimatrixzxero avatar wyattisimo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nyan-cat-formatter's Issues

ruby 2.4.0 fixnum deprecation warnings

/Users/chrishough/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/nyan-cat-formatter-0.11/lib/nyan_cat_formatter/rspec3.rb:20: warning: constant ::Fixnum is deprecated
37/37: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_,------,
37/37: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_|   /\_/\
 0/37: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-^|__( - .-)
 0/37: -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- " "  " "

How do we remove these?

Display currently-running test

Sometimes there's an infinite loop in a test. When this happens, one must switch away from nyan-cat-formatter to figure out which test is causing the problem.

It would be good if a line of nyan-cat-formatter was dedicated to displaying which test is currently running.

`formatter=': Formatter 'NyanCatFormatter' unknown

After using nyan-cat-formatter there is an error:

i use rspec-core-2.0.0.beta.12

/rspec/core/configuration.rb:183:in formatter=': Formatter 'NyanCatFormatter' unknown -
maybe you meant 'documentation' or 'progress'?. (ArgumentError)`

Greetings

Blows up on Rspec 3.0.0

Failure/Error: Unable to find matching line from backtrace
NoMethodError:
 undefined method `success_color' for #<RSpec3:0x007fb0b29a1b58>
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:107:in `scoreboard'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:56:in `block in progress_lines'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:55:in `each'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:55:in `each_with_index'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:55:in `each'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:55:in `inject'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:55:in `progress_lines'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:49:in `dump_progress'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/common.rb:25:in `tick'
# /vendor/bundler/gems/nyan-cat-formatter-0.7.0/lib/nyan_cat_formatter/rspec3.rb:36:in `example_passed'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/reporter.rb:137:in `block in notify'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/reporter.rb:136:in `each'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/reporter.rb:136:in `notify'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/reporter.rb:90:in `example_passed'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example.rb:327:in `finish'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example.rb:176:in `run'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:494:in `block in run_examples'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:490:in `map'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:490:in `run_examples'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:457:in `run'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:458:in `block in run'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:458:in `map'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/example_group.rb:458:in `run'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:112:in `block (2 levels) in run_specs'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:112:in `map'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:112:in `block in run_specs'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/reporter.rb:54:in `report'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:108:in `run_specs'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:86:in `run'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:70:in `run'
# /vendor/bundler/gems/rspec-core-3.0.0/lib/rspec/core/runner.rb:38:in `invoke'
# /vendor/bundler/gems/rspec-core-3.0.0/exe/rspec:4:in `<top (required)>'
# ./.bundle/bin/rspec:16:in `load'
# ./.bundle/bin/rspec:16:in `<main>'
#
#   Showing full backtrace because every line was filtered out.
#   See docs for RSpec::Configuration#backtrace_exclusion_patterns and
#   RSpec::Configuration#backtrace_inclusion_patterns for more information.

JSON Warnings in Ruby 2.3.0

I recently started getting this error locally when using the lovely NyanCat. Thoughts?

-->> COVERAGE=true RAILS_ENV=test bundle exec rspec --format NyanCatFormatter
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/version.rb:4: warning: already initialized constant JSON::VERSION
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/version.rb:3: warning: previous definition of VERSION was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/version.rb:5: warning: already initialized constant JSON::VERSION_ARRAY
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/version.rb:4: warning: previous definition of VERSION_ARRAY was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/version.rb:6: warning: already initialized constant JSON::VERSION_MAJOR
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/version.rb:5: warning: previous definition of VERSION_MAJOR was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/version.rb:7: warning: already initialized constant JSON::VERSION_MINOR
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/version.rb:6: warning: previous definition of VERSION_MINOR was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/version.rb:8: warning: already initialized constant JSON::VERSION_BUILD
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/version.rb:7: warning: previous definition of VERSION_BUILD was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/common.rb:100: warning: already initialized constant JSON::NaN
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/common.rb:99: warning: previous definition of NaN was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/common.rb:102: warning: already initialized constant JSON::Infinity
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/common.rb:101: warning: previous definition of Infinity was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/common.rb:104: warning: already initialized constant JSON::MinusInfinity
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/common.rb:103: warning: previous definition of MinusInfinity was here
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/2.3.0/json/common.rb:129: warning: already initialized constant JSON::UnparserError
/Users/chrishough/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/common.rb:128: warning: previous definition of UnparserError was here
Run options: include {:focus=>true}

The gem isn't found if not added to Gemfile

Hi,

If the gem is installed and not mentioned in the Gemfile, I get this error:

/home/dinduks/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.10.0/lib/rspec/core/configuration.rb:856:in `require': cannot load such file -- nyan_cat_formatter (LoadError)

But it works fine when I add it to my Gemfile.
I use it with a Sinatra app.

I'd like to update the README with this information, but I need to know first if that's happening for everyone, or only for those who use RVM or/and Bundler.

Thanks, and awesome gem by the way. :)

Breaks at End of Line

I'm not sure if this is fixable, however...

My app has a lot of tests, so the Nyan cat end up hitting the end of the line, then exploding into several lines, which ends up looking like this:
screen shot 2014-08-11 at 3 29 02 pm

Running non-music formatter returns errors

/Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.1.0/lib/nyan_cat_formatter/rspec2.rb:31:in `dump_summary': uninitialized constant RSpec2::NyanCatMusicFormatter (NameError)
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:98:in `block in notify'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:97:in `each'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:97:in `notify'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:82:in `finish'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:36:in `report'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/command_line.rb:25:in `run'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:69:in `run'
    from /Users/jeffs/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/runner.rb:8:in `block in autorun'

No matching processes belonging to you were found

cylon:myapp libryder$ rspec spec
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}
[nyan cat output]
No matching processes belonging to you were found

You've Nyaned for 0 seconds

55 examples, 0 failures

.rspec file:
--color --format NyanCatFormatter

Same result if I remove the --color flag.

Wrong failed/passed/pending tests count, RSpec 3

Hi, I've just updated rspec gem in my application to version 3.0.1, I'm using it with guard-rspec v4.2.10 and spring. Previously, I've been using spork with guad instead of spring, but it has some issues with the latest rspec version.

screen shot 2014-06-18 at 11 21 49

Problem is that when tests are running, only numbers in first two lines of nyan cat formatter are changing (overall tests executed and the second number should be number of passed tests, if I'm not wrong) and it's like all tests are passing because the next two numbers (pending and failed tests) are always 0, even in the case there actually are failures, which are then properly printed out..

Any suggestions how to fix this? I'm pretty used to check out the progress of tests and see current pass/fail counts.

Thanks :)

Wraps lines with too many tests

Around >= 170 tests the lines start wrapping and now it's not a single line group but lots of them which scroll to the bottom with any new text.
I'm running this on zsh inside tmux.
Any clues?

Colors lacking in the 4 spec counters

Hi NyanCatFormatters ^^

I'm discovering this awesome gem under Ubuntu 14.04 and I'm just a tiny bit bugged by the lack of colors on the 4 spec counters on the right of the kitty's trail. The colors are otherwise visible on the trail and in the ending report, so it's kind of a nitpick, and I don't know quite where to look to try and give you more symptoms right now, but I'm gonna try.

Keep on doing amazing stuff ^^d

Error when finishing

rspec (2.5.0)
rspec-core (2.5.2, 2.5.1)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
rspec-rails (2.5.0)
nyan-cat-formatter (0.0.2)

Runs through (although not many colors. Do I need to be in zsh instead of bash?), then it sits on this line frozen
/Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/nyan-cat-formatter-0.0.2/lib/nyan_cat_formatter.rb:48:in `dump_summary'

After hitting ^C, I get this

^C: undefined local variable or method dump_commands_to_rerun_failed_examples' for #<NyanCatFormatter:0x1019de2a0> (NameError) from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/reporter.rb:75:insend'
from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/reporter.rb:75:in notify' from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/reporter.rb:74:ineach'
from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/reporter.rb:74:in notify' from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/reporter.rb:24:inconclude'
from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/reporter.rb:14:in report' from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/command_line.rb:24:inrun'
from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/runner.rb:55:in run_in_process' from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/runner.rb:46:inrun'
from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/gems/rspec-core-2.5.2/lib/rspec/core/runner.rb:10:in `autorun'
from /Users/coreyhaines/.rvm/gems/ruby-1.8.7-p334@mercuryapp/bin/rspec:19

Cucumber- Exception: Wrong number of arguments

When I try to use this formatter with cucumber, I get this error:

Exception encountered: #<ArgumentError: wrong number of arguments (3 for 1)
Error creating formatter: NyanCatFormatter>
backtrace:
/Users/alex/.rvm/gems/ruby-1.9.2-p290@AirLift/gems/rspec-core-2.8.0/lib/rspec/core/formatters/base_formatter.rb:22:in `initialize'

Has it been tested with cuke?

in `*': negative argument (ArgumentError)

$rspec --format NyanCatFormatter

Pending:
  StaticHelper add some examples to (or delete) app/spec/helpers/static_helper_spec.rb
    # Not Yet Implemented
    # ./spec/helpers/static_helper_spec.rb:14

Nyan Cat flew 15.13 seconds
2 examples, 1 failure, 1 pending

Failed examples:

rspec ./spec/helpers/static_helper_spec.rb:14 # StaticHelper add some examples to (or delete) app/spec/helpers/static_helper_spec.rb
/Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:71:in `*': negative argument (ArgumentError)
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:71:in `nyan_trail'
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:99:in `dump_progress'
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:62:in `tick'
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:36:in `example_failed'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.