diff --git a/Gemfile.lock b/Gemfile.lock index 4a0d1c12..74869efe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,15 +1,15 @@ PATH remote: . specs: - bolognese (1.7) + bolognese (1.7.1) activesupport (>= 4.2.5) benchmark_methods (~> 0.7) bibtex-ruby (>= 5.1.0) builder (~> 3.2, >= 3.2.2) - citeproc-ruby (~> 1.1, >= 1.1.10) + citeproc-ruby (~> 1.1, >= 1.1.12) colorize (~> 0.8.1) concurrent-ruby (~> 1.1, >= 1.1.5) - csl-styles (~> 1.0, >= 1.0.1.8) + csl-styles (~> 1.0, >= 1.0.1.10) edtf (~> 3.0, >= 3.0.4) faraday (~> 0.17.3) gender_detector (~> 0.1.2) diff --git a/bolognese.gemspec b/bolognese.gemspec index 6b8c53a2..f13f9522 100644 --- a/bolognese.gemspec +++ b/bolognese.gemspec @@ -27,8 +27,8 @@ Gem::Specification.new do |s| s.add_dependency 'colorize', '~> 0.8.1' s.add_dependency 'namae', '~> 1.0' s.add_dependency 'edtf', '~> 3.0', '>= 3.0.4' - s.add_dependency 'citeproc-ruby', '~> 1.1', '>= 1.1.10' - s.add_dependency 'csl-styles', '~> 1.0', '>= 1.0.1.8' + s.add_dependency 'citeproc-ruby', '~> 1.1', '>= 1.1.12' + s.add_dependency 'csl-styles', '~> 1.0', '>= 1.0.1.10' s.add_dependency 'iso8601', '~> 0.9.1' s.add_dependency 'postrank-uri', '~> 1.0', '>= 1.0.18' s.add_dependency 'json-ld', '~> 3.1', '>= 3.1.4' diff --git a/lib/bolognese/version.rb b/lib/bolognese/version.rb index a308ac0c..ed00718c 100644 --- a/lib/bolognese/version.rb +++ b/lib/bolognese/version.rb @@ -1,3 +1,3 @@ module Bolognese - VERSION = "1.7" + VERSION = "1.7.1" end diff --git a/spec/writers/citation_writer_spec.rb b/spec/writers/citation_writer_spec.rb index 0f0a738f..a06cbef0 100644 --- a/spec/writers/citation_writer_spec.rb +++ b/spec/writers/citation_writer_spec.rb @@ -14,10 +14,10 @@ it "Journal article vancouver style" do input = "10.7554/eLife.01567" - subject = Bolognese::Metadata.new(input: input, from: "crossref", style: "vancouver", locale: "de-de") + subject = Bolognese::Metadata.new(input: input, from: "crossref", style: "vancouver", locale: "en-US") expect(subject.style).to eq("vancouver") - expect(subject.locale).to eq("de-de") - expect(subject.citation).to eq("Sankar M, Nieminen K, Ragni L, Xenarios I, Hardtke CS. Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth. eLife [Internet]. 11. Februar 2014;3. Verfügbar unter: https://elifesciences.org/articles/01567") + expect(subject.locale).to eq("en-US") + expect(subject.citation).to eq("Sankar M, Nieminen K, Ragni L, Xenarios I, Hardtke CS. Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth. eLife [Internet]. 2014Feb11;3. Available from: https://elifesciences.org/articles/01567") end it "Dataset" do