pry-doc 0.13.0pre10 → 0.13.0pre11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fba5bcbfdf9dc0e8f9be0c4f07a06b9792444d1
4
- data.tar.gz: 9f5b25d8608b3feb3b5d30e248a6afc1ce926942
3
+ metadata.gz: 2bf0f89bf880b05cabeb65922390eedc28b3063a
4
+ data.tar.gz: 7eff6cd385dd096dad5388a2989e97e3a4246fe9
5
5
  SHA512:
6
- metadata.gz: ca968f7bac4903c6d76c782ebb2c5633c68b4231368b78474f43c60ccdb142ea408e72f15e138ec9cc8d16546ad74a4e833ac7cc94d1d1f1cb865fc537b60fb1
7
- data.tar.gz: d94c8289a4cda027636c59847fb97a829f2b7f28cd5707fbded605e6b1c1df0451883510665a4927ea3b7fb3afc7500ee3f4879e9edf3947df0f8961f6ae6397
6
+ metadata.gz: b454f850a9688865c18b8ddaf5a0131cf19b3b674c91eb26e017c965816ddf4cdfc68263285e483522fa288f78879eadeb00d8e7a8cac29f5997f5d0e46a1204
7
+ data.tar.gz: a1bde2f69700d8e5161120905a516c074a6cfe62a6e18b1e819ceaffa9523c66de8b3b2b647596eb0fcda073a07761eda47e4c98135e345a871168cac7dc419d
@@ -24,14 +24,14 @@ module Pry::CInternals
24
24
  end
25
25
 
26
26
  def process
27
- if opts.present?(:c) && !Pry.config.skip_cruby_source
27
+ if opts.present?(:c) && !_pry_.config.skip_cruby_source
28
28
  show_c_source
29
29
  return
30
30
  else
31
31
  super
32
32
  end
33
33
  rescue Pry::CommandError
34
- raise if Pry.config.skip_cruby_source
34
+ raise if _pry_.config.skip_cruby_source
35
35
  show_c_source
36
36
  end
37
37
 
@@ -39,7 +39,7 @@ module Pry::CInternals
39
39
  end
40
40
 
41
41
  def symbol_type_for(symbol)
42
- if symbol.start_with?("#define")
42
+ if symbol =~ /#\s*define/
43
43
  :macro
44
44
  elsif symbol =~ /\bstruct\b/
45
45
  :struct
@@ -97,7 +97,7 @@ module Pry::CInternals
97
97
  end
98
98
 
99
99
  def self.ask_for_install
100
- print "Identifier not found - do you want to install CRuby sources to attempt to resolve the identifier there?\n(This allows the lookup of C internals) Y/N "
100
+ print "Identifier not found - do you want to install CRuby sources to attempt to resolve the identifier there?\nThis allows the lookup of C internals Y/N "
101
101
 
102
102
  if $stdin.gets !~ /^y/i
103
103
  puts "CRuby sources not installed. To prevent being asked again, add `Pry.config.skip_cruby_source = true` to your ~/.pryrc"
@@ -1,3 +1,3 @@
1
1
  module PryDoc
2
- VERSION = '0.13.0pre10'
2
+ VERSION = '0.13.0pre11'
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0pre10
4
+ version: 0.13.0pre11
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mair (banisterfiend)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-13 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.9.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.9.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.11.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.11.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: latest_ruby
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.5'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.5'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '10.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '10.0'
83
83
  description: |
@@ -92,9 +92,9 @@ executables: []
92
92
  extensions: []
93
93
  extra_rdoc_files: []
94
94
  files:
95
- - .gitignore
96
- - .travis.yml
97
- - .yardopts
95
+ - ".gitignore"
96
+ - ".travis.yml"
97
+ - ".yardopts"
98
98
  - CHANGELOG.md
99
99
  - Gemfile
100
100
  - LICENSE
@@ -153,17 +153,17 @@ require_paths:
153
153
  - lib
154
154
  required_ruby_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
- - - '>='
156
+ - - ">="
157
157
  - !ruby/object:Gem::Version
158
158
  version: '2.0'
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - '>'
161
+ - - ">"
162
162
  - !ruby/object:Gem::Version
163
163
  version: 1.3.1
164
164
  requirements: []
165
165
  rubyforge_project:
166
- rubygems_version: 2.0.14
166
+ rubygems_version: 2.2.0
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: Provides YARD and extended documentation support for Pry