lib/vcr/version.rb in vcr-1.5.1 vs lib/vcr/version.rb in vcr-1.6.0

- old
+ new

@@ -1,15 +1,26 @@ module VCR extend self def version @version ||= begin - string = '1.5.1' + string = '1.6.0' - def string.parts; VCR.version.split('.').map { |p| p.to_i }; end - def string.major; parts[0]; end - def string.minor; parts[1]; end - def string.patch; parts[2]; end + def string.parts + split('.').map { |p| p.to_i } + end + + def string.major + parts[0] + end + + def string.minor + parts[1] + end + + def string.patch + parts[2] + end string end end end