lib/match/git_helper.rb in match-0.6.2 vs lib/match/git_helper.rb in match-0.6.3
- old
+ new
@@ -120,10 +120,10 @@
return !result.empty?
end
# Copies the README.md into the git repo
def self.copy_readme(directory)
- template = File.read("#{Helper.gem_path('match')}/lib/assets/READMETemplate.md")
+ template = File.read("#{Match::ROOT}/lib/assets/READMETemplate.md")
File.write(File.join(directory, "README.md"), template)
end
end
end