{"id":15406779,"url":"https://github.com/dannyben/yamlcon","last_synced_at":"2026-05-01T15:38:13.323Z","repository":{"id":56898912,"uuid":"53448578","full_name":"DannyBen/yamlcon","owner":"DannyBen","description":"YAML Configuration File Loader","archived":false,"fork":false,"pushed_at":"2024-01-29T08:21:05.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T01:15:47.154Z","etag":null,"topics":["gem","ruby","yaml","yaml-configuration"],"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/DannyBen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-03-08T22:03:24.000Z","updated_at":"2023-08-10T15:58:45.000Z","dependencies_parsed_at":"2024-01-29T09:41:35.888Z","dependency_job_id":"ca2f87d8-64dc-44b5-95db-a200a0a1e2d0","html_url":"https://github.com/DannyBen/yamlcon","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.38095238095238093","last_synced_commit":"e7cc632b494ec443b90870a8d10b485d79308290"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fyamlcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fyamlcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fyamlcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Fyamlcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DannyBen","download_url":"https://codeload.github.com/DannyBen/yamlcon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245956169,"owners_count":20700049,"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":["gem","ruby","yaml","yaml-configuration"],"created_at":"2024-10-01T16:25:21.617Z","updated_at":"2026-05-01T15:38:13.312Z","avatar_url":"https://github.com/DannyBen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"YAMLCon - YAML Config Loader\n==================================================\n\nA utility for loading and saving YAML files with dot.notation.\n\nInstall\n--------------------------------------------------\n\nAdd to your gemfile\n\n```ruby\ngem 'yamlcon'\n```\n\nUsage\n--------------------------------------------------\n\nLoad a single file\n\n```ruby\nconfig = YAML.load_config 'path/to/config.yml'\nputs config.any_option.or_nested\n```\n\nYou can then modify and save the file\n\n```ruby\nconfig.some_setting = 'value'\nYAML.save_config 'filename.yml', config\n```\n\nLoad multiple files by providing a glob pattern. In this case, each loaded\nfile will get its own prefix, using the basename of the file.\n\nFor example, given two files `config/one.yml` and `config/two.yml`, you can\ndo this:\n\n```ruby\nconfig = YAML.load_config 'config/*.yml'\nputs config.one.option\nputs config.two.option\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fyamlcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyben%2Fyamlcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Fyamlcon/lists"}