From 46a5aa46b191c5ba19b8ae108e53b506d9eaf9d7 Mon Sep 17 00:00:00 2001 From: Matheus Richard <matheusrichardt@gmail.com> Date: Mon, 25 Oct 2021 18:34:57 -0300 Subject: [PATCH] v0.3.0 --- CHANGELOG.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd0c622..a61e98e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.0] - 2021-10-25 + <!-- ### Added --> + ### Changed +- Allow configuring EzAttributes (PR #3) + +```ruby +class User + extend EzAttributes.configure(getters: false) + + attributes :name, :age, email: 'guest@user.com' +end + +User.new(name: 'Matz', age: 22).name +# NoMethodError (undefined method `name' for #<User:0x000055bac152f130>) +``` + - Replace Rubocop with StandardRB <!-- ### Removed --> @@ -48,7 +64,8 @@ end - Basic module to define class initializers with keyword args. -[unreleased]: https://github.com/MatheusRich/ez_attributes/compare/v0.2.2...HEAD +[unreleased]: https://github.com/MatheusRich/ez_attributes/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/MatheusRich/ez_attributes/releases/tag/v0.3.0 [0.2.2]: https://github.com/MatheusRich/ez_attributes/releases/tag/v0.2.2 [0.2.1]: https://github.com/MatheusRich/ez_attributes/releases/tag/v0.2.1 [0.2.0]: https://github.com/MatheusRich/ez_attributes/releases/tag/v0.2.0