Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Replace pry with method_source #74

Merged
merged 1 commit into from
May 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ else
end

gem "activerecord", "~> #{rails_version}"
gem "pry"
2 changes: 1 addition & 1 deletion lib/tapping_device.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "active_support/core_ext/module/introspection"
require "pry" # for using Method#source
require "method_source" # for using Method#source

require "tapping_device/version"
require "tapping_device/manageable"
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "tapping_device"
require "tapping_device/trackable"
require "bundler/setup"
require "pry"
# require "pry"
require "matchers/write_to_file_matcher"
require 'simplecov'

Expand Down
2 changes: 1 addition & 1 deletion tapping_device.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "pry" # for using Method#source in MutationTracker
spec.add_dependency "method_source", "~> 1.0.0"
spec.add_dependency "activesupport"
spec.add_dependency "pastel"

Expand Down