File tree Expand file tree Collapse file tree 8 files changed +12
-4
lines changed
Expand file tree Collapse file tree 8 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11## [ Change Log]
22
3+ ## [ 0.2.0] - 2025-07-28
4+
5+ - Enforce explicit monkey-patch requirement
6+
37## [ 0.1.5] - 2025-02-04
48
59- Set correct expiration time for idempotency cache
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- idempotency (0.1.5 )
4+ idempotency (0.2.0 )
55 base64
66 dry-configurable
77 dry-monitor
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ Add this to your controller:
7272
7373``` ruby
7474require ' idempotency/hanami'
75+ require ' idempotency/hanami_extend' # use this if around callback is necessary
7576
7677class Api ::Controllers ::Users ::Create
7778 include Hanami ::Action
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ require_relative 'hanami/action/callbacks'
4+ require_relative 'hanami/utils/callbacks'
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33class Idempotency
4- VERSION = '0.1.5 '
4+ VERSION = '0.2.0 '
55end
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33require 'hanami-controller'
4- require_relative '../../../lib/hanami/action/callbacks'
5- require_relative '../../../lib/hanami/utils/callbacks'
4+ require_relative '../../../lib/idempotency/hanami_extend'
65
76RSpec . describe Hanami ::Action ::Callbacks do
87 describe 'callbacks' do
You can’t perform that action at this time.
0 commit comments