# this code is to change the contact name def copygemspecdata require 'fileutils' if @a_viewgemspecdata and @a_changegemspecdata tempoldname = @a_viewgemspecdata + ".gemspec" oldName = $gemspec_directory + "/" + @a_viewgemspecdata + ".gemspec" if File.exist?(oldName) newName = $gemspec_directory + "/" + @a_changegemspecdata + ".gemspec" FileUtils.cp(oldName, newName) end end end