lib/version.rb in vcs_ruby-1.0.1 vs lib/version.rb in vcs_ruby-1.1.0

- old
+ new

@@ -10,14 +10,14 @@ def self.read_version File.open(version_path, &:readline) end def self.update_version + current_version = read_version parts = File.open(version_path, &:readline).split('.').map(&:strip) parts[2] = (parts[2].to_i + 1).to_s File.open(version_path, 'w') {|f| f.write(parts.join('.')) } - - read_version + current_version end end $vcs_ruby_version = Gem::Version.new(VCSRuby::read_version) $vcs_ruby_name = 'Video Contact Sheet Ruby'