Please login to access the resource

Revisions of rubygem-dry-configurable

Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1042629 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 8)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1032136 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 7)
updated to version 0.16.1
 see installed CHANGELOG.md
  ## 0.16.1 2022-10-13
  
  ### Changed
  
  - Restored performance of config value reads (direct reader methods as well as aggregate methods like `#values` and `#to_h`) to pre-0.16.0 levels (#149 by @timriley)
  
  [Compare v0.16.0...v0.16.1](https://github.com/dry-rb/dry-configurable/compare/v0.16.0...v0.16.1)
  
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1010052 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 6)
updated to version 0.16.0
 see installed CHANGELOG.md
  ## 0.16.0 2022-10-08
  
  
  ### Added
  
  - Support for custom config classes via `config_class:` option (#136 by @solnic)
  
    ```ruby
    extend Dry::Configurable(config_class: MyConfig)
    ```
  
    Your config class should inherit from `Dry::Configurable::Config`.
  - Return `Dry::Core::Constants::Undefined` (instead of nil) as the value for non-configured settings via a `default_undefined: true` option (#141 by @timriley)
  
    ```ruby
    extend Dry::Configurable(default_undefined: true)
    ```
  
    You must opt into this feature via the `default_undefined: true` option. Non-configured setting values are still `nil` by default.
  
  ### Fixed
  
  - Remove exec bit from version.rb (#139 by @Fryguy)
  
  ### Changed
  
  - Improve memory usage by separating setting definitions from config values (#138 by @timriley)
  
    Your usage of dry-configurable may be impacted if you have been accessing objects from `_settings` or the internals of `Dry::Configurable::Config`. `_settings` now returns `Dry::Configurable::Setting` instances, which contain only the details from the setting's definition. Setting _values_ remain in `Dry::Configurable::Config`.
  - Use Zeitwerk to speed up load time (#135 by @solnic)
  
  [Compare v0.15.0...v0.16.0](https://github.com/dry-rb/dry-configurable/compare/v0.15.0...v0.16.0)
  
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 993474 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 5)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 903498 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 3)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 865184 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 2)
updated to version 0.12.0
 see installed CHANGELOG.md
Displaying all 8 revisions
openSUSE Build Service is sponsored by