RubyGems Navigation menu

puts_debuggerer 0.13.5

Debuggers are great! They help us troubleshoot complicated programming problems by inspecting values produced by code, line by line. They are invaluable when trying to understand what is going on in a large application composed of thousands or millions of lines of code. In day-to-day test-driven development and simple debugging though, a puts statement can be a lot quicker in revealing what is going on than halting execution completely just to inspect a single value or a few. This is certainly true when writing the simplest possible code that could possibly work, and running a test every few seconds or minutes. Problem is you need to locate puts statements in large output logs, know which methods were invoked, find out what variable names are being printed, and see nicely formatted output. Enter puts_debuggerer. A guilt-free puts debugging Ruby gem FTW that prints file names, line numbers, code statements, and formats output nicely courtesy of awesome_print. Partially inspired by this blog post: https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debuggerer.html (Credit to Tenderlove.)

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.13.5 - March 29, 2022 (21.5 KB)
  2. 0.13.4 - February 14, 2022 (21 KB)
  3. 0.13.3 - February 10, 2022 (21 KB)
  4. 0.13.2 - December 21, 2021 (20.5 KB)
  5. 0.13.1 - August 04, 2021 (20.5 KB)
Show all versions (25 total)

Runtime Dependencies (1):

awesome_print ~> 1.9.2

Development Dependencies (10):

bundler >= 2.1.4
coveralls = 0.8.23
jeweler ~> 2.3.9
logging >= 2.3.0
rake-tui >= 0
rdoc ~> 3.12
rspec ~> 3.5
rspec-mocks ~> 3.5
simplecov ~> 0.16.1
simplecov-lcov ~> 0.7.0

Owners:

Pushed by:

Authors:

  • Andy Maleh

SHA 256 checksum:

73b16588fa140d6bc8ff1848e305ec6893cd30f965a5a9e812b4be829848c086

Total downloads 78,986

For this version 13,587

License:

MIT

Required Ruby Version: >= 0

Links: