Skip to content

Commit

Permalink
Bump v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nepalez committed Sep 13, 2017
1 parent 31b62c7 commit 78bc066
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.0] [2017-09-13]

### Added
- Option `:desc` for option/param to add a description (nepalez)

- Methods `Definition#inch` and `Config#inch` to inspect definitions (nepalez)

```ruby
class User
extend Dry::Initializer
option :name, proc(&:to_s), optional: true, desc: "User name"
option :email, optional: true, desc: "user email"
end

User.dry_initializer.inch
# @!method initialize(*, **options)
# Initializes an instance of User
# @option [Object] :name (optional) User name
# @option [Object] :email (optional) User email
# @return [User]
```
## [2.1.0] [2017-09-11]
### Added
Expand Down Expand Up @@ -687,3 +709,5 @@ First public release
[1.4.0]: https://github.com/dry-rb/dry-initializer/compare/v1.3.0...v1.4.0
[1.4.1]: https://github.com/dry-rb/dry-initializer/compare/v1.4.0...v1.4.1
[2.0.0]: https://github.com/dry-rb/dry-initializer/compare/v1.4.1...v2.0.0
[2.1.0]: https://github.com/dry-rb/dry-initializer/compare/v2.0.0...v2.1.0
[2.2.0]: https://github.com/dry-rb/dry-initializer/compare/v2.1.0...v2.2.0
2 changes: 1 addition & 1 deletion dry-initializer.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |gem|
gem.name = "dry-initializer"
gem.version = "2.1.0"
gem.version = "2.2.0"
gem.author = ["Vladimir Kochnev (marshall-lee)", "Andrew Kozin (nepalez)"]
gem.email = "andrew.kozin@gmail.com"
gem.homepage = "https://github.com/dryrb/dry-initializer"
Expand Down

0 comments on commit 78bc066

Please sign in to comment.