Sha256: de7320df5ba47f2d54b3e36f684e2b7b83dd9743cb3ac07fe1a6a40b7fd0cd26

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

## 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.3 CHANGELOG.md