A simple mixin to make Ruby classes configurable https://github.com/dry-rb/dry-configurable
Go to file
Tim Riley 592fb1ca9f
Memoize config hash on finalize (#151)
Freezing the hash is beneficial at this point because it saves repeated expensive
computation if that hash is to be used later in performance-sensitive situations, such as
when serving as a cache key or similar.
2022-10-13 07:04:57 +11:00
.devtools/templates [devtools] sync 2021-01-03 11:03:42 +00:00
.github Update .github/workflows/ci.yml from dry-rb/template-gem 2022-06-22 07:43:25 +00:00
benchmarks Add benchmark for Config#to_h (#152) 2022-10-12 20:57:08 +11:00
bin [rubocop] autocorrect 2021-12-23 13:57:09 +03:00
docsite/source Merge branch 'main' into master 2022-07-01 11:12:13 +02:00
lib Memoize config hash on finalize (#151) 2022-10-13 07:04:57 +11:00
spec Memoize config hash on finalize (#151) 2022-10-13 07:04:57 +11:00
.action_hero.yml Update .action_hero.yml from dry-rb/template-gem 2021-06-06 09:05:18 +00:00
.gitignore Update .gitignore [skip ci] 2019-02-05 12:27:36 +03:00
.rspec [devtools] config sync 2019-12-28 13:01:08 +00:00
.rubocop.yml Update .rubocop.yml from dry-rb/template-gem 2022-09-25 20:13:43 +00:00
CHANGELOG.md Prepare changelog for 0.16.1 2022-10-13 07:00:38 +11:00
CODEOWNERS [devtools] sync 2021-02-15 10:05:01 +00:00
CODE_OF_CONDUCT.md [devtools] config sync 2019-10-21 08:36:50 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md from dry-rb/template-gem 2021-05-27 15:55:49 +00:00
Gemfile Memoize config hash on finalize (#151) 2022-10-13 07:04:57 +11:00
Gemfile.devtools Update Gemfile.devtools from dry-rb/template-gem 2022-09-17 07:55:21 +00:00
LICENSE Update LICENSE from dry-rb/template-gem 2022-07-06 06:14:42 +00:00
README.md Update README.md from dry-rb/template-gem 2022-04-02 13:03:28 +00:00
Rakefile [rubocop] autocorrect 2021-12-23 13:57:09 +03:00
changelog.yml Prepare changelog for 0.16.1 2022-10-13 07:00:38 +11:00
dry-configurable.gemspec Update dry-configurable.gemspec from dry-rb/template-gem 2022-10-10 14:49:43 +00:00
project.yml Use released dry-core without autoloading (#142) 2022-09-24 16:03:59 +10:00

README.md

dry-configurable Join the chat at https://dry-rb.zulipchat.com

Gem Version CI Status Codacy Badge Codacy Badge Inline docs

Supported Ruby versions

This library officially supports the following Ruby versions:

  • MRI >= 2.7.0
  • jruby >= 9.3 (postponed until 2.7 is supported)

License

See LICENSE file.