From f10676d023570fab294986adfa3e1d97d1cdd31e Mon Sep 17 00:00:00 2001 From: Ramon Tayag Date: Thu, 26 Apr 2018 11:07:30 +0800 Subject: [PATCH] Add pry-byebug in test Allow developer to debug with pry without having to install the gem and require it. It is not in the gemspec because it's not a development dependency. --- Gemfile | 1 + Gemfile.lock | 10 ++++++++++ spec/spec_helper.rb | 1 + 3 files changed, 12 insertions(+) diff --git a/Gemfile b/Gemfile index 725cbf2..9e359d9 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,5 @@ gemspec gem 'rake' group :development, :test do gem 'minitest' + gem "pry-byebug" end diff --git a/Gemfile.lock b/Gemfile.lock index b17c4a5..8115501 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,8 +7,17 @@ PATH GEM remote: https://rubygems.org/ specs: + byebug (10.0.2) + coderay (1.1.2) ffi (1.9.18) + method_source (0.9.0) minitest (5.10.2) + pry (0.11.3) + coderay (~> 1.1.0) + method_source (~> 0.9.0) + pry-byebug (3.6.0) + byebug (~> 10.0) + pry (~> 0.10) rake (10.3.2) PLATFORMS @@ -17,6 +26,7 @@ PLATFORMS DEPENDENCIES btcruby! minitest + pry-byebug rake BUNDLED WITH diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0ee0cad..953d025 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,6 @@ require 'minitest/spec' require 'minitest/autorun' +require 'pry-byebug' require_relative '../lib/btcruby' require_relative '../lib/btcruby/extensions'