pry 0.7.4-i386-mingw32 → 0.7.5.2-i386-mingw32

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.
data/lib/pry/commands.rb CHANGED
@@ -164,10 +164,7 @@ class Pry
164
164
  klass = target.eval('self.class')
165
165
 
166
166
  meth_name = meth_name_from_binding.call(target)
167
- if !meth_name
168
- output.puts "Cannot find containing method. Did you remember to use \`binding.pry\` ?"
169
- next
170
- end
167
+ meth_name = "N/A" if !meth_name
171
168
 
172
169
  # FIX ME!!! this line is screwed
173
170
  # check_for_dynamically_defined_method.call()
data/lib/pry/hooks.rb CHANGED
@@ -9,7 +9,10 @@ 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__, :__binding_impl__].include?(meth_name) && file !~ /(\(.*\))|<.*>/
12
+ # if ![:__script__, nil, :__binding__,
13
+ # :__binding_impl__].include?(meth_name) && file !~
14
+ # /(\(.*\))|<.*>/
15
+ if file !~ /(\(.*\))|<.*>/
13
16
  Pry.run_command "whereami", :output => out, :show_output => true, :context => target, :commands => Pry::Commands
14
17
  end
15
18
  end,
data/lib/pry/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5.2"
3
3
  end
metadata CHANGED
@@ -5,8 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 4
9
- version: 0.7.4
8
+ - 5
9
+ - 2
10
+ version: 0.7.5.2
10
11
  platform: i386-mingw32
11
12
  authors:
12
13
  - John Mair (banisterfiend)
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-03-23 00:00:00 +13:00
18
+ date: 2011-03-24 00:00:00 +13:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency