{"id":13505900,"url":"https://github.com/winebarrel/rhcl","last_synced_at":"2025-03-30T00:31:51.874Z","repository":{"id":19670170,"uuid":"22923716","full_name":"winebarrel/rhcl","owner":"winebarrel","description":"Pure Ruby HCL parser","archived":true,"fork":false,"pushed_at":"2014-09-21T08:10:03.000Z","size":224,"stargazers_count":15,"open_issues_count":7,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T16:51:12.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/winebarrel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-13T17:00:55.000Z","updated_at":"2023-01-28T07:13:57.000Z","dependencies_parsed_at":"2022-08-24T14:07:45.180Z","dependency_job_id":null,"html_url":"https://github.com/winebarrel/rhcl","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Frhcl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Frhcl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Frhcl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Frhcl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winebarrel","download_url":"https://codeload.github.com/winebarrel/rhcl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246262491,"owners_count":20749170,"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":[],"created_at":"2024-08-01T00:01:16.649Z","updated_at":"2025-03-30T00:31:46.862Z","avatar_url":"https://github.com/winebarrel.png","language":"Ruby","readme":"# Rhcl\n\nPure Ruby [HCL](https://github.com/hashicorp/hcl) parser\n\n[![Gem Version](https://badge.fury.io/rb/rhcl.png)](http://badge.fury.io/rb/rhcl)\n[![Build Status](https://travis-ci.org/winebarrel/rhcl.svg?branch=master)](https://travis-ci.org/winebarrel/rhcl)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'rhcl'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rhcl\n\n## Usage\n\n### Parse\n\n```ruby\nRhcl.parse(\u003c\u003c-EOS)\n  variable \"foo\" {\n      default = \"bar\"\n      description = \"bar\"\n  }\n\n  variable \"amis\" {\n      default = {\n          east = \"foo\"\n      }\n  }\nEOS\n```\n\n### Dump\n\n```ruby\nRhcl.dump(\n  {\"variable\"=\u003e\n  {\"foo\"=\u003e{\"default\"=\u003e\"bar\", \"description\"=\u003e\"bar\"},\n   \"amis\"=\u003e{\"default\"=\u003e{\"east\"=\u003e\"foo\"}}}}\n)\n```\n\n## Contributing\n\n1. Fork it ( http://github.com/winebarrel/rhcl/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Miscellaneous","IDE"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Frhcl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinebarrel%2Frhcl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Frhcl/lists"}