From 471f548dd5cdc6e17949a7cb92267b38d3ac3cad Mon Sep 17 00:00:00 2001 From: Joe Swatosh <7006129+swatosh@users.noreply.github.com> Date: Fri, 10 May 2024 15:38:02 -0700 Subject: [PATCH] Restore SpreeGateway.version method (#417) --- lib/spree_gateway/version.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/spree_gateway/version.rb b/lib/spree_gateway/version.rb index 8fb99a37..4c3c67e2 100644 --- a/lib/spree_gateway/version.rb +++ b/lib/spree_gateway/version.rb @@ -1,6 +1,10 @@ module SpreeGateway VERSION = '3.11.0'.freeze + def self.version + VERSION + end + def gem_version Gem::Version.new(VERSION) end