lib/ajax-datatables-rails/version.rb in ajax-datatables-rails-1.1.0 vs lib/ajax-datatables-rails/version.rb in ajax-datatables-rails-1.2.0
- old
+ new
@@ -1,5 +1,17 @@
# frozen_string_literal: true
module AjaxDatatablesRails
- VERSION = '1.1.0'
+
+ def self.gem_version
+ Gem::Version.new VERSION::STRING
+ end
+
+ module VERSION
+ MAJOR = 1
+ MINOR = 2
+ TINY = 0
+ PRE = nil
+
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
+ end
end