totem

Crystal configuration with spirit. Load and parse configuration in JSON, YAML, dotenv formats.

MIT License

Stars
66

Bot releases are hidden (Show)

totem - v0.6.1 (2020-04-10)

Published by icyleaf over 4 years ago

Fixed

  • Compatibility with Crystal 0.34

Changed

  • Use Log instead of legacy Logger from Crystal 0.34 #84
totem - v0.5.2 (2018-12-07)

Published by icyleaf almost 5 years ago

Added

  • Add environment support. (see #13)
  • Add config path position in Totem::Configbuilder. (see #12)

Changed

  • Optimize search config performance.
  • Formatted sevrity in logger.

Fixed

  • Close IO after read the content.
totem - v0.6.0 (2019-11-21)

Published by icyleaf almost 5 years ago

Long time no see 🙇‍♂️

Fixed

  • Compatibility with Crystal 0.31. #17
  • Fix remote provider etcd (ONLY works etcd v2 API). #17
totem - v0.3.0 (2018-07-27)

Published by icyleaf almost 6 years ago

Added

  • Add adapter for configuration formats, writting and using custom adapter. (see #3)
  • Add write to file with dotenv format.
  • Add Totem::Any equal with other class & struct.
  • Add nested key setting for the raw content of configuration formats. (see specs)
  • Improved inspect output with #pp or #pp!.
totem - v0.2.1 (2018-07-26)

Published by icyleaf almost 6 years ago

Fixed

  • Fix do throw an exception to call #mapping with unkown key.
totem - v0.4.0 (2018-07-31)

Published by icyleaf almost 6 years ago

Added

  • Add remote provider extensions.
  • Add redis/etcd to remote providers.
totem - v0.5.0 (2018-09-27)

Published by icyleaf almost 6 years ago

Changed

  • Separate #fetch method to two methods with different behavior. (see #8)
  • Add new #register method instead of #register_adapter and #register_alias in Totem::ConfigTypes, the latters marked DEPRECATED.

Added

  • Add config builder to configure easily. (see #7)
  • Add Time class support in Totem::Config.
  • Add #as_f32/as_f32? methods in Totem::Any.
totem - v0.5.1 (2018-11-06)

Published by icyleaf almost 6 years ago

Fixed

  • Compatibility with Crystal 0.27
totem - v0.2.0 (2018-07-25)

Published by icyleaf about 6 years ago

See Changelog.

totem - v0.1.0 (2018-07-20)

Published by icyleaf about 6 years ago

See Changelog.

Package Rankings
Top 9.59% on Proxy.golang.org
Badges
Extracted from project README
Language Tag Build Status