Sha256: e114105c9cd099e38b3cd9f66539ed4812e423da4a5bdb3f5287a6bc446d89a6

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

## 1.3.4

* Support Rails 6.1 [@y-yagi]

## 1.3.3

* Fixed Ruby 2.7 keyword arguments warning [@pocke]

## 1.3.2

* Fixed NameError on ActionController::API controllers without jbuilder enhancement [@kamillle]

## 1.3.1

* Switched back from Ruby's `const_get` to Active Support `constantize` for fetching decorator modules, due to inability to properly detect namespaced decorator [@sinsoku]

## 1.3.0

* Switched from Active Support `constantize` to Ruby's `const_get` when fetching decorator modules

* Switched `config` from ActiveSupport::Configurable to a simple Struct

* Association decoration now propagates from AssociationRelation to spawned Relations (e.g. `@post.comments.order(:id).each`)

* Dropped support for Rails 3.2, 4.0, and 4.1


## 1.2.0

* Decorate values in Hash recursively [@FumiyaShibusawa]


## 1.1.1

* Improved ActionController::API support for Rails 5.0.x [@frodsan]

* Fixed "NameError: undefined local variable or method `view_context'" with ActionController::API or when rendering in controllers


## 1.1.0

* ActionController::API support [@frodsan]

* `ActiveDecorator::Decorator.instance.decorate` now returns the decorated object when the receiver was already a decorated object (it used to return `nil`) [@velonica1997]

* Update decorator_spec.rb syntax to respect RSpec 3 style [@memoht]

* Fixed namespace for TestUnit generator with some refactorings [@yhirano55]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_decorator-1.3.4 CHANGELOG.md