psych 3.1.0-java → 3.3.2-java

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml DELETED
@@ -1,22 +0,0 @@
1
- rvm:
2
- - 2.3.8
3
- - 2.4.5
4
- - 2.5.3
5
- - ruby-head
6
- - jruby-9.1.17.0
7
- - jruby-9.2.0.0
8
-
9
- matrix:
10
- allow_failures:
11
- - rvm: jruby-9.1.17.0
12
- - rvm: jruby-9.2.0.0
13
-
14
- before_script:
15
- - unset JRUBY_OPTS
16
-
17
- script: rake
18
-
19
- addons:
20
- apt:
21
- packages:
22
- - haveged
data/CHANGELOG.rdoc DELETED
@@ -1,583 +0,0 @@
1
- Thu Nov 8 12:00:00 2018 Juanito Fatas <me@juanitofatas.com>
2
-
3
- * lib/psych.rb: Use friendlier terminology in YAML.safe_load.
4
- Replace keyword argumment whitelist_classes and whitelist_symbols.
5
- with permitted_classes and permitted_symbols.
6
- * test/psych/test_safer_load.rb: Update tests accordingly.
7
-
8
- Fri Feb 6 17:47:05 2015 Aaron Patterson <aaron@tenderlovemaking.com>
9
-
10
- * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when
11
- dumping objects with custom coders. [ruby-core:66215] [Bug #10496]
12
-
13
- * test/psych/test_coder.rb: test for fix
14
-
15
- Fri Feb 6 16:58:31 2015 Aaron Patterson <aaron@tenderlovemaking.com>
16
-
17
- * ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regular
18
- expressions with newlines. tenderlove/psych#222
19
-
20
- * test/psych/test_yaml.rb: test for change.
21
-
22
- Thu Jan 29 02:34:27 2015 Aaron Patterson <aaron@tenderlovemaking.com>
23
-
24
- * ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes with
25
- instance variables when it is referenced multiple times.
26
- * ext/psych/lib/psych.rb: bump version
27
- * ext/psych/psych.gemspec: bump version
28
- * test/psych/test_hash.rb: test for fix
29
-
30
- Fri Jan 9 07:13:55 2015 Aaron Patterson <aaron@tenderlovemaking.com>
31
-
32
- * ext/psych/lib/psych/visitors/to_ruby.rb: call `allocate` on hash
33
- subclasses. Fixes github.com/tenderlove/psych/issues/196
34
-
35
- * test/psych/test_hash.rb: test for change
36
-
37
- Fri Jan 9 06:58:43 2015 Aaron Patterson <aaron@tenderlovemaking.com>
38
-
39
- * ext/psych/lib/psych/visitors/to_ruby.rb: revive hashes with ivars
40
-
41
- * ext/psych/lib/psych/visitors/yaml_tree.rb: dump hashes with ivars.
42
- Fixes github.com/psych/issues/43
43
-
44
- * test/psych/test_hash.rb: test for change
45
-
46
- Sun Nov 23 13:11:24 2014 Sean Griffin <sean@thoughtbot.com>
47
-
48
- * lib/psych/visitors/to_ruby.rb: Allow loading any BasicObject that
49
- defines #marshal_load, fixes #100
50
- * lib/psych/visitors/yaml_tree.rb: Allow dumping any BasicObject that
51
- defines #marshal_dump
52
-
53
- Sat Aug 30 06:39:48 2014 Aaron Patterson <aaron@tenderlovemaking.com>
54
-
55
- * ext/psych/lib/psych/visitors/yaml_tree.rb: fix NameError dumping and
56
- loading. Fixes GH #85. Thanks @brentdax for the patch!
57
- * test/psych/test_exception.rb: test for fix
58
-
59
- Sat Aug 30 06:23:40 2014 Aaron Patterson <aaron@tenderlovemaking.com>
60
-
61
- * ext/psych/lib/psych/scalar_scanner.rb: fix loading strings that
62
- look like integers but have a newline. Fixes GH #189
63
- * test/psych/test_string.rb: test for fix
64
-
65
- Sat Aug 30 06:10:39 2014 Aaron Patterson <aaron@tenderlovemaking.com>
66
-
67
- * ext/psych/lib/psych/visitors/to_ruby.rb: merge keys with a hash
68
- should merge the hash in to the parent.
69
- * test/psych/test_merge_keys.rb: test for change. Fixes GH #202
70
-
71
- Sat Aug 30 06:00:26 2014 Aaron Patterson <aaron@tenderlovemaking.com>
72
-
73
- * ext/psych/lib/psych/visitors/to_ruby.rb: quoted "<<" strings
74
- should not be treated as merge keys.
75
- * ext/psych/lib/psych/visitors/yaml_tree.rb: hashes with keys
76
- containing "<<" should roundtrip.
77
- * test/psych/test_merge_keys.rb: test for change. Fixes GH #203
78
-
79
- Wed Aug 6 03:41:21 2014 Aaron Patterson <aaron@tenderlovemaking.com>
80
-
81
- * ext/psych/lib/psych/visitors/to_ruby.rb: backwards compatibility for
82
- hashes emitted by Syck. Github #198
83
- * test/psych/test_hash.rb: test for change.
84
-
85
- Fri Jun 6 07:41:41 2014 Aaron Patterson <aaron@tenderlovemaking.com>
86
-
87
- * ext/psych/lib/psych/visitors/yaml_tree.rb: dump empty symbols with a
88
- tag so that they can be parsed on input. [Bug #9873] [ruby-core:62825]
89
- * test/psych/test_symbol.rb: test for change
90
-
91
- Sun May 25 11:35:41 2014 Zachary Scott <e@zzak.io>
92
-
93
- * test/psych/*: YAML::ENGINE was removed in [Bug #8344]
94
-
95
- 2014-03-27 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
96
-
97
- * ext/psych/yaml/scanner.c: merge libyaml 0.1.6
98
- * ext/psych/yaml/yaml_private.h: ditto
99
-
100
- Sat Mar 1 11:08:00 2014 Aaron Patterson <aaron@tenderlovemaking.com>
101
-
102
- * ext/psych/lib/psych/visitors/yaml_tree.rb: support dumping Encoding
103
- objects.
104
-
105
- * ext/psych/lib/psych/visitors/to_ruby.rb: support loading Encoding
106
- objects.
107
-
108
- * test/psych/test_encoding.rb: add test
109
-
110
- * ext/psych/lib/psych.rb: add version
111
-
112
- Wed Feb 5 10:11:36 2014 Zachary Scott <e@zzak.io>
113
-
114
- * ext/psych/yaml/config.h: bump libyaml to 0.1.5
115
-
116
- Wed Feb 5 04:16:41 2014 Aaron Patterson <aaron@tenderlovemaking.com>
117
-
118
- * ext/psych/yaml/emitter.c: merge libyaml 0.1.5
119
- * ext/psych/yaml/loader.c: ditto
120
- * ext/psych/yaml/parser.c: ditto
121
- * ext/psych/yaml/reader.c: ditto
122
- * ext/psych/yaml/scanner.c: ditto
123
- * ext/psych/yaml/writer.c: ditto
124
- * ext/psych/yaml/yaml_private.h: ditto
125
-
126
- Thu Jan 9 09:55:20 2014 Aaron Patterson <aaron@tenderlovemaking.com>
127
-
128
- * ext/psych/lib/psych/visitors/yaml_tree.rb: dumping strings with
129
- quotes should not have changed. [ruby-core:59316] [Bug #9300]
130
-
131
- * ext/psych/lib/psych.rb: fixed missing require.
132
-
133
- * test/psych/test_string.rb: test
134
-
135
- Wed Nov 27 06:40:18 2013 Aaron Patterson <aaron@tenderlovemaking.com>
136
-
137
- * ext/psych/lib/psych/scalar_scanner.rb: fix support for negative
138
- years.
139
- * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
140
- * test/psych/test_date_time.rb: test for change.
141
- Fixes: https://github.com/tenderlove/psych/issues/168
142
-
143
- Wed Nov 27 04:46:55 2013 Aaron Patterson <aaron@tenderlovemaking.com>
144
-
145
- * ext/psych/lib/psych/scalar_scanner.rb: fix regexp for matching TIME
146
- strings.
147
- * test/psych/test_date_time.rb: test for change.
148
- Fixes: https://github.com/tenderlove/psych/issues/171
149
-
150
- Wed Nov 6 04:14:25 2013 Aaron Patterson <aaron@tenderlovemaking.com>
151
-
152
- * ext/psych/lib/psych/visitors/to_ruby.rb: process merge keys before
153
- reviving objects. Fixes GH psych #168
154
- * test/psych/test_merge_keys.rb: test for change
155
- https://github.com/tenderlove/psych/issues/168
156
-
157
- Wed Oct 30 03:25:10 2013 Aaron Patterson <aaron@tenderlovemaking.com>
158
-
159
- * ext/psych/lib/psych/visitors/yaml_tree.rb: make less garbage when
160
- testing if a string is binary.
161
-
162
- Wed Oct 30 03:08:24 2013 Aaron Patterson <aaron@tenderlovemaking.com>
163
-
164
- * ext/psych/lib/psych/visitors/yaml_tree.rb: string subclasses should
165
- not be considered to be binary. Fixes Psych / GH 166
166
- https://github.com/tenderlove/psych/issues/166
167
-
168
- * test/psych/test_string.rb: test for fix
169
-
170
- Fri Sep 20 23:44:07 2013 Zachary Scott <e@zzak.io>
171
-
172
- * ext/psych/yaml/yaml.h: [DOC] fix typo by @GreenGeorge [Fixes GH-161]
173
- https://github.com/tenderlove/psych/pull/161
174
-
175
- Fri Sep 6 02:37:22 2013 Aaron Patterson <aaron@tenderlovemaking.com>
176
-
177
- * ext/psych/lib/psych/visitors/yaml_tree.rb: use double quotes when
178
- strings start with special characters.
179
- [Fixes GH-157] https://github.com/tenderlove/psych/issues/157
180
-
181
- * test/psych/test_string.rb: test for change.
182
-
183
- Thu Aug 29 02:40:45 2013 Aaron Patterson <aaron@tenderlovemaking.com>
184
-
185
- * ext/psych/lib/psych/scalar_scanner.rb: invalid floats should be
186
- treated as strings.
187
- [Fixes GH-156] https://github.com/tenderlove/psych/issues/156
188
-
189
- * test/psych/test_string.rb: test for change
190
-
191
- Sat Jul 6 04:49:38 2013 Aaron Patterson <aaron@tenderlovemaking.com>
192
-
193
- * ext/psych/lib/psych/visitors/yaml_tree.rb: register time objects so
194
- they are referenced as ids during output.
195
- * test/psych/test_date_time.rb: corresponding test.
196
-
197
- Wed May 15 02:22:16 2013 Aaron Patterson <aaron@tenderlovemaking.com>
198
-
199
- * ext/psych/lib/psych.rb: Adding Psych.safe_load for loading a user
200
- defined, restricted subset of Ruby object types.
201
- * ext/psych/lib/psych/class_loader.rb: A class loader for
202
- encapsulating the logic for which objects are allowed to be
203
- deserialized.
204
- * ext/psych/lib/psych/deprecated.rb: Changes to use the class loader
205
- * ext/psych/lib/psych/exception.rb: ditto
206
- * ext/psych/lib/psych/json/stream.rb: ditto
207
- * ext/psych/lib/psych/nodes/node.rb: ditto
208
- * ext/psych/lib/psych/scalar_scanner.rb: ditto
209
- * ext/psych/lib/psych/stream.rb: ditto
210
- * ext/psych/lib/psych/streaming.rb: ditto
211
- * ext/psych/lib/psych/visitors/json_tree.rb: ditto
212
- * ext/psych/lib/psych/visitors/to_ruby.rb: ditto
213
- * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
214
- * ext/psych/psych_to_ruby.c: ditto
215
- * test/psych/helper.rb: ditto
216
- * test/psych/test_safe_load.rb: tests for restricted subset.
217
- * test/psych/test_scalar_scanner.rb: ditto
218
- * test/psych/visitors/test_to_ruby.rb: ditto
219
- * test/psych/visitors/test_yaml_tree.rb: ditto
220
-
221
- Sat Apr 6 02:54:08 2013 Aaron Patterson <aaron@tenderlovemaking.com>
222
-
223
- * ext/psych/lib/psych/exception.rb: there should be only one exception
224
- base class. Fixes tenderlove/psych #125
225
- * ext/psych/lib/psych.rb: require the correct exception class
226
- * ext/psych/lib/psych/syntax_error.rb: ditto
227
- * ext/psych/lib/psych/visitors/to_ruby.rb: ditto
228
-
229
- Sat Apr 6 02:06:04 2013 Aaron Patterson <aaron@tenderlovemaking.com>
230
-
231
- * ext/psych/lib/psych/visitors/to_ruby.rb: correctly register
232
- self-referential strings. Fixes tenderlove/psych #135
233
-
234
- * test/psych/test_string.rb: appropriate test.
235
-
236
- Fri Mar 1 09:15:00 2013 Zachary Scott <zachary@zacharyscott.net>
237
-
238
- * lib/psych.rb: specify in rdoc what object is returned in parser
239
- By Adam Stankiewicz [Github Fixes #133]
240
-
241
- Fri Mar 1 03:22:00 2013 Zachary Scott <zachary@zacharyscott.net>
242
-
243
- * lib/psych.rb: rdoc for Psych overview by Adam Stankiewicz
244
- [Github Fixes #134]
245
-
246
- Sun Feb 17 01:13:00 2013 Zachary Scott <zachary@zacharyscott.net>
247
-
248
- * lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz
249
- [Github Fixes #127]
250
-
251
- Fri Feb 8 08:53:27 2013 Aaron Patterson <aaron@tenderlovemaking.com>
252
-
253
- * ext/psych/lib/psych/visitors/yaml_tree.rb: fixing string quotation
254
- when dumping Ruby strings. Thanks Ingy
255
-
256
- * test/psych/test_psych.rb: appropriate tests.
257
-
258
- * test/psych/test_yaml.rb: ditto
259
-
260
- Fri Feb 8 08:50:42 2013 Aaron Patterson <aaron@tenderlovemaking.com>
261
-
262
- * ext/psych/lib/psych/visitors/yaml_tree.rb: change output reference
263
- ids to be sequential numbers.
264
-
265
- Thu Jan 17 10:48:56 2013 Aaron Patterson <aaron@tenderlovemaking.com>
266
-
267
- * ext/psych/lib/psych/scalar_scanner.rb: use constants rather than
268
- calculating Inf and NaN.
269
-
270
- Sun Jan 13 16:40:00 2013 Zachary Scott <zachary@zacharyscott.net>
271
-
272
- * ext/psych/yaml/scanner.c: Typos by James Dabbs [Github Fixes #118]
273
-
274
- Sat Jan 12 08:58:47 2013 Aaron Patterson <aaron@tenderlovemaking.com>
275
-
276
- * ext/psych/lib/psych/visitors/to_ruby.rb: merge key values that
277
- contain something besides a hash should be left in tact.
278
-
279
- * test/psych/test_merge_keys.rb: test for change
280
-
281
- Thu Jan 10 04:23:07 2013 Aaron Patterson <aaron@tenderlovemaking.com>
282
-
283
- * ext/psych/lib/psych/scalar_scanner.rb: strip trailing dots from
284
- floats so that Float() will not raise an exception.
285
-
286
- * test/psych/test_numeric.rb: test to ensure "1." can be loaded
287
-
288
- * test/psych/test_string.rb: make sure "1." can round trip
289
-
290
- Sat Nov 17 12:03:41 2012 Aaron Patterson <aaron@tenderlovemaking.com>
291
-
292
- * ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions when
293
- parsing Floats and Integers. Thanks riffraff [ruby-core:44426]
294
- * test/psych/test_numeric.rb: associated test
295
-
296
- Sat Nov 17 11:26:36 2012 Aaron Patterson <aaron@tenderlovemaking.com>
297
-
298
- * ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it can
299
- manually be required as 'psych/y'.
300
-
301
- * ext/psych/lib/psych/y.rb: ditto
302
-
303
- Tue Nov 6 09:37:57 2012 NARUSE, Yui <naruse@ruby-lang.org>
304
-
305
- * ruby.c (load_file_internal): set default source encoding as
306
- UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679]
307
-
308
- * parse.y (parser_initialize): set default parser encoding as
309
- UTF-8 instead of US-ASCII.
310
-
311
- Mon Oct 29 10:22:00 2012 Aaron Patterson <aaron@tenderlovemaking.com>
312
-
313
- * ext/psych/lib/psych/handlers/recorder.rb: added a class for
314
- recording YAML parse and emit events.
315
-
316
- * ext/psych/lib/psych/handler.rb: adding a list of events so that
317
- handler classes can more easily be meta-programmed.
318
-
319
- * test/psych/handlers/test_recorder.rb: tests for the change.
320
-
321
- Sun Oct 28 10:12:15 2012 Aaron Patterson <aaron@tenderlovemaking.com>
322
-
323
- * ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the
324
- same thing on every call.
325
-
326
- * test/psych/visitors/test_yaml_tree.rb: related test.
327
-
328
- Sun Oct 28 10:05:03 2012 Aaron Patterson <aaron@tenderlovemaking.com>
329
-
330
- * ext/psych/lib/psych/visitors/yaml_tree.rb: YAML Tree object should
331
- be able to take an emitter object as it's output.
332
-
333
- * test/psych/visitors/test_yaml_tree.rb: related test.
334
-
335
- Thu Jul 19 09:33:46 2012 Aaron Patterson <aaron@tenderlovemaking.com>
336
-
337
- * ext/psych/emitter.c (initialize): allow a configuration object to be
338
- passed to the constructor so that mutation isn't required after
339
- instantiation.
340
-
341
- * ext/psych/lib/psych/handler.rb: add configuration object
342
-
343
- * ext/psych/lib/psych/visitors/emitter.rb: use configuration object if
344
- extra configuration is present.
345
-
346
- Fri May 18 01:28:21 2012 Aaron Patterson <aaron@tenderlovemaking.com>
347
-
348
- * ext/psych/parser.c (transcode_string): fix encoding index names.
349
- Thanks markizko for reporting.
350
-
351
- Wed May 16 05:11:29 2012 Aaron Patterson <aaron@tenderlovemaking.com>
352
-
353
- * ext/psych/lib/psych/visitors/to_ruby.rb: fix a bug with string
354
- subclass dumping and loading.
355
-
356
- * test/psych/test_array.rb: pertinent tests
357
-
358
- * test/psych/test_string.rb: ditto
359
-
360
- Wed May 16 01:31:21 2012 Aaron Patterson <aaron@tenderlovemaking.com>
361
-
362
- * ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged maps to
363
- Psych::Omap objects rather than hashes. [Bug #6425]
364
-
365
- * test/psych/test_omap.rb: pertinent test.
366
-
367
- Wed May 16 01:15:45 2012 Aaron Patterson <aaron@tenderlovemaking.com>
368
-
369
- * ext/psych/lib/psych/visitors/yaml_tree.rb: keep a reference to
370
- custom coders so that GC does not impact dumped yaml reference ids.
371
-
372
- Mon Apr 30 04:43:53 2012 Aaron Patterson <aaron@tenderlovemaking.com>
373
-
374
- * ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not
375
- be changeable for JSON events.
376
-
377
- Sat Apr 7 02:07:00 2012 Aaron Patterson <aaron@tenderlovemaking.com>
378
-
379
- * ext/psych/parser.c: fall back to any encoding if the external
380
- encoding is wrong. [ruby-core:44163]
381
- * test/psych/test_encoding.rb: fix test
382
-
383
- Fri Mar 9 06:29:22 2012 Aaron Patterson <aaron@tenderlovemaking.com>
384
-
385
- * ext/psych/lib/psych.rb (load, parse): stop parsing or loading after
386
- the first document has been parsed.
387
-
388
- * test/psych/test_stream.rb: pertinent tests.
389
-
390
- Fri Mar 9 06:17:05 2012 Aaron Patterson <aaron@tenderlovemaking.com>
391
-
392
- * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is
393
- given, documents will be yielded to the block as they are parsed.
394
- [ruby-core:42404] [Bug #5978]
395
-
396
- * ext/psych/lib/psych/handlers/document_stream.rb: add a handler that
397
- yields documents as they are parsed
398
-
399
- * test/psych/test_stream.rb: corresponding tests.
400
-
401
- Tue Mar 6 02:31:20 2012 Aaron Patterson <aaron@tenderlovemaking.com>
402
-
403
- * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded
404
- in order to stop method pollution.
405
-
406
- Tue Feb 28 10:28:51 2012 Aaron Patterson <aaron@tenderlovemaking.com>
407
-
408
- * ext/psych/lib/psych.rb: default open YAML files with utf8 external
409
- encoding. [ruby-core:42967]
410
- * test/psych/test_tainted.rb: ditto
411
-
412
- Fri Feb 24 13:54:33 2012 Aaron Patterson <aaron@tenderlovemaking.com>
413
-
414
- * ext/psych/parser.c: prevent a memory leak by protecting calls to
415
- handler callbacks.
416
- * test/psych/test_parser.rb: test to demonstrate leak.
417
-
418
- Fri Feb 24 08:08:38 2012 Aaron Patterson <aaron@tenderlovemaking.com>
419
-
420
- * ext/psych/parser.c: set parser encoding based on the YAML input
421
- rather than user configuration.
422
- * test/psych/test_encoding.rb: corresponding tests.
423
- * test/psych/test_parser.rb: ditto
424
- * test/psych/test_tainted.rb: ditto
425
-
426
- Fri Feb 10 03:41:31 2012 Aaron Patterson <aaron@tenderlovemaking.com>
427
-
428
- * ext/psych/parser.c: removed external encoding setter, allow parser
429
- to be reused.
430
- * ext/psych/lib/psych/parser.rb: added external encoding setter.
431
- * test/psych/test_parser.rb: test parser reuse
432
-
433
- Wed Jan 18 12:49:15 2012 Aaron Patterson <aaron@tenderlovemaking.com>
434
-
435
- * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading
436
- subclasses of String with ivars
437
- * ext/psych/lib/psych/visitors/yaml_tree.rb: Added support for dumping
438
- subclasses of String with ivars
439
- * test/psych/test_string.rb: corresponding tests
440
-
441
- Sun Dec 18 12:42:48 2011 Aaron Patterson <aaron@tenderlovemaking.com>
442
-
443
- * ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored
444
- from YAML.
445
- * ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped
446
- to YAML.
447
- * test/psych/test_numeric.rb: tests for BigDecimal serialization
448
-
449
- Sun Dec 18 12:03:13 2011 Aaron Patterson <aaron@tenderlovemaking.com>
450
-
451
- * ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates
452
- should be treated as strings and not dates.
453
-
454
- * test/psych/test_scalar_scanner.rb: corresponding tests.
455
-
456
- Wed Dec 7 08:04:31 2011 Aaron Patterson <aaron@tenderlovemaking.com>
457
-
458
- * ext/psych/lib/psych.rb (module Psych): parse and load methods take
459
- an optional file name that is used when raising Psych::SyntaxError
460
- exceptions
461
- * ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file
462
- names and handle nil file names in the exception message
463
- * test/psych/test_exception.rb (module Psych): Tests for changes.
464
-
465
- Wed Nov 30 09:09:37 2011 Aaron Patterson <aaron@tenderlovemaking.com>
466
-
467
- * ext/psych/parser.c (parse): parse method can take an option file
468
- name for use in exception messages.
469
- * test/psych/test_parser.rb: corresponding tests.
470
-
471
- Tue Nov 22 04:46:22 2011 Aaron Patterson <aaron@tenderlovemaking.com>
472
-
473
- * ext/psych/lib/psych.rb: remove autoload from psych
474
- * ext/psych/lib/psych/json.rb: ditto
475
-
476
- Thu Nov 17 10:36:46 2011 Aaron Patterson <aaron@tenderlovemaking.com>
477
-
478
- * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
479
- also closed. [ruby-core:41088]
480
-
481
- Wed Nov 9 04:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
482
-
483
- * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
484
- rationals, etc with reference ids.
485
- * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
486
- * ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers,
487
- rationals, etc with reference ids.
488
- * test/psych/test_object_references.rb: corresponding tests
489
-
490
- Mon Nov 7 20:31:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
491
-
492
- * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
493
- like base 60 numbers are serialized as quoted strings.
494
- * test/psych/test_string.rb: test for change.
495
-
496
- Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
497
-
498
- * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
499
- message attributes during parse failure.
500
- * ext/psych/parser.c: Update parser to raise exception with correct
501
- values.
502
- * test/psych/test_exception.rb: corresponding tests.
503
-
504
- Wed Oct 5 01:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
505
-
506
- * ext/psych/parser.c (parse): Use context_mark for indicating error
507
- line and column.
508
-
509
- Tue Oct 4 06:29:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
510
-
511
- * ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
512
- * ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
513
- in order to avoid YAML::ENGINE switching from replacing this method.
514
- * test/psych/helper.rb: fix tests for method name change.
515
- * test/psych/test_document.rb: ditto
516
- * test/psych/visitors/test_emitter.rb: ditto
517
-
518
- Tue Oct 4 06:20:19 2011 Aaron Patterson <aaron@tenderlovemaking.com>
519
-
520
- * ext/psych/lib/psych/scalar_scanner.rb: Match values against the
521
- floating point spec defined in YAML to avoid erronious parses.
522
- * test/psych/test_numeric.rb: corresponding test.
523
-
524
- Tue Oct 4 05:59:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
525
-
526
- * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
527
- constructed with a ScalarScanner.
528
- * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
529
- passed to the YAMLTree visitor.
530
-
531
- Tue Oct 4 05:47:23 2011 Aaron Patterson <aaron@tenderlovemaking.com>
532
-
533
- * ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
534
- for 1.9.2 backwards compatibility.
535
- * ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
536
- generation for 1.9.2 backwards compatibility.
537
-
538
- Fri Sep 2 04:05:25 2011 Aaron Patterson <aaron@tenderlovemaking.com>
539
-
540
- * ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
541
- ascii-8bit as binary in YAML.
542
- * test/psych/test_string.rb: corresponding test.
543
-
544
- Thu Aug 25 06:11:35 2011 Aaron Patterson <aaron@tenderlovemaking.com>
545
-
546
- * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
547
- UTF-8.
548
- * test/psych/test_encoding.rb: test yaml dump encoding.
549
-
550
- Wed Jun 22 03:20:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
551
-
552
- * ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of
553
- objects. Thanks to CvX for reporting the bug and a test case.
554
- * test/psych/test_object.rb: test for cyclic object references.
555
-
556
- Thu Jun 9 10:57:03 2011 Aaron Patterson <aaron@tenderlovemaking.com>
557
-
558
- * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
559
- from YAML files.
560
- * ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
561
- dumped to YAML files.
562
- * test/psych/test_hash.rb: corresponding test.
563
-
564
- Thu Jun 9 09:18:51 2011 Aaron Patterson <aaron@tenderlovemaking.com>
565
-
566
- * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
567
- from YAML files.
568
- * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
569
- dumped to YAML files.
570
- * test/psych/test_class.rb: corresponding test.
571
-
572
- Thu Jun 9 09:05:04 2011 Aaron Patterson <aaron@tenderlovemaking.com>
573
-
574
- * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
575
- from YAML files.
576
- * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
577
- dumped to YAML files.
578
- * test/psych/test_class.rb: corresponding test.
579
-
580
- Mon Jun 6 09:39:43 2011 Aaron Patterson <aaron@tenderlovemaking.com>
581
-
582
- * ext/psych/parser.c (parse): release event objects to plug memory
583
- leak. Thanks Mark J. Titorenko!