Skip to content

Commit

Permalink
fix language issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 12, 2020
1 parent 8abcce5 commit 2228c1b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions bolognese.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion lib/bolognese/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bolognese
VERSION = "1.7"
VERSION = "1.7.1"
end
6 changes: 3 additions & 3 deletions spec/writers/citation_writer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2228c1b

Please sign in to comment.