Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.04 KB

CHANGELOG.md

File metadata and controls

46 lines (31 loc) · 1.04 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.2]

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

[1.0.1]

Fixed

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

1.0.0

Initial release.

Added

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