From 7db6732f14daccddbd2e0ba0af30f87f0ca5015d Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Sun, 14 Sep 2014 03:47:35 +0200 Subject: [PATCH] Use proper Gem names for checksums. This ensures that it also works for JRuby and the likes. --- task/checksum.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/checksum.rake b/task/checksum.rake index 19235a5..e0053f6 100644 --- a/task/checksum.rake +++ b/task/checksum.rake @@ -1,7 +1,7 @@ desc 'Creates a SHA512 checksum of the current version' task :checksum do checksums = File.expand_path('../../checksum', __FILE__) - name = "#{GEMSPEC.name}-#{GEMSPEC.version}.gem" + name = "#{GEMSPEC.full_name}.gem" path = File.join(File.expand_path('../../pkg', __FILE__), name) checksum_name = File.basename(path) + '.sha512'