lib/datacite/mapping.rb in datacite-mapping-0.3.0 vs lib/datacite/mapping.rb in datacite-mapping-0.4.0

- old
+ new

@@ -17,9 +17,9 @@ DATACITE_4_NAMESPACE = XML::MappingExtensions::Namespace.new( uri: 'http://datacite.org/schema/kernel-4', schema_location: 'http://schema.datacite.org/meta/kernel-4/metadata.xsd' ) - Dir.glob(File.expand_path('../mapping/*.rb', __FILE__)).sort.each(&method(:require)) + Dir.glob(File.expand_path('mapping/*.rb', __dir__)).sort.each(&method(:require)) end end