1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

22 commits

Author SHA1 Message Date
nobu
eb1eee03ca * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception.
  Exception#initialize doesn't use visible instance variable for
  the exception message, so call the method with the message.
  patched by Jingwen Owen Ou <jingweno AT gmail.com>.
  http://github.com/ruby/ruby/pull/41

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05 08:11:48 +00:00
kazu
327ea26b59 * ext/bigdecimal/README: Update redmine.ruby-lang.org to bugs.ruby-lang.org
* ext/socket/ancdata.c: ditto
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto
* test/syck/test_yaml.rb: ditto
* doc/ChangeLog-1.9.3: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 16:09:17 +00:00
naruse
f2323dee14 Set yamler as syck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-12 08:30:24 +00:00
ayumin
aea9c733e8 * test/psych/test_yamldbm.rb: avoid platform dependency.
patch by Naohisa Goto. [ruby-dev:44763] [Bug #5535]
* test/syck/test_yamldbm.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-01 15:52:48 +00:00
ktsj
a30fd3b660 * test/psych/test_yamldbm.rb: don't run test if the system
don't support yaml/dbm.

* test/syck/test_yamldbm.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-09 02:18:18 +00:00
ayumin
051aa44240 * test/psych/test_yamldbm.rb: add test case.
* test/syck/test_yamldbm.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-02 03:18:39 +00:00
ayumin
2865b450e0 * test/psych/test_yamlstore.rb: use tmpdir for tmpfile.
* test/syck/test_yamlstore.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-27 19:44:02 +00:00
ayumin
38fe7da841 Oops! fix psych -> syck
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 19:01:48 +00:00
ayumin
375d9f9112 * test/psych/test_yamldbm.rb (require): fix #setup and #terdown.
[Bug #5370] [ruby-core:39730]
* test/syck/test_yamldbm.rb (require): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 18:37:26 +00:00
ayumin
3255adcd0c * test/syck/test/yamldbm.rb: add test for Syck::DBM.
* test/psych/test_yamldbm.rb: add test for Psych::DBM.
* test/psych/test_yamlstore.rb: add test for Psych::PStore.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 12:05:06 +00:00
naruse
f2bd0ce993 * lib/yaml.rb: explicitly specify ::Object to avoid the collision with
Syck::Object.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 08:28:42 +00:00
naruse
5174425678 Copy YAML::Store to Syck::Store to keep it from yamler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 01:06:41 +00:00
naruse
cedc12ce9c Explictly specify syck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 00:48:19 +00:00
naruse
4e8fed8f4b Specify yamler before runnnig tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13 03:54:55 +00:00
nobu
3a47cf3395 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
nobu
54aa0b1232 * ext/syck/rubyext.c (mktime_do): extra digits are not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-06 13:36:02 +00:00
nobu
b16fc57852 * test/syck/test_string.rb (Syck::TestString#test_non_binary_string):
use assert_not instead of refute, unless required minitest
 directly.
* test/test_prime.rb (TestPrime::sieve.Integer): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-13 00:56:44 +00:00
tenderlove
cc6b1b3c8d * ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regular
expressions can round trip. [ruby-core:34969]
* test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex
* ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regular
  expressions can round trip.
* test/syck/test_yaml.rb: test for ARG_ENCODING_NONE regex

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02 22:05:15 +00:00
nobu
902bd2b106 * ext/syck/emitter.c (syck_scan_scalar): set SCAN_WHITEEDGE flag
when scalar begins with newline.  patches from Dave B <daz AT
  d10.karoo.co.uk> at [ruby-core:23019] and caleb clausen at
  [ruby-core:25851].  [ruby-core:23006][ruby-core:29925]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 23:15:08 +00:00
tenderlove
f366874814 * test/syck/test_struct.rb: modified to use only syck engine since the
YAML is invalid.
* test/syck/test_yaml.rb: ditto
* test/syck/test_yamlstore.rb: modifications for multi-engine
  environment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 01:45:15 +00:00
tenderlove
48a68756f5 * ext/syck/lib/syck/dbm.rb: moved to lib/yaml/dbm.rb since it is not
YAML engine specific
* ext/syck/lib/syck/store.rb: moved to lib/yaml/store.rb since it is not
  YAML engine specific.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 01:21:29 +00:00
tenderlove
a5f05e7ee9 * test/syck/*: Moved test/yaml to test/syck since it's actually
testing the syck YAML engine.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 00:37:42 +00:00