diff --git a/CHANGELOG.md b/CHANGELOG.md index e135cc5..c0e7029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [3.2.0] - 2020-07-16 +### Added +- Added `Patches::Worker` extra parameters to support forward compatibility with the upcoming releases + +## [3.1.0] - 2019-11-25 +### Fixed +- Gem compatibility with Apartment 2 ## [3.0.1] - 2018-11-19 ### Added diff --git a/lib/patches/version.rb b/lib/patches/version.rb index e84689d..9b48240 100644 --- a/lib/patches/version.rb +++ b/lib/patches/version.rb @@ -1,6 +1,6 @@ module Patches MAJOR = 3 - MINOR = 1 + MINOR = 2 PATCH = 0 VERSION = [MAJOR, MINOR, PATCH].compact.join(".").freeze end diff --git a/lib/patches/worker.rb b/lib/patches/worker.rb index 99ffca1..1c36c45 100644 --- a/lib/patches/worker.rb +++ b/lib/patches/worker.rb @@ -5,7 +5,7 @@ class Patches::Worker sidekiq_options Patches::Config.configuration.sidekiq_options - def perform(runner) + def perform(runner, params = {}) runner.constantize.new.perform end end