lib/pickle/version.rb in pickle-0.2.9 vs lib/pickle/version.rb in pickle-0.2.10

- old
+ new

@@ -1,6 +1,9 @@ module Pickle module Version - String = File.read(File.dirname(File.dirname(__FILE__)) + '/../VERSION').strip - Major, Minor, Patch = String.split('.').map{|i| i.to_i} + String = File.read(File.dirname(__FILE__) + '/../../VERSION').strip + Array = String.split('.').map{|i| i.to_i} + Major = Array[0] + Minor = Array[1] + Patch = Array[2] end end \ No newline at end of file