Skip to content

Releases: jamesiarmes/configsl

1.0.2

15 Sep 04:15
7cff81e
Compare
Choose a tag to compare

Added

  • Moved ConfigSL::VERSION to configsl/version for easier reference.

  • Exposed the shared example for file formats. Include it in your specs with:

    require 'configsl/file_format/shared_spec'
    
    RSpec.describe MyFileFormat do
      it_behaves_like 'a file format', 'spec-config.json', %i[json], {
        format: 'JSON',
        name: 'config.json',
        nested: { title: 'JSON file for testing' }
      }
    end

Full Changelog: 1.0.1...1.0.2

1.0.1

06 Sep 16:11
e2b8140
Compare
Choose a tag to compare

Fixed

  • Subclasses of ConfigSL::Config initialized with sting keys no longer raise
    an error.

Full Changelog: 1.0.0...1.0.1

1.0.0

03 Sep 05:10
Compare
Choose a tag to compare

Initial release.

Added

  • Simple DSL for defining configuration
  • JSON and YAML file reading support
  • Environment variable reading support
  • Formatting and validation of values

Full Changelog: https://github.com/jamesiarmes/configsl/commits/1.0.0