pry-doc 0.2.3pre1 → 0.2.4pre1

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-doc/version.rb +1 -1
  2. data/lib/pry-doc.rb +5 -1
  3. metadata +2 -2
@@ -1,3 +1,3 @@
1
1
  module PryDoc
2
- VERSION = "0.2.3pre1"
2
+ VERSION = "0.2.4pre1"
3
3
  end
data/lib/pry-doc.rb CHANGED
@@ -13,7 +13,11 @@ else
13
13
  end
14
14
 
15
15
  class Pry
16
- self.has_pry_doc = true
16
+
17
+ # do not use pry-doc if rbx is active
18
+ if !Object.const_defined?(:RUBY_ENGINE) || RUBY_ENGINE !~ /rbx/
19
+ self.config.has_pry_doc = true
20
+ end
17
21
 
18
22
  module MethodInfo
19
23
  @doc_cache = {}
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pry-doc
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 5
5
- version: 0.2.3pre1
5
+ version: 0.2.4pre1
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Mair (banisterfiend)
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-23 00:00:00 Z
13
+ date: 2011-06-03 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: yard