Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nashby authored Jul 7, 2023
1 parent 2dcc74e commit e011500
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 2.7.0 (July 7, 2023)

### bug fix

* Warn about already defined predicate methods only when we generate predicate methods with `predicate: true` (by [@nashby](https://github.com/nashby))
* Define `Type#cast` instead of deserialize to fix serialization issue. (by [@nashby](https://github.com/nashby))
* Fix `Undefined method 'enumerize' for RSpec::ExampleGroups` (by [@softwaregravy](https://github.com/softwaregravy))

### enchancements

* Add support for procs as `i18n_scope` option value. (by [@nashby](https://github.com/nashby))

```ruby
enumerize :color, in: %w[green blue], i18n_scope: proc { |value| "color" }
```

## 2.6.1 (March 17, 2023)

### bug fix
Expand Down

0 comments on commit e011500

Please sign in to comment.