rdoc 3.2 → 3.3

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.

@@ -144,6 +144,19 @@ The comments associated with
144
144
  assert_equal 'hi', strip_newlines("\n\nhi\n\n")
145
145
  end
146
146
 
147
+ def test_strip_newlines_encoding
148
+ assert_equal Encoding::UTF_8, ''.encoding, 'Encoding sanity check'
149
+
150
+ text = " \n"
151
+ text.force_encoding Encoding::US_ASCII
152
+
153
+ stripped = strip_newlines text
154
+
155
+ assert_equal ' ', stripped
156
+
157
+ assert_equal Encoding::US_ASCII, stripped.encoding
158
+ end
159
+
147
160
  def test_strip_stars
148
161
  text = <<-TEXT
149
162
  /*
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 3
8
- - 2
9
- version: "3.2"
8
+ - 3
9
+ version: "3.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Eric Hodel
@@ -38,7 +38,7 @@ cert_chain:
38
38
  x52qPcexcYZR7w==
39
39
  -----END CERTIFICATE-----
40
40
 
41
- date: 2010-12-29 00:00:00 -08:00
41
+ date: 2011-01-03 00:00:00 -08:00
42
42
  default_executable:
43
43
  dependencies:
44
44
  - !ruby/object:Gem::Dependency
@@ -236,6 +236,7 @@ files:
236
236
  - lib/rdoc/markup/to_html_crossref.rb
237
237
  - lib/rdoc/markup/to_rdoc.rb
238
238
  - lib/rdoc/markup/to_test.rb
239
+ - lib/rdoc/markup/to_tt_only.rb
239
240
  - lib/rdoc/markup/verbatim.rb
240
241
  - lib/rdoc/meta_method.rb
241
242
  - lib/rdoc/method_attr.rb
@@ -296,6 +297,7 @@ files:
296
297
  - test/test_rdoc_markup_to_html.rb
297
298
  - test/test_rdoc_markup_to_html_crossref.rb
298
299
  - test/test_rdoc_markup_to_rdoc.rb
300
+ - test/test_rdoc_markup_to_tt_only.rb
299
301
  - test/test_rdoc_method_attr.rb
300
302
  - test/test_rdoc_normal_class.rb
301
303
  - test/test_rdoc_normal_module.rb
@@ -310,6 +312,7 @@ files:
310
312
  - test/test_rdoc_ri_paths.rb
311
313
  - test/test_rdoc_ri_store.rb
312
314
  - test/test_rdoc_ruby_lex.rb
315
+ - test/test_rdoc_single_class.rb
313
316
  - test/test_rdoc_stats.rb
314
317
  - test/test_rdoc_task.rb
315
318
  - test/test_rdoc_text.rb
@@ -394,6 +397,7 @@ test_files:
394
397
  - test/test_rdoc_markup_to_html.rb
395
398
  - test/test_rdoc_markup_to_html_crossref.rb
396
399
  - test/test_rdoc_markup_to_rdoc.rb
400
+ - test/test_rdoc_markup_to_tt_only.rb
397
401
  - test/test_rdoc_method_attr.rb
398
402
  - test/test_rdoc_normal_class.rb
399
403
  - test/test_rdoc_normal_module.rb
@@ -408,6 +412,7 @@ test_files:
408
412
  - test/test_rdoc_ri_paths.rb
409
413
  - test/test_rdoc_ri_store.rb
410
414
  - test/test_rdoc_ruby_lex.rb
415
+ - test/test_rdoc_single_class.rb
411
416
  - test/test_rdoc_stats.rb
412
417
  - test/test_rdoc_task.rb
413
418
  - test/test_rdoc_text.rb
metadata.gz.sig CHANGED
@@ -1,5 +1,2 @@
1
- �zi1�L��\<k��c��)7����Mb�V��{A�?f�,�d��*��5�rx�l��mӲ+�`uA�X���
2
- ͠���&*����:��wp:1�'���t�l�
3
- n3݆�(�2j�����F��d+aW �>e������ݞ�
4
- �n�� �gZ�r��vJ��qo:��L�
5
- 22r1]/FXʔ�ϲ-����LW��"By�;A j�1��h��E�/~�a€��U?,��A-
1
+ ~�:h�-ɓ����C^���
2
+ /��sݦ�ϟS|Ѿ=��f�H��R_AN!�wK��8{&s}xN'�4�tk}z<�N“Q�W��èˢ����_���1�ĊB��l�k�� #�������������+�Ʃ|�w��|N�����{=u���b�q�7g�_$t���N�