pry-doc 0.13.0 → 0.13.1

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
- SHA1:
3
- metadata.gz: 4bdecb2d409120dd9ffa71c77bcd969861abaa8c
4
- data.tar.gz: 2ab75c2407d88b20b3fe65a3b0bbebbc190ac447
2
+ SHA256:
3
+ metadata.gz: 16c87fe7047dc0c805afb00d2b5455a00cf4c2859c7be55f2584df235ebd8905
4
+ data.tar.gz: be6568087a5e785cb3dc205e752196d9c9a735de2c533b3b583de84afad085eb
5
5
  SHA512:
6
- metadata.gz: 8772244c8f046631cf6bd0c20e98803170ffb406d74f7bd708bdec37cfdaef633cd0eea27decf60823ed75b9e9b4198aafee48f88a419a76eff01c8aeba6bad5
7
- data.tar.gz: ae840951f6ac881bc6b2ac281d4b7fc6280b312c86d2710105cec45822981c2817f6647a9bd2539bcee499cb57c3546a67ad4cb8b31520533e729c867ba56faf
6
+ metadata.gz: 17eacd691384632a56f433008c0f2b7bd2e72546e9724ed1ef9b861c1f287c988f4b2dd748ef4342a6003963155d11ea9fe951ffad702016704656190276bea7
7
+ data.tar.gz: ed20c5e955d56fe26ba76030d4fb332744726d4816bbfc546c171e1813e1bb5940be1996efd4e27118f1f908e4d90a4ea00ec715814f1fc3215d4fa328ca7210
data/Rakefile CHANGED
@@ -25,7 +25,7 @@ end
25
25
 
26
26
  desc "generate fixture etags"
27
27
  task :etags do
28
- sh 'etags --no-members spec/fixtures/c_source/*.c -o spec/fixtures/c_source/tags'
28
+ sh 'etags --no-members spec/fixtures/c_source/*.c -o spec/fixtures/c_source/TAGS'
29
29
  end
30
30
  desc "reinstall gem"
31
31
  task :reinstall => :gems do
@@ -13,6 +13,7 @@ module Pry::CInternals
13
13
 
14
14
  # Used to separate symbol from line number
15
15
  SYMBOL_SEPARATOR = "\x7f"
16
+ ALTERNATIVE_SEPARATOR = "\x1"
16
17
 
17
18
  attr_accessor :symbols, :file_name
18
19
  attr_reader :ruby_source_folder
@@ -25,7 +26,8 @@ module Pry::CInternals
25
26
 
26
27
  def process_symbols
27
28
  @symbols = @lines.each_with_object({}) do |v, h|
28
- symbol, line_number = v.split(SYMBOL_SEPARATOR)
29
+ sep = v.include?(ALTERNATIVE_SEPARATOR) ? ALTERNATIVE_SEPARATOR : SYMBOL_SEPARATOR
30
+ symbol, line_number = v.split(sep)
29
31
  next if symbol.strip =~ /^\w+$/ # these symbols are usually errors in etags
30
32
  h[cleanup_symbol(symbol)] = [source_location_for(symbol, line_number)]
31
33
  end
@@ -1,3 +1,3 @@
1
1
  module PryDoc
2
- VERSION = '0.13.0'
2
+ VERSION = '0.13.1'
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.0
4
+ version: 0.13.1
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-14 00:00:00.000000000 Z
11
+ date: 2018-02-16 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'
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'
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
@@ -155,17 +155,17 @@ require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '2.0'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - '>='
163
+ - - ">="
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.0.14
168
+ rubygems_version: 2.7.3
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Provides YARD and extended documentation support for Pry