~singpolyma/sgx-jmp

24b079a29ac36108501f5645fc46dcd5dfbde251 — Christopher Vollick 13 days ago 8785676
Update Admin Actions for Ruby 3

In Ruby 3 hashes no longer work as keyword args like we expected, so we
have to be a bit more explicit.

Should be compatible with Ruby 2.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/admin_action.rb
M lib/admin_action.rb => lib/admin_action.rb +1 -1
@@ 88,7 88,7 @@ class AdminAction
	end

	def with(**kwargs)
		self.class.new(@attributes.merge(kwargs))
		self.class.new(**@attributes.merge(kwargs))
	end

	def id