summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org>2014-08-24 13:19:30 -0400
committerDaniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org>2014-08-24 13:19:30 -0400
commitcb1c92ce9811466f2d2ed4b317a60bf83bb259c0 (patch)
tree8991230cab8df25db0ad63f10a8ec6fdb44edde2
parent976c689632ea0d9538cfa840e5f777d2f3d054c8 (diff)
parent3aa8834e23f359db5a687e2c26ecb42d6129ad30 (diff)
downloadhashie-cb1c92ce9811466f2d2ed4b317a60bf83bb259c0.tar.gz
Merge pull request #213 from michaelherold/add-some-debugging-tools
Add pry and pry-stack_explorer for debugging
-rw-r--r--Gemfile5
-rw-r--r--spec/spec_helper.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index ea80e9f..d57b961 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,6 +6,11 @@ platforms :rbx do
gem 'racc'
end
+group :development do
+ gem 'pry'
+ gem 'pry-stack_explorer', platforms: [:ruby_19, :ruby_20, :ruby_21]
+end
+
gemspec
gem 'rubocop', '~> 0.25'
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e5fd783..0da19f7 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,5 @@
require 'rubygems'
+require 'pry'
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))