From cbc67d2a28329caa3865eefc8d016ff86ef9f1e3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 26 Aug 2013 09:32:28 +0000 Subject: GIT-VERSION-GEN: :nodoc: the version constant This is not part of any public API. --- GIT-VERSION-GEN | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index 140828f..99c53c8 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -22,9 +22,9 @@ if File.exist?(".git") end vn = vn.sub!(/\Av/, "") -new_ruby_version = "#{CONSTANT} = '#{vn}'\n" +new_ruby_version = "#{CONSTANT} = '#{vn}' # :nodoc:\n" cur_ruby_version = File.read(RVF) rescue nil if new_ruby_version != cur_ruby_version - File.open(RVF, "w") { |fp| fp.write("# :enddoc:\n#{new_ruby_version}") } + File.open(RVF, "w") { |fp| fp.write(new_ruby_version) } end puts vn if $0 == __FILE__ -- cgit v1.2.3-24-ge0c7