lib/dwc-archive/extension.rb in dwc-archive-0.8.3 vs lib/dwc-archive/extension.rb in dwc-archive-0.9.0
- old
+ new
@@ -8,11 +8,11 @@
@dwc = dwc
@archive = @dwc.archive
@path = @archive.files_path
@data = data
@coreid = @data[:coreid][:attributes]
- raise ExtensionFileError("Extension has no coreid information") unless @coreid
- get_attributes(ExtensionFileError)
+ raise DarwinCore::ExtensionFileError.new("Extension has no coreid information") unless @coreid
+ get_attributes(DarwinCore::ExtensionFileError)
end
end
end