diff --git a/Gemfile.lock b/Gemfile.lock index a303120d7..0c1d24206 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -93,7 +93,7 @@ GEM latex-decode (~> 0.0) binding_of_caller (0.8.0) debug_inspector (>= 0.0.1) - bolognese (1.1.1) + bolognese (1.1.2) activesupport (>= 4.2.5, < 6) benchmark_methods (~> 0.7) bibtex-ruby (~> 4.1) diff --git a/config/initializers/_version.rb b/config/initializers/_version.rb index b762937bb..d3542f5f8 100644 --- a/config/initializers/_version.rb +++ b/config/initializers/_version.rb @@ -1,5 +1,5 @@ module Lupo class Application - VERSION = "2.3.9" + VERSION = "2.3.10" end end \ No newline at end of file diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index d48ce5526..d55dad58e 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -69,6 +69,6 @@ end ActionController::Renderers.add :csv do |obj, options| - %w(doi url registered state resourceTypeGeneral bibtexType title author publisher publicationYear).to_csv + + %w(doi url registered state resourceTypeGeneral resourceType title author publisher publicationYear).to_csv + Array.wrap(obj).map { |o| o.send("csv") }.join("") end