{"action":"created","issue":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/2941","labels_url":"https://api.github.com/repos/rubinius/rubinius/issues/2941/labels{/name}","comments_url":"https://api.github.com/repos/rubinius/rubinius/issues/2941/comments","events_url":"https://api.github.com/repos/rubinius/rubinius/issues/2941/events","html_url":"https://github.com/rubinius/rubinius/issues/2941","id":27448137,"number":2941,"title":"Hash#to_yaml does not work with Ranges as keys","user":{"login":"snex","id":527783,"avatar_url":"https://avatars.githubusercontent.com/u/527783?v=3","gravatar_id":"","url":"https://api.github.com/users/snex","html_url":"https://github.com/snex","followers_url":"https://api.github.com/users/snex/followers","following_url":"https://api.github.com/users/snex/following{/other_user}","gists_url":"https://api.github.com/users/snex/gists{/gist_id}","starred_url":"https://api.github.com/users/snex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snex/subscriptions","organizations_url":"https://api.github.com/users/snex/orgs","repos_url":"https://api.github.com/users/snex/repos","events_url":"https://api.github.com/users/snex/events{/privacy}","received_events_url":"https://api.github.com/users/snex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-12T16:46:08Z","updated_at":"2015-02-18T19:41:05Z","closed_at":"2015-02-18T19:41:05Z","body":"rubinius 2.2.4 (2.1.0 fd07f670 2014-02-01 JI) [x86_64-darwin13.0.0]\r\nDarwin ... 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64\r\nrvm 1.25.16 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]\r\n\r\n```\r\n> require 'yaml'\r\n=> false\r\n> str = {(0..1) => 1}.to_yaml\r\n=> \"--- \\n!ruby/range ? \\n  begin: 0\\n  end: 1\\n  excl: false\\n  :@begin: 0\\n  :@end: 1\\n  :@excl: false\\n: 1\\n\\n\"\r\n> YAML.load(str)\r\nArgumentError: syntax error on line 2, col -1: `  begin: 0\r\n  end: 1\r\n  excl: false\r\n  :@begin: 0\r\n  :@end: 1\r\n  :@excl: false\r\n: 1\r\n\r\n'\r\n```"},"comment":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/comments/74932967","html_url":"https://github.com/rubinius/rubinius/issues/2941#issuecomment-74932967","issue_url":"https://api.github.com/repos/rubinius/rubinius/issues/2941","id":74932967,"user":{"login":"YorickPeterse","id":86065,"avatar_url":"https://avatars.githubusercontent.com/u/86065?v=3","gravatar_id":"","url":"https://api.github.com/users/YorickPeterse","html_url":"https://github.com/YorickPeterse","followers_url":"https://api.github.com/users/YorickPeterse/followers","following_url":"https://api.github.com/users/YorickPeterse/following{/other_user}","gists_url":"https://api.github.com/users/YorickPeterse/gists{/gist_id}","starred_url":"https://api.github.com/users/YorickPeterse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YorickPeterse/subscriptions","organizations_url":"https://api.github.com/users/YorickPeterse/orgs","repos_url":"https://api.github.com/users/YorickPeterse/repos","events_url":"https://api.github.com/users/YorickPeterse/events{/privacy}","received_events_url":"https://api.github.com/users/YorickPeterse/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T19:41:05Z","updated_at":"2015-02-18T19:41:05Z","body":"This no longer occurs as of 4417909e57f781fc14f6dda55964c5f34696f9c2 as we (since a short while) now use Psych as the default YAML engine."}}