rdoc 3.12.1 → 3.12.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rdoc might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 273a837395647f78a5238c46c58b00040ac02b8c
4
- data.tar.gz: 0140308e6098631af5fa1fb3cb1fd751f81023ca
3
+ metadata.gz: 3b704b430d22c0010c5bf44dff765cdeff8332cf
4
+ data.tar.gz: ed7f5ac64e53d6e684172983e26fb417af9e826c
5
5
  SHA512:
6
- metadata.gz: 47b2995d687fdb88b09ab589e93cc1b63b078387e7ab12ea5cb38b82cac4b44412a3f801b985c96021a298ebdd1f47fcf4e6828fefe7205084267c3567dc3743
7
- data.tar.gz: 079a4eaba7614a7002d98d4d43a12afb4213b8d2364d29bb58954fad1f560a4b21ccb0e80e8c7b09f2270a783ba9caba46b918dadeaacedb0f54871a9607004c
6
+ metadata.gz: 5b3e509ae9b95e66eead63f2f0252f98ec04c3c9779df939ceddad9c0c9d5e71f0e107868fb33fe3e9f445e07a671c1e3de33236952b4fc2e54ca85592dea971
7
+ data.tar.gz: 06800292e99ab9b0648acc38922d1034c124a23df8ed31ac22453449ce90b591f5bc9afa5181857492245511eb2ca33d5136e0dee76702785bfc20fa72449b86
@@ -1 +1,2 @@
1
- P���X�Lk ��5d�wD��(��W��h�AY9u^�)��g1�i����$�>9t;#h��㟲98Q I�������IDŽ ��:2���E��Kf�fPP˂x��:a(��~!נ�"���7;��Y�ܠﰪ�W��e�8Y\Ӹv8��9��N��*&�o�=�X2�\���wp7K��]f8�Iҷ#���o�8e�rW���Vwyf��5���\!�I��ѡ�����A�]��Z��iY�!�W۠XIC
1
+ D��[�8��ǚC M������Z?�����������������V8��(R~�ܤ���j<Zy�@
2
+ z� k�^��!�� �b#�}F�6c��.��(���!��ډ��I �#�dYv��t��*���F��S��B�rrS�w�ų�yǨ2�����Bɢ
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,17 @@
1
+ === 3.12.2 / 2013-02-24
2
+
3
+ * Bug fixes
4
+ * Fixed bug in syntax-highlighting that would corrupt regular expressions.
5
+ Ruby Bug #6488 by Benny Lyne Amorsen.
6
+ * Fixed lexing of character syntax (<code>?x</code>). Reported by Xavier
7
+ Noria.
8
+ * Fixed tokenization of % when it is not followed by a $-string type
9
+ * Fixed display of __END__ in documentation examples in HTML output
10
+ * Fixed tokenization of reserved words used as new-style hash keys
11
+ * Fixed HEREDOC output for the limited case of a heredoc followed by a line
12
+ end. When a HEREDOC is not followed by a line end RDoc is not currently
13
+ smart enough to restore the source correctly. Bug #162 by Zachary Scott.
14
+
1
15
  === 3.12.1 / 2013-02-05
2
16
 
3
17
  * Bug fixes
@@ -108,7 +108,7 @@ module RDoc
108
108
  ##
109
109
  # RDoc version you are using
110
110
 
111
- VERSION = '3.12.1'
111
+ VERSION = '3.12.2'
112
112
 
113
113
  ##
114
114
  # Method visibilities
@@ -412,7 +412,7 @@ class RDoc::RubyLex
412
412
  def lex_init()
413
413
  @OP = IRB::SLex.new
414
414
  @OP.def_rules("\0", "\004", "\032") do |op, io|
415
- Token(TkEND_OF_SCRIPT)
415
+ Token(TkEND_OF_SCRIPT, '')
416
416
  end
417
417
 
418
418
  @OP.def_rules(" ", "\t", "\f", "\r", "\13") do |op, io|
@@ -536,13 +536,8 @@ class RDoc::RubyLex
536
536
  @lex_state = EXPR_BEG;
537
537
  Token(TkQUESTION)
538
538
  else
539
- str = ch
540
- if ch == '\\'
541
- str << read_escape
542
- end
543
539
  @lex_state = EXPR_END
544
- str << (ch.respond_to?(:ord) ? ch.ord : ch[0])
545
- Token(TkINTEGER, str)
540
+ Token(TkSTRING, ch)
546
541
  end
547
542
  end
548
543
  end
@@ -813,7 +808,8 @@ class RDoc::RubyLex
813
808
 
814
809
  @OP.def_rule("_") do
815
810
  if peek_match?(/_END__/) and @lex_state == EXPR_BEG then
816
- Token(TkEND_OF_SCRIPT)
811
+ 6.times { getc }
812
+ Token(TkEND_OF_SCRIPT, '__END__')
817
813
  else
818
814
  ungetc
819
815
  identify_identifier
@@ -861,7 +857,7 @@ class RDoc::RubyLex
861
857
  end
862
858
 
863
859
  IDENT_RE = if defined? Encoding then
864
- /[\w\u0080-\uFFFF]/u
860
+ eval '/[\w\u{0080}-\u{FFFFF}]/u' # 1.8 can't parse \u{}
865
861
  else
866
862
  /[\w\x80-\xFF]/
867
863
  end
@@ -940,6 +936,8 @@ class RDoc::RubyLex
940
936
  @indent += 1
941
937
  @indent_stack.push token_c
942
938
  end
939
+ else
940
+ token_c = TkIDENTIFIER
943
941
  end
944
942
 
945
943
  elsif DEINDENT_CLAUSE.include?(token)
@@ -984,12 +982,13 @@ class RDoc::RubyLex
984
982
  indent = true
985
983
  end
986
984
  if /['"`]/ =~ ch
987
- lt = ch
985
+ user_quote = lt = ch
988
986
  quoted = ""
989
987
  while (c = getc) && c != lt
990
988
  quoted.concat c
991
989
  end
992
990
  else
991
+ user_quote = nil
993
992
  lt = '"'
994
993
  quoted = ch.dup
995
994
  while (c = getc) && c =~ /\w/
@@ -1009,8 +1008,17 @@ class RDoc::RubyLex
1009
1008
  end
1010
1009
  end
1011
1010
 
1011
+ output_heredoc = reserve.join =~ /\A\r?\n\z/
1012
+
1013
+ if output_heredoc then
1014
+ doc = '<<'
1015
+ doc << '-' if indent
1016
+ doc << "#{user_quote}#{quoted}#{user_quote}\n"
1017
+ else
1018
+ doc = '"'
1019
+ end
1020
+
1012
1021
  @here_header = false
1013
- doc = '"'
1014
1022
  while l = gets
1015
1023
  l = l.sub(/(:?\r)?\n\z/, "\n")
1016
1024
  if (indent ? l.strip : l.chomp) == quoted
@@ -1018,7 +1026,12 @@ class RDoc::RubyLex
1018
1026
  end
1019
1027
  doc << l
1020
1028
  end
1021
- doc << '"'
1029
+
1030
+ if output_heredoc then
1031
+ doc << l.chomp
1032
+ else
1033
+ doc << '"'
1034
+ end
1022
1035
 
1023
1036
  @here_header = true
1024
1037
  @here_readed.concat reserve
@@ -1026,9 +1039,10 @@ class RDoc::RubyLex
1026
1039
  ungetc ch
1027
1040
  end
1028
1041
 
1042
+ token_class = output_heredoc ? RDoc::RubyLex::TkHEREDOC : Ltype2Token[lt]
1029
1043
  @ltype = ltback
1030
1044
  @lex_state = EXPR_END
1031
- Token(Ltype2Token[lt], doc)
1045
+ Token(token_class, doc)
1032
1046
  end
1033
1047
 
1034
1048
  def identify_quotation
@@ -1039,7 +1053,7 @@ class RDoc::RubyLex
1039
1053
  type = nil
1040
1054
  lt = "\""
1041
1055
  else
1042
- raise Error, "unknown type of %string #{type.inspect}"
1056
+ return Token(TkMOD, '%')
1043
1057
  end
1044
1058
  # if ch !~ /\W/
1045
1059
  # ungetc
@@ -1163,7 +1177,7 @@ class RDoc::RubyLex
1163
1177
  @ltype = ltype
1164
1178
  @quoted = quoted
1165
1179
 
1166
- str = if ltype == quoted and %w[" '].include? ltype then
1180
+ str = if ltype == quoted and %w[" ' /].include? ltype then
1167
1181
  ltype.dup
1168
1182
  elsif RUBY_VERSION > '1.9' then
1169
1183
  "%#{type or PERCENT_LTYPE.key ltype}#{PERCENT_PAREN_REV[quoted]}"
@@ -1189,14 +1203,18 @@ class RDoc::RubyLex
1189
1203
  else
1190
1204
  ungetc
1191
1205
  end
1192
- elsif ch == '\\' and @ltype == "'" #'
1193
- case ch = getc
1194
- when "\\", "\n", "'"
1206
+ elsif ch == '\\'
1207
+ if %w[' /].include? @ltype then
1208
+ case ch = getc
1209
+ when "\\", "\n", "'"
1210
+ when @ltype
1211
+ str << ch
1212
+ else
1213
+ ungetc
1214
+ end
1195
1215
  else
1196
- ungetc
1216
+ str << read_escape
1197
1217
  end
1198
- elsif ch == '\\' #'
1199
- str << read_escape
1200
1218
  end
1201
1219
 
1202
1220
  if close then
@@ -331,6 +331,7 @@ module RDoc::RubyToken
331
331
  [:TkINTEGER, TkVal],
332
332
  [:TkFLOAT, TkVal],
333
333
  [:TkSTRING, TkVal],
334
+ [:TkHEREDOC, TkVal],
334
335
  [:TkXSTRING, TkVal],
335
336
  [:TkREGEXP, TkVal],
336
337
  [:TkSYMBOL, TkVal],
@@ -350,14 +350,14 @@ class TestRDocMarkupToHtml < RDoc::Markup::FormatterTestCase
350
350
  rdoc.options = options
351
351
  RDoc::RDoc.current = rdoc
352
352
 
353
- verb = @RM::Verbatim.new("a %z'foo' # => blah\n")
353
+ verb = @RM::Verbatim.new("a % 09 # => blah\n")
354
354
 
355
355
  @to.start_accepting
356
356
  @to.accept_verbatim verb
357
357
 
358
358
  expected = <<-EXPECTED
359
359
 
360
- <pre>a %z'foo' # =&gt; blah
360
+ <pre>a % 09 # =&gt; blah
361
361
  </pre>
362
362
  EXPECTED
363
363
 
@@ -379,19 +379,19 @@ class TestRDocMarkupToHtmlSnippet < RDoc::Markup::FormatterTestCase
379
379
  rdoc.options = options
380
380
  RDoc::RDoc.current = rdoc
381
381
 
382
- verb = @RM::Verbatim.new("a %z'foo' # => blah\n")
382
+ verb = @RM::Verbatim.new("a % 09 # => blah\n")
383
383
 
384
384
  @to.start_accepting
385
385
  @to.accept_verbatim verb
386
386
 
387
387
  expected = <<-EXPECTED
388
388
 
389
- <pre>a %z'foo' # =&gt; blah
389
+ <pre>a % 09 # =&gt; blah
390
390
  </pre>
391
391
  EXPECTED
392
392
 
393
393
  assert_equal expected, @to.res.join
394
- assert_equal 19, @to.characters
394
+ assert_equal 16, @to.characters
395
395
  end
396
396
 
397
397
  def test_add_paragraph
@@ -543,11 +543,12 @@ Look for directives in a normal comment block:
543
543
  This routine modifies its +comment+ parameter.
544
544
  RDOC
545
545
 
546
+ inner = CGI.escapeHTML "# Don't display comment from this point forward"
546
547
  expected = <<-EXPECTED
547
548
  <p>Look for directives in a normal comment block:
548
549
 
549
550
  <pre># :stopdoc:
550
- # Don't display comment from this point forward</pre>
551
+ #{inner}</pre>
551
552
  EXPECTED
552
553
 
553
554
  actual = @to.convert rdoc
@@ -1,3 +1,5 @@
1
+ # coding: UTF-8
2
+
1
3
  require 'rdoc/test_case'
2
4
 
3
5
  class TestRDocRubyLex < RDoc::TestCase
@@ -30,6 +32,28 @@ class TestRDocRubyLex < RDoc::TestCase
30
32
  assert_equal expected, tokens
31
33
  end
32
34
 
35
+ def test_class_tokenize___END__
36
+ tokens = RDoc::RubyLex.tokenize '__END__', nil
37
+
38
+ expected = [
39
+ @TK::TkEND_OF_SCRIPT.new(0, 1, 0, '__END__'),
40
+ @TK::TkNL .new(7, 1, 7, "\n"),
41
+ ]
42
+
43
+ assert_equal expected, tokens
44
+ end
45
+
46
+ def test_class_tokenize_character_literal
47
+ tokens = RDoc::RubyLex.tokenize "?\\", nil
48
+
49
+ expected = [
50
+ @TK::TkSTRING.new( 0, 1, 0, "\\"),
51
+ @TK::TkNL .new( 2, 1, 2, "\n"),
52
+ ]
53
+
54
+ assert_equal expected, tokens
55
+ end
56
+
33
57
  def test_class_tokenize_def_heredoc
34
58
  tokens = RDoc::RubyLex.tokenize <<-'RUBY', nil
35
59
  def x
@@ -46,7 +70,8 @@ end
46
70
  @TK::TkIDENTIFIER.new( 4, 1, 4, 'x'),
47
71
  @TK::TkNL .new( 5, 1, 5, "\n"),
48
72
  @TK::TkSPACE .new( 6, 2, 0, ' '),
49
- @TK::TkSTRING .new( 8, 2, 2, %Q{"Line 1\nLine 2\n"}),
73
+ @TK::TkHEREDOC .new( 8, 2, 2,
74
+ %Q{<<E\nLine 1\nLine 2\nE}),
50
75
  @TK::TkNL .new(27, 5, 28, "\n"),
51
76
  @TK::TkEND .new(28, 6, 0, 'end'),
52
77
  @TK::TkNL .new(31, 6, 28, "\n"),
@@ -55,12 +80,73 @@ end
55
80
  assert_equal expected, tokens
56
81
  end
57
82
 
83
+ def test_class_tokenize_hash_symbol
84
+ tokens = RDoc::RubyLex.tokenize '{ class:"foo" }', nil
85
+
86
+ expected = [
87
+ @TK::TkLBRACE .new( 0, 1, 0, '{'),
88
+ @TK::TkSPACE .new( 1, 1, 1, ' '),
89
+ @TK::TkIDENTIFIER.new( 2, 1, 2, 'class'),
90
+ @TK::TkSYMBEG .new( 7, 1, 7, ':'),
91
+ @TK::TkSTRING .new( 8, 1, 8, '"foo"'),
92
+ @TK::TkSPACE .new(13, 1, 13, ' '),
93
+ @TK::TkRBRACE .new(14, 1, 14, '}'),
94
+ @TK::TkNL .new(15, 1, 15, "\n"),
95
+ ]
96
+
97
+ assert_equal expected, tokens
98
+ end
99
+
100
+ def test_class_tokenize_heredoc_CR_NL
101
+ tokens = RDoc::RubyLex.tokenize <<-RUBY, nil
102
+ string = <<-STRING\r
103
+ Line 1\r
104
+ Line 2\r
105
+ STRING\r
106
+ RUBY
107
+
108
+ expected = [
109
+ @TK::TkIDENTIFIER.new( 0, 1, 0, 'string'),
110
+ @TK::TkSPACE .new( 6, 1, 6, ' '),
111
+ @TK::TkASSIGN .new( 7, 1, 7, '='),
112
+ @TK::TkSPACE .new( 8, 1, 8, ' '),
113
+ @TK::TkHEREDOC .new( 9, 1, 9,
114
+ %Q{<<-STRING\nLine 1\nLine 2\n STRING}),
115
+ @TK::TkSPACE .new(44, 4, 45, "\r"),
116
+ @TK::TkNL .new(45, 4, 46, "\n"),
117
+ ]
118
+
119
+ assert_equal expected, tokens
120
+ end
121
+
122
+ def test_class_tokenize_heredoc_call
123
+ tokens = RDoc::RubyLex.tokenize <<-'RUBY', nil
124
+ string = <<-STRING.chomp
125
+ Line 1
126
+ Line 2
127
+ STRING
128
+ RUBY
129
+
130
+ expected = [
131
+ @TK::TkIDENTIFIER.new( 0, 1, 0, 'string'),
132
+ @TK::TkSPACE .new( 6, 1, 6, ' '),
133
+ @TK::TkASSIGN .new( 7, 1, 7, '='),
134
+ @TK::TkSPACE .new( 8, 1, 8, ' '),
135
+ @TK::TkSTRING .new( 9, 1, 9, %Q{"Line 1\nLine 2\n"}),
136
+ @TK::TkDOT .new(41, 4, 42, '.'),
137
+ @TK::TkIDENTIFIER.new(42, 4, 43, 'chomp'),
138
+ @TK::TkNL .new(47, 4, 48, "\n"),
139
+ ]
140
+
141
+ assert_equal expected, tokens
142
+ end
143
+
58
144
  def test_class_tokenize_heredoc_indent
59
145
  tokens = RDoc::RubyLex.tokenize <<-'RUBY', nil
60
146
  string = <<-STRING
61
147
  Line 1
62
148
  Line 2
63
- STRING
149
+ STRING
64
150
  RUBY
65
151
 
66
152
  expected = [
@@ -68,8 +154,9 @@ STRING
68
154
  @TK::TkSPACE .new( 6, 1, 6, ' '),
69
155
  @TK::TkASSIGN .new( 7, 1, 7, '='),
70
156
  @TK::TkSPACE .new( 8, 1, 8, ' '),
71
- @TK::TkSTRING .new( 9, 1, 9, %Q{"Line 1\nLine 2\n"}),
72
- @TK::TkNL .new(39, 4, 40, "\n"),
157
+ @TK::TkHEREDOC .new( 9, 1, 9,
158
+ %Q{<<-STRING\nLine 1\nLine 2\n STRING}),
159
+ @TK::TkNL .new(41, 4, 42, "\n"),
73
160
  ]
74
161
 
75
162
  assert_equal expected, tokens
@@ -87,13 +174,47 @@ U
87
174
  @TK::TkSPACE .new( 1, 1, 1, ' '),
88
175
  @TK::TkIDENTIFIER.new( 2, 1, 2, 'b'),
89
176
  @TK::TkSPACE .new( 3, 1, 3, ' '),
90
- @TK::TkSTRING .new( 4, 1, 4, %Q{"%N\n"}),
177
+ @TK::TkHEREDOC .new( 4, 1, 4, %Q{<<-U\n%N\nU}),
91
178
  @TK::TkNL .new(13, 3, 14, "\n"),
92
179
  ]
93
180
 
94
181
  assert_equal expected, tokens
95
182
  end
96
183
 
184
+ def test_class_tokenize_identifier_high_unicode
185
+ tokens = RDoc::RubyLex.tokenize '𝖒', nil
186
+
187
+ expected = @TK::TkIDENTIFIER.new(0, 1, 0, '𝖒')
188
+
189
+ assert_equal expected, tokens.first
190
+ end
191
+
192
+ def test_class_tokenize_percent_1
193
+ tokens = RDoc::RubyLex.tokenize 'v%10==10', nil
194
+
195
+ expected = [
196
+ @TK::TkIDENTIFIER.new(0, 1, 0, 'v'),
197
+ @TK::TkMOD.new( 1, 1, 1, '%'),
198
+ @TK::TkINTEGER.new( 2, 1, 2, '10'),
199
+ @TK::TkEQ.new( 4, 1, 4, '=='),
200
+ @TK::TkINTEGER.new( 6, 1, 6, '10'),
201
+ @TK::TkNL.new( 8, 1, 8, "\n"),
202
+ ]
203
+
204
+ assert_equal expected, tokens
205
+ end
206
+
207
+ def test_class_tokenize_percent_r
208
+ tokens = RDoc::RubyLex.tokenize '%r[hi]', nil
209
+
210
+ expected = [
211
+ @TK::TkREGEXP.new( 0, 1, 0, '%r[hi]'),
212
+ @TK::TkNL .new( 6, 1, 6, "\n"),
213
+ ]
214
+
215
+ assert_equal expected, tokens
216
+ end
217
+
97
218
  def test_class_tokenize_percent_w
98
219
  tokens = RDoc::RubyLex.tokenize '%w[hi]', nil
99
220
 
@@ -105,6 +226,39 @@ U
105
226
  assert_equal expected, tokens
106
227
  end
107
228
 
229
+ def test_class_tokenize_regexp
230
+ tokens = RDoc::RubyLex.tokenize "/hay/", nil
231
+
232
+ expected = [
233
+ @TK::TkREGEXP.new( 0, 1, 0, "/hay/"),
234
+ @TK::TkNL .new( 5, 1, 5, "\n"),
235
+ ]
236
+
237
+ assert_equal expected, tokens
238
+ end
239
+
240
+ def test_class_tokenize_regexp_backref
241
+ tokens = RDoc::RubyLex.tokenize "/[csh](..) [csh]\\1 in/", nil
242
+
243
+ expected = [
244
+ @TK::TkREGEXP.new( 0, 1, 0, "/[csh](..) [csh]\\1 in/"),
245
+ @TK::TkNL .new(22, 1, 22, "\n"),
246
+ ]
247
+
248
+ assert_equal expected, tokens
249
+ end
250
+
251
+ def test_class_tokenize_regexp_escape
252
+ tokens = RDoc::RubyLex.tokenize "/\\//", nil
253
+
254
+ expected = [
255
+ @TK::TkREGEXP.new( 0, 1, 0, "/\\//"),
256
+ @TK::TkNL .new( 4, 1, 4, "\n"),
257
+ ]
258
+
259
+ assert_equal expected, tokens
260
+ end
261
+
108
262
  def test_class_tokenize_string
109
263
  tokens = RDoc::RubyLex.tokenize "'hi'", nil
110
264
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.1
4
+ version: 3.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -33,92 +33,92 @@ cert_chain:
33
33
  Q8Tno9S3e4XGGP1ZWfLrTWEJbavFfhGHut2iMRwfC7s/YILAHNATopaJdH9DNpd1
34
34
  U81zGHMUBOvz/VGT6wJwYJ3emS2nfA2NOHFfgA==
35
35
  -----END CERTIFICATE-----
36
- date: 2013-02-06 00:00:00.000000000 Z
36
+ date: 2013-02-25 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: json
40
40
  requirement: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - "~>"
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
44
  version: '1.4'
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - "~>"
49
+ - - ~>
50
50
  - !ruby/object:Gem::Version
51
51
  version: '1.4'
52
52
  - !ruby/object:Gem::Dependency
53
53
  name: minitest
54
54
  requirement: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - "~>"
56
+ - - ~>
57
57
  - !ruby/object:Gem::Version
58
58
  version: '4.3'
59
59
  type: :development
60
60
  prerelease: false
61
61
  version_requirements: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - "~>"
63
+ - - ~>
64
64
  - !ruby/object:Gem::Version
65
65
  version: '4.3'
66
66
  - !ruby/object:Gem::Dependency
67
67
  name: rdoc
68
68
  requirement: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - "~>"
70
+ - - ~>
71
71
  - !ruby/object:Gem::Version
72
72
  version: '3.10'
73
73
  type: :development
74
74
  prerelease: false
75
75
  version_requirements: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - "~>"
77
+ - - ~>
78
78
  - !ruby/object:Gem::Version
79
79
  version: '3.10'
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: racc
82
82
  requirement: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - "~>"
84
+ - - ~>
85
85
  - !ruby/object:Gem::Version
86
86
  version: '1.4'
87
87
  type: :development
88
88
  prerelease: false
89
89
  version_requirements: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - "~>"
91
+ - - ~>
92
92
  - !ruby/object:Gem::Version
93
93
  version: '1.4'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: ZenTest
96
96
  requirement: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - "~>"
98
+ - - ~>
99
99
  - !ruby/object:Gem::Version
100
100
  version: '4'
101
101
  type: :development
102
102
  prerelease: false
103
103
  version_requirements: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - "~>"
105
+ - - ~>
106
106
  - !ruby/object:Gem::Version
107
107
  version: '4'
108
108
  - !ruby/object:Gem::Dependency
109
109
  name: hoe
110
110
  requirement: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - "~>"
112
+ - - ~>
113
113
  - !ruby/object:Gem::Version
114
- version: '3.3'
114
+ version: '3.5'
115
115
  type: :development
116
116
  prerelease: false
117
117
  version_requirements: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - "~>"
119
+ - - ~>
120
120
  - !ruby/object:Gem::Version
121
- version: '3.3'
121
+ version: '3.5'
122
122
  description: |-
123
123
  RDoc produces HTML and command-line documentation for Ruby projects. RDoc
124
124
  includes the +rdoc+ and +ri+ tools for generating and displaying online
@@ -147,8 +147,8 @@ extra_rdoc_files:
147
147
  - bin/rdoc
148
148
  - Rakefile
149
149
  files:
150
- - ".autotest"
151
- - ".document"
150
+ - .autotest
151
+ - .document
152
152
  - CVE-2013-0256.rdoc
153
153
  - DEVELOPERS.rdoc
154
154
  - History.rdoc
@@ -378,7 +378,7 @@ files:
378
378
  - test/test_rdoc_top_level.rb
379
379
  - test/xref_data.rb
380
380
  - test/xref_test_case.rb
381
- - ".gemtest"
381
+ - .gemtest
382
382
  homepage: http://docs.seattlerb.org/rdoc
383
383
  licenses: []
384
384
  metadata: {}
@@ -390,23 +390,23 @@ post_install_message: |
390
390
  = 1.9.1 : gem install rdoc-data; rdoc-data --install
391
391
  >= 1.9.2 : nothing to do! Yay!
392
392
  rdoc_options:
393
- - "--main"
393
+ - --main
394
394
  - README.rdoc
395
395
  require_paths:
396
396
  - lib
397
397
  required_ruby_version: !ruby/object:Gem::Requirement
398
398
  requirements:
399
- - - ">="
399
+ - - '>='
400
400
  - !ruby/object:Gem::Version
401
401
  version: 1.8.7
402
402
  required_rubygems_version: !ruby/object:Gem::Requirement
403
403
  requirements:
404
- - - ">="
404
+ - - '>='
405
405
  - !ruby/object:Gem::Version
406
406
  version: '1.3'
407
407
  requirements: []
408
408
  rubyforge_project: rdoc
409
- rubygems_version: 2.0.0.rc.2
409
+ rubygems_version: 2.0.0
410
410
  signing_key:
411
411
  specification_version: 4
412
412
  summary: RDoc produces HTML and command-line documentation for Ruby projects
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- F���Z�2���CнH�L
1
+ �$�*�V@׮8��ɵ�L��Ni���� _#�#EE����<s���.H���)p���2���(+�w��*�Oõ]�C����{�N֯1=��u�u���fv�coR?8W”d!�H�;�c���J��Ω���?Gn!3�@��'ZGk�
2
+ 5)��9�:��]�ِA�������D���"�́��4�IW)u"��*����6PC� +��-�����t$0V[Y�Gȿ��V�AW;��8�