lib/geminabox/gem_store.rb in geminabox-0.13.13 vs lib/geminabox/gem_store.rb in geminabox-0.13.14
- old
+ new
@@ -89,10 +89,10 @@
temp_file = Tempfile.new("." + File.basename(file_name), temp_dir)
temp_file.binmode
yield temp_file
temp_file.close
File.rename(temp_file.path, file_name)
- File.chmod(Geminabox::Server.gem_permissions, file_name)
+ File.chmod(Geminabox.gem_permissions, file_name)
end
end
end