lib/geminabox/gem_store.rb in geminabox-0.13.1 vs lib/geminabox/gem_store.rb in geminabox-0.13.2
- old
+ new
@@ -35,10 +35,10 @@
def check_replacement_status
if !overwrite and Geminabox::Server.disallow_replace? and File.exist?(gem.dest_filename)
if existing_file_digest != gem.hexdigest
raise GemStoreError.new(409, "Updating an existing gem is not permitted.\nYou should either delete the existing version, or change your version number.")
else
- raise GemStoreError.new(200, "Ignoring upload, you uploaded the same thing previously.\nPlease use -o to ovewrite.")
+ raise GemStoreError.new(200, "Ignoring upload, you uploaded the same thing previously.\nPlease use -o to overwrite.")
end
end
end
def ensure_gem_valid