{"id":28509101,"url":"https://github.com/atomicobject/environment_configurable","last_synced_at":"2025-07-02T23:31:25.874Z","repository":{"id":840365,"uuid":"563194","full_name":"atomicobject/environment_configurable","owner":"atomicobject","description":"A library that makes environment dependent configuration easy in Rails.","archived":false,"fork":false,"pushed_at":"2011-01-13T00:10:02.000Z","size":188,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-06-04T12:17:44.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.atomicobject.com/pages/Software+Commons","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mongoid/moped","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomicobject.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}},"created_at":"2010-03-15T12:41:39.000Z","updated_at":"2017-05-21T03:30:52.000Z","dependencies_parsed_at":"2022-08-16T11:05:25.679Z","dependency_job_id":null,"html_url":"https://github.com/atomicobject/environment_configurable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atomicobject/environment_configurable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fenvironment_configurable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fenvironment_configurable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fenvironment_configurable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fenvironment_configurable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicobject","download_url":"https://codeload.github.com/atomicobject/environment_configurable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicobject%2Fenvironment_configurable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263232533,"owners_count":23434686,"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":"2025-06-08T22:07:28.195Z","updated_at":"2025-07-02T23:31:25.850Z","avatar_url":"https://github.com/atomicobject.png","language":"Ruby","readme":"# environment_configurable\n\nDescription\n===========\n\nA library that makes environment dependent configuration easy in rails.\n\nRationale\n========\n\nEnvironment dependent configuration is a common problem in rails, and we noticed\na common pattern:\n\n  * We tend to extract configuration variables to a yaml file\n  * We often wrap the yaml configuration in a configuration helper\n  \nEnvironment Configurable accomplishes both of these task succinctly.\n\nInstall\n====\n  * gem install environment_configurable\n  * Add config.gem \"environment_configurable\" to your environment.rb file\n  \nDependencies\n============\n\n* Rails 2.3.0 \u003e=\n\nExample\n=======\n\n    class S3Helper\n      include EnvironmentConfigurable\n      configure_with \"config/s3.yml\"\n      \n      def self.connect!\n         AWS::S3::Base.establish_connection!(\n            :access_key_id     =\u003e config.access_key_id,\n            :secret_access_key =\u003e config.secret_access_key\n          )\n      end\n    end\n    \n  s3.yml\n  \n    production: \u0026DEFAULTS\n      access_key_id: ACCESS_KEY_ID\n      secret_access_key: SECRET_ACCESS_KEY\n      bucket: the-prod-bucket\n\n    staging:\n      \u003c\u003c: *DEFAULTS\n      bucket: the-staging-bucket\n\n    development:\n      \u003c\u003c: *DEFAULTS\n      bucket: the-development-bucket\n\n    test:\n      \u003c\u003c: *DEFAULTS\n      bucket: the-test-bucket\n    \nAuthors\n=======\n\n* Justin DeWind (dewind@atomicobject.com)\n* David Crosby (crosby@atomicobject.com)\n* © 2009-2011 [Atomic Object](http://www.atomicobject.com/)\n* More Atomic Object [open source](http://www.atomicobject.com/pages/Software+Commons) projects\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicobject%2Fenvironment_configurable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomicobject%2Fenvironment_configurable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicobject%2Fenvironment_configurable/lists"}