tags 331050 + patch
thanks

hi,

attached patch fixes this issue, i dont know if its a clean solution, it
seems to work:

 [EMAIL PROTECTED]:/# ruby -ryaml -e 'puts YAML.load(YAML.dump(1234567890))'
 1234567890

bye,
    - michael
--- ruby1.8-1.8.3/ruby-1.8.3/lib/yaml/rubytypes.rb      2005-09-20 
06:46:45.000000000 +0000
+++ /usr/lib/ruby/1.8/yaml/rubytypes.rb 2005-10-04 08:28:37.000000000 +0000
@@ -372,6 +372,10 @@
     yaml_as "tag:yaml.org,2002:int"
 end
 
+class Bignum
+    yaml_as "tag:yaml.org,2002:int#yes"
+end
+
 class Float
     yaml_as "tag:yaml.org,2002:float"
 end
  • Bug#331050: patch Michael Ablassmeier

Reply via email to