pry 0.7.0 → 0.7.1

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/commands.rb +1 -1
  2. data/lib/pry/version.rb +1 -1
  3. metadata +3 -3
@@ -557,7 +557,7 @@ e.g: show-method hello_method
557
557
  # Try to find source for C methods using MethodInfo (if possible)
558
558
  if Pry.has_pry_doc && meth.source_location.nil?
559
559
  info = Pry::MethodInfo.info_for(meth)
560
- if !info
560
+ if !info || !info.source
561
561
  output.puts "Cannot find source for C method: #{meth_name}"
562
562
  next
563
563
  end
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 0
9
- version: 0.7.0
8
+ - 1
9
+ version: 0.7.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Mair (banisterfiend)
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-15 00:00:00 +13:00
17
+ date: 2011-03-16 00:00:00 +13:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency