| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master:
backport Tempfile.create so psych tests will run outside ruby trunk
* ext/psych/lib/psych/scalar_scanner.rb: invalid floats should be treated as strings. [Fixes GH-156] https://github.com/tenderlove/psych/issues/156
merge ruby/ruby@826df7f upstream
* ext/psych/lib/psych/visitors/yaml_tree.rb: register time objects so they are referenced as ids during output. * test/psych/test_date_time.rb: corresponding test.
merging from ruby trunk
Replace outdated ruby-head with 2.0.0 on travis
updating manifest
Conflicts:
.travis.yml
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
treated as strings.
[Fixes GH-156] https://github.com/tenderlove/psych/issues/156
* test/psych/test_string.rb: test for change
fixes #156
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
they are referenced as ids during output.
* test/psych/test_date_time.rb: corresponding test.
Fixes #146
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
defined, restricted subset of Ruby object types.
* ext/psych/lib/psych/class_loader.rb: A class loader for
encapsulating the logic for which objects are allowed to be
deserialized.
* ext/psych/lib/psych/deprecated.rb: Changes to use the class loader
* ext/psych/lib/psych/exception.rb: ditto
* ext/psych/lib/psych/json/stream.rb: ditto
* ext/psych/lib/psych/nodes/node.rb: ditto
* ext/psych/lib/psych/scalar_scanner.rb: ditto
* ext/psych/lib/psych/stream.rb: ditto
* ext/psych/lib/psych/streaming.rb: ditto
* ext/psych/lib/psych/visitors/json_tree.rb: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: ditto
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* ext/psych/psych_to_ruby.c: ditto
* test/psych/helper.rb: ditto
* test/psych/test_safe_load.rb: tests for restricted subset.
* test/psych/test_scalar_scanner.rb: ditto
* test/psych/visitors/test_to_ruby.rb: ditto
* test/psych/visitors/test_yaml_tree.rb: ditto
|
| |
|
| |
|
|\
| |
| | |
Remove remaining .swp file
|
| | |
|
|\ \
| | |
| | | |
Do not use one-letter variables
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
Fix case when map includes a symbol key in #emit_coder
|
| | |
| | |
| | |
| | | |
Mimic what is done in #visit_Hash. Fixes #107.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
base class. Fixes tenderlove/psych #125
* ext/psych/lib/psych.rb: require the correct exception class
* ext/psych/lib/psych/syntax_error.rb: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: ditto
fixes #125
|
| | |
| | |
| | |
| | |
| | |
| | | |
self-referential strings. Fixes tenderlove/psych #135
* test/psych/test_string.rb: appropriate test.
|
| | | |
|
| | |
| | |
| | |
| | | |
By Adam Stankiewicz [Github Fixes #133]
|
| |/
|/|
| |
| | |
[Github Fixes #134]
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
when dumping Ruby strings. Thanks Ingy
* test/psych/test_psych.rb: appropriate tests.
* test/psych/test_yaml.rb: ditto
|
| |
| |
| |
| | |
ids to be sequential numbers.
|
|/ |
|
|
|
|
| |
calculating Inf and NaN.
|
| |
|
|
|
|
|
|
|
|
| |
contain something besides a hash should be left in tact.
* test/psych/test_merge_keys.rb: test for change
fixes #114
|
|
|
|
|
|
|
|
|
|
| |
floats so that Float() will not raise an exception.
* test/psych/test_numeric.rb: test to ensure "1." can be loaded
* test/psych/test_string.rb: make sure "1." can round trip
fixes #109
|
|\
| |
| | |
Improve string encoding
|
| |
| |
| |
| |
| | |
* A human-readable representation can be used for ascii_only 8bit-encoded strings.
* String subclasses are binary, even if they are character-encoded.
|
| | |
|
|/ |
|
|
|
|
| |
should be same as example. Patch by Ippei Obayashi [ruby-core:51193]
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master: (28 commits)
merge changes from ruby trunk
Strings that start with non-word characters should double quote without exclamation mark
fixing rsync
make some header file adjustments for ruby compile
updating the version to 2.0
add the license for libyaml
Update README.rdoc
fix c file name
only do have_header checks if we are embedding libyaml
mkmf has a global for this test
fix build on windows
only embed libyaml if the system does not have it
* ext/psych/lib/psych/scalar_scanner.rb: avoid raising exceptions when parsing Floats and Integers. Thanks riffraff [ruby-core:44426] * test/psych/test_numeric.rb: associated test
* ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it can manually be required as 'psych/y'.
for compiling on mswin
embedding libyaml
* ruby.c (load_file_internal): set default source encoding as UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679]
* ext/psych/lib/psych/handlers/recorder.rb: added a class for recording YAML parse and emit events.
Use literal style when emitting multiline strings, fixes #64
* ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the same thing on every call.
...
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* embed:
fixing rsync
make some header file adjustments for ruby compile
updating the version to 2.0
add the license for libyaml
fix c file name
only do have_header checks if we are embedding libyaml
mkmf has a global for this test
fix build on windows
only embed libyaml if the system does not have it
for compiling on mswin
embedding libyaml
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|