Skip to content

Commit

Permalink
update all vcr cassettes
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 9, 2021
1 parent e7da6be commit 026f5db
Show file tree
Hide file tree
Showing 428 changed files with 5,401 additions and 7,164 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bolognese (1.9.8)
bolognese (1.9.9)
activesupport (>= 4.2.5)
benchmark_methods (~> 0.7)
bibtex-ruby (>= 5.1.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/bolognese/readers/crossref_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def get_crossref(id: nil, **options)

doi = doi_from_url(id)
url = "https://api.crossref.org/works/#{doi}/transform/application/vnd.crossref.unixsd+xml"
response = Maremma.get(url, accept: "text/xml", raw: true)
response = Maremma.get(url, accept: "text/xml;charset=utf-8", raw: true)
string = response.body.fetch("data", nil)
string = Nokogiri::XML(string, nil, 'UTF-8', &:noblanks).to_s if string.present?

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.9.8"
VERSION = "1.9.9"
end
2 changes: 1 addition & 1 deletion spec/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
let(:input) { "10.5061/dryad.8515" }

it 'default' do
expect { subject.convert input }.to output(/Plasmodium, malaria, taxonomy, mitochondrial genome, phylogeny, Parasites/).to_stdout
expect { subject.convert input }.to output(/Plasmodium, malaria, taxonomy, mitochondrial genome, Parasites/).to_stdout
end

it 'to schema_org' do
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 026f5db

Please sign in to comment.