Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 996e9cf

Browse files
committed
@nobu you must run make test-all _before_ you check in.
reverting revision r34920 because it fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 69883b3 commit 996e9cf

File tree

3 files changed

+2
-55
lines changed

3 files changed

+2
-55
lines changed

lib/yaml/rubytypes.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ def to_yaml( opts = {} )
117117
class Exception
118118
yaml_as "tag:ruby.yaml.org,2002:exception"
119119
def Exception.yaml_new( klass, tag, val )
120-
o = klass.allocate
121-
Exception.instance_method(:initialize).bind(o).call(val.delete('message'))
120+
o = YAML.object_maker( klass, { 'mesg' => val.delete( 'message' ) } )
122121
val.each_pair do |k,v|
123122
o.instance_variable_set("@#{k}", v)
124123
end

test/yaml/test_exception.rb

-52
This file was deleted.

version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2012-06-06"
33
#define RUBY_VERSION_CODE 187
44
#define RUBY_RELEASE_CODE 20120606
5-
#define RUBY_PATCHLEVEL 363
5+
#define RUBY_PATCHLEVEL 364
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)