Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 152 lines (107 sloc) 6.063 kB
e2fcf9a @tenderlove * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading
authored
1 Wed Jan 18 12:49:15 2012 Aaron Patterson <aaron@tenderlovemaking.com>
2
3 * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading
4 subclasses of String with ivars
5 * ext/psych/lib/psych/visitors/yaml_tree.rb: Added support for dumping
6 subclasses of String with ivars
7 * test/psych/test_string.rb: corresponding tests
8
33ce865 @tenderlove * ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored
authored
9 Sun Dec 18 12:42:48 2011 Aaron Patterson <aaron@tenderlovemaking.com>
10
11 * ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored
12 from YAML.
13 * ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped
14 to YAML.
15 * test/psych/test_numeric.rb: tests for BigDecimal serialization
16
1caecdc @tenderlove * ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates
authored
17 Sun Dec 18 12:03:13 2011 Aaron Patterson <aaron@tenderlovemaking.com>
18
19 * ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates
20 should be treated as strings and not dates.
21
22 * test/psych/test_scalar_scanner.rb: corresponding tests.
23
40b1bc7 @tenderlove * ext/psych/lib/psych.rb (module Psych): parse and load methods take
authored
24 Wed Dec 7 08:04:31 2011 Aaron Patterson <aaron@tenderlovemaking.com>
25
26 * ext/psych/lib/psych.rb (module Psych): parse and load methods take
27 an optional file name that is used when raising Psych::SyntaxError
28 exceptions
29 * ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file
30 names and handle nil file names in the exception message
31 * test/psych/test_exception.rb (module Psych): Tests for changes.
32
7aad593 @tenderlove * ext/psych/parser.c (parse): parse method can take an option file
authored
33 Wed Nov 30 09:09:37 2011 Aaron Patterson <aaron@tenderlovemaking.com>
34
35 * ext/psych/parser.c (parse): parse method can take an option file
36 name for use in exception messages.
37 * test/psych/test_parser.rb: corresponding tests.
38
363fad7 @tenderlove * ext/psych/lib/psych.rb: remove autoload from psych
authored
39 Tue Nov 22 04:46:22 2011 Aaron Patterson <aaron@tenderlovemaking.com>
40
41 * ext/psych/lib/psych.rb: remove autoload from psych
42 * ext/psych/lib/psych/json.rb: ditto
43
312965d @tenderlove * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
authored
44 Thu Nov 17 10:36:46 2011 Aaron Patterson <aaron@tenderlovemaking.com>
45
46 * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
47 also closed. [ruby-core:41088]
48
d7713a2 @tenderlove * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
authored
49 Wed Nov 9 04:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
50
51 * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
52 rationals, etc with reference ids.
53 * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
54 * ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers,
55 rationals, etc with reference ids.
56 * test/psych/test_object_references.rb: corresponding tests
57
8dd7448 @tenderlove * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
authored
58 Mon Nov 7 20:31:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
59
60 * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
61 like base 60 numbers are serialized as quoted strings.
62 * test/psych/test_string.rb: test for change.
63
524da34 @tenderlove adding more information to the syntax error exception
authored
64 Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com>
65
66 * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
67 message attributes during parse failure.
68 * ext/psych/parser.c: Update parser to raise exception with correct
69 values.
70 * test/psych/test_exception.rb: corresponding tests.
71
64f27ed @tenderlove Using context_mark from the parser struct for accuruate line / column
authored
72 Wed Oct 5 01:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com>
73
74 * ext/psych/parser.c (parse): Use context_mark for indicating error
75 line and column.
76
cda70ad @tenderlove Use `yaml` rather than `to_yaml` to avoid ENGINE changes removing this
authored
77 Tue Oct 4 06:29:55 2011 Aaron Patterson <aaron@tenderlovemaking.com>
78
79 * ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
80 * ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
81 in order to avoid YAML::ENGINE switching from replacing this method.
82 * test/psych/helper.rb: fix tests for method name change.
83 * test/psych/test_document.rb: ditto
84 * test/psych/visitors/test_emitter.rb: ditto
85
2422a9f @tenderlove Avoid accepting incorrect floating point values.
authored
86 Tue Oct 4 06:20:19 2011 Aaron Patterson <aaron@tenderlovemaking.com>
87
88 * ext/psych/lib/psych/scalar_scanner.rb: Match values against the
89 floating point spec defined in YAML to avoid erronious parses.
90 * test/psych/test_numeric.rb: corresponding test.
91
68a91d5 @tenderlove * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
authored
92 Tue Oct 4 05:59:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
93
94 * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
95 constructed with a ScalarScanner.
96 * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
97 passed to the YAMLTree visitor.
98
89ff730 @tenderlove adding history from ruby-core
authored
99 Tue Oct 4 05:47:23 2011 Aaron Patterson <aaron@tenderlovemaking.com>
100
101 * ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
102 for 1.9.2 backwards compatibility.
103 * ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
104 generation for 1.9.2 backwards compatibility.
105
c9cd187 @tenderlove Strings tagged binary will be emitted as binary. Fixes #27
authored
106 Fri Sep 2 04:05:25 2011 Aaron Patterson <aaron@tenderlovemaking.com>
107
108 * ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
109 ascii-8bit as binary in YAML.
110 * test/psych/test_string.rb: corresponding test.
111
fe65329 @tenderlove * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
authored
112 Thu Aug 25 06:11:35 2011 Aaron Patterson <aaron@tenderlovemaking.com>
113
114 * ext/psych/lib/psych/nodes/node.rb: default `to_yaml` encoding to be
115 UTF-8.
116 * test/psych/test_encoding.rb: test yaml dump encoding.
117
478a7ac @tenderlove fixing cyclic object reference handling. Thanks to @CvX for the test.…
authored
118 Wed Jun 22 03:20:52 2011 Aaron Patterson <aaron@tenderlovemaking.com>
119
120 * ext/psych/lib/psych/visitors/to_ruby.rb: Fix cyclic references of
121 objects. Thanks to CvX for reporting the bug and a test case.
122 * test/psych/test_object.rb: test for cyclic object references.
123
ef6db4f @tenderlove bumping version and copying changelog from ruby core
authored
124 Thu Jun 9 10:57:03 2011 Aaron Patterson <aaron@tenderlovemaking.com>
ec8ae73 @tenderlove initial commit
authored
125
ef6db4f @tenderlove bumping version and copying changelog from ruby core
authored
126 * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be read
127 from YAML files.
128 * ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be
129 dumped to YAML files.
130 * test/psych/test_hash.rb: corresponding test.
131
132 Thu Jun 9 09:18:51 2011 Aaron Patterson <aaron@tenderlovemaking.com>
133
134 * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loaded
135 from YAML files.
136 * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be
137 dumped to YAML files.
138 * test/psych/test_class.rb: corresponding test.
139
140 Thu Jun 9 09:05:04 2011 Aaron Patterson <aaron@tenderlovemaking.com>
141
142 * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loaded
143 from YAML files.
144 * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be
145 dumped to YAML files.
146 * test/psych/test_class.rb: corresponding test.
147
148 Mon Jun 6 09:39:43 2011 Aaron Patterson <aaron@tenderlovemaking.com>
149
150 * ext/psych/parser.c (parse): release event objects to plug memory
151 leak. Thanks Mark J. Titorenko!
Something went wrong with that request. Please try again.