pry-rescue 0.6 → 0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/rescue +3 -5
  2. data/pry-rescue.gemspec +1 -1
  3. metadata +2 -3
data/bin/rescue CHANGED
@@ -18,12 +18,10 @@ What it does:
18
18
  }
19
19
 
20
20
  if script = ARGV.shift
21
+ $0 = File.expand_path(script)
21
22
  if File.exists? script
22
- require 'pry-rescue'
23
- begin; require 'pry-stack_explorer'; rescue LoadError; end
24
-
25
- $0 = File.expand_path script
26
- PryRescue.load script
23
+ require File.expand_path('../../lib/pry-rescue.rb', __FILE__)
24
+ PryRescue.load $0
27
25
  else
28
26
  $stderr.puts "Error: #{script.inspect} not found."
29
27
  end
data/pry-rescue.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pry-rescue'
3
- s.version = '0.6'
3
+ s.version = '0.7'
4
4
  s.summary = 'Open a pry session on any unhandled exceptions'
5
5
  s.description = 'Allows you to wrap code in Pry::rescue{ } to open a pry session at any unhandled exceptions'
6
6
  s.homepage = 'https://github.com/ConradIrwin/pry-rescue'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-rescue
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: '0.7'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-08-27 00:00:00.000000000 Z
14
+ date: 2012-08-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: pry
@@ -99,4 +99,3 @@ signing_key:
99
99
  specification_version: 3
100
100
  summary: Open a pry session on any unhandled exceptions
101
101
  test_files: []
102
- has_rdoc: