Skip to content

Commit f90419d

Browse files
committed
Bump version to 2.1.3
Signed-off-by: David Celis <me@davidcel.is>
1 parent eec1161 commit f90419d

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ source 'https://rubygems.org/'
22
gemspec
33

44
gem 'sqlite3', :platform => :ruby
5-
gem 'activerecord-jdbcsqlite3-adapter', :platforms=>:jruby
5+
gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby

lib/recommendable/version.rb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
module Recommendable
2-
MAJOR = 2
3-
MINOR = 1
4-
PATCH = 2
5-
PRE = nil
2+
class Version
3+
MAJOR = 2
4+
MINOR = 1
5+
PATCH = 3
66

7-
VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join '.'
7+
def self.to_s
8+
[MAJOR, MINOR, PATCH].join('.')
9+
end
10+
end
11+
12+
VERSION = Version.to_s.freeze
813
end

0 commit comments

Comments
 (0)