Skip to content

Commit

Permalink
[DEX-000] improvement: adds second rails_controller parameter to `c…
Browse files Browse the repository at this point in the history
…ompose`
  • Loading branch information
shatalov-boris committed Sep 8, 2024
1 parent af4292a commit 728ae20
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ 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/).

## [0.11.0] - 2024-09-08

### Changed
- `compose` receives two parameters now - `responses` and `rails_controller`

## [0.10.1] - 2024-09-02

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lib/sbmt/strangler/action/composition/composable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def call(rails_controller, previous_responses: {})
result.merge(step_result)
end

compose_block.call(responses)
compose_block.call(responses, rails_controller)
rescue => error
Sbmt::Strangler.logger.error(error.message)
Sbmt::Strangler.error_tracker.error(error)
Expand Down
2 changes: 1 addition & 1 deletion lib/sbmt/strangler/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Sbmt
module Strangler
VERSION = "0.10.1"
VERSION = "0.11.0"
end
end

0 comments on commit 728ae20

Please sign in to comment.