pry 0.7.5.2 → 0.7.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/pry/hooks.rb +3 -4
  2. data/lib/pry/version.rb +1 -1
  3. metadata +3 -3
data/lib/pry/hooks.rb CHANGED
@@ -9,10 +9,9 @@ class Pry
9
9
  # ensure we're actually in a method
10
10
  meth_name = target.eval('__method__')
11
11
  file = target.eval('__FILE__')
12
- # if ![:__script__, nil, :__binding__,
13
- # :__binding_impl__].include?(meth_name) && file !~
14
- # /(\(.*\))|<.*>/
15
- if file !~ /(\(.*\))|<.*>/
12
+
13
+ # /unknown/ for rbx
14
+ if file !~ /(\(.*\))|<.*>/ && file !~ /__unknown__/
16
15
  Pry.run_command "whereami", :output => out, :show_output => true, :context => target, :commands => Pry::Commands
17
16
  end
18
17
  end,
data/lib/pry/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.7.5.2"
2
+ VERSION = "0.7.5.3"
3
3
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 7
8
8
  - 5
9
- - 2
10
- version: 0.7.5.2
9
+ - 3
10
+ version: 0.7.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - John Mair (banisterfiend)
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-24 00:00:00 +13:00
18
+ date: 2011-03-25 00:00:00 +13:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency