lib/bubble-wrap/version.rb in bubble-wrap-1.1.3 vs lib/bubble-wrap/version.rb in bubble-wrap-1.1.4

- old
+ new

@@ -1,3 +1,9 @@ module BubbleWrap - VERSION = '1.1.3' unless defined?(BubbleWrap::VERSION) + VERSION = '1.1.4' unless defined?(BubbleWrap::VERSION) + MIN_MOTION_VERSION = '1.24' + + module_function + def minor_version(version_str) + version_str.split(".")[1].to_i + end end