lib/submodules/ably-ruby/lib/ably/version.rb in ably-rest-1.0.6 vs lib/submodules/ably-ruby/lib/ably/version.rb in ably-rest-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
module Ably
- VERSION = '1.0.6'
- PROTOCOL_VERSION = '1.0'
+ VERSION = '1.1.0'
+ PROTOCOL_VERSION = '1.1'
# Allow a variant to be configured for all instances of this client library
# such as ruby-rest-[VERSION]
# @api private
@@ -10,7 +10,12 @@
@lib_variant = variant
end
def self.lib_variant
@lib_variant
+ end
+
+ # @api private
+ def self.major_minor_version_numeric
+ VERSION.gsub(/\.\d+$/, '').to_f
end
end