{"id":18251764,"url":"https://github.com/hiroakis/inventoryfile","last_synced_at":"2025-04-08T20:46:55.618Z","repository":{"id":36493799,"uuid":"40799427","full_name":"hiroakis/inventoryfile","owner":"hiroakis","description":"Inventoryfile. A parser for ansible inventory file which is an INI like formatted file.","archived":false,"fork":false,"pushed_at":"2015-08-18T03:42:08.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T16:39:44.500Z","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/hiroakis.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":"2015-08-16T04:58:07.000Z","updated_at":"2015-09-29T18:35:22.000Z","dependencies_parsed_at":"2022-08-20T11:40:27.916Z","dependency_job_id":null,"html_url":"https://github.com/hiroakis/inventoryfile","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Finventoryfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Finventoryfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Finventoryfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Finventoryfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/inventoryfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927104,"owners_count":21019504,"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-11-05T09:48:26.701Z","updated_at":"2025-04-08T20:46:55.597Z","avatar_url":"https://github.com/hiroakis.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inventoryfile\n\nInventoryfile. A parser for ansible inventory file which is an INI like formatted file.\n\n## Installation\n\n\n```ruby\ngem 'inventoryfile'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install inventoryfile\n\n## Usage\n\n* get items on specified section\n\n```\nrequire 'inventoryfile'\n\nparser = Inventoryfile::Parser.new(\"PATH_TO_FILE\")\nparser.items(\"SECTION_NAME\")\n```\n\n* get sections\n\n```\nrequire 'inventoryfile'\n\nparser = Inventoryfile::Parser.new(\"PATH_TO_FILE\")\nparser.sections\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/hiroakis/inventoryfile/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 a new Pull Request\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Finventoryfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Finventoryfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Finventoryfile/lists"}