lib/recurly/version.rb in recurly-0.4.16 vs lib/recurly/version.rb in recurly-2.0.0
- old
+ new
@@ -1,3 +1,17 @@
-module Recurly #:nodoc
- VERSION = "0.4.16"
+module Recurly
+ module Version
+ MAJOR = 2
+ MINOR = 0
+ PATCH = 0
+ PRE = nil
+
+ VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
+
+ class << self
+ def inspect
+ VERSION.dup
+ end
+ alias to_s inspect
+ end
+ end
end