Skip to content

Commit

Permalink
add gem-release
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec committed Apr 30, 2024
1 parent df0331c commit deeaf35
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gem-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bump:
file: 'lib/spree_gateway/version.rb'
6 changes: 4 additions & 2 deletions lib/spree_gateway/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module SpreeGateway
def self.version
'3.10.0'
VERSION = '3.10'.freeze

def gem_version
Gem::Version.new(VERSION)
end
end
2 changes: 1 addition & 1 deletion spree_gateway.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require 'spree_gateway/version'
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.name = 'spree_gateway'
s.version = SpreeGateway.version
s.version = SpreeGateway::VERSION
s.summary = 'Collection of Payment Gateways for Spree Commerce such as Stripe, Braintree, etc.'
s.description = s.summary

Expand Down

0 comments on commit deeaf35

Please sign in to comment.