{"id":15032824,"url":"https://github.com/ruby/yaml","last_synced_at":"2025-04-08T11:14:40.070Z","repository":{"id":42977913,"uuid":"200771462","full_name":"ruby/yaml","owner":"ruby","description":"This module provides a Ruby interface for data serialization in YAML format.","archived":false,"fork":false,"pushed_at":"2025-02-17T09:40:52.000Z","size":310,"stargazers_count":28,"open_issues_count":1,"forks_count":14,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-01T10:17:56.330Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-06T03:43:11.000Z","updated_at":"2025-03-31T12:08:13.000Z","dependencies_parsed_at":"2023-10-23T11:30:17.931Z","dependency_job_id":"b9e9fa7b-6209-4a45-80c2-ea411302ecc5","html_url":"https://github.com/ruby/yaml","commit_stats":{"total_commits":199,"total_committers":33,"mean_commits":6.03030303030303,"dds":0.7638190954773869,"last_synced_commit":"d58a2df41ef97524e070ea18cd2559853d35385a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fyaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fyaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fyaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fyaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/yaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829512,"owners_count":21002997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby"],"created_at":"2024-09-24T20:19:30.877Z","updated_at":"2025-04-08T11:14:40.047Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","readme":"# YAML\n\nThis module provides a Ruby interface for data serialization in YAML format.\n\nThe `YAML` module is an alias for\n[Psych](https://ruby-doc.org/stdlib/exts/psych/Psych.html),\nthe `YAML` engine for Ruby.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'yaml'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install yaml\n\n## Usage\n\nWorking with YAML can be very simple, for example:\n\n```ruby\nrequire 'yaml'\n\n# Parse a YAML string\nYAML.load(\"--- foo\") #=\u003e \"foo\"\n\n# Emit some YAML\nYAML.dump(\"foo\")     # =\u003e \"--- foo\\n...\\n\"\n{ :a =\u003e 'b'}.to_yaml  # =\u003e \"---\\n:a: b\\n\"\n```\n\nFor detailed documentation, see\n[Psych](https://ruby-doc.org/stdlib/exts/psych/Psych.html).\n\n## Security\n\nDo not use YAML to load untrusted data. Doing so is unsafe and could allow\nmalicious input to execute arbitrary code inside your application.\n\n## History\n\nSyck was the original for YAML implementation in Ruby's standard library\ndeveloped by why the lucky stiff.\n\nYou can still use Syck, if you prefer, for parsing and emitting YAML, but you\nmust install the 'syck' gem now in order to use it.\n\nIn older Ruby versions, ie. \u003c= 1.9, Syck is still provided, however it was\ncompletely removed with the release of Ruby 2.0.0.\n\n## More info\n\nFor more advanced details on the implementation see Psych, and also check out\nhttp://yaml.org for spec details and other helpful information.\n\nPsych is maintained by Aaron Patterson on github: https://github.com/tenderlove/psych\n\nSyck can also be found on github: https://github.com/tenderlove/syck\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/yaml.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fyaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Fyaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fyaml/lists"}