Skip to content

Commit

Permalink
Update bolognese to the latest version from 1.11.0 to 1.11.5 in Lupo (#…
Browse files Browse the repository at this point in the history
…1031)

* Update bolognese to the latest version

* Issue-1030 Fixed the test case

* Fixed rubo cop
  • Loading branch information
ashwinisukale authored Oct 24, 2023
1 parent b866d60 commit cfa8440
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem "aws-sdk-sqs", "~> 1.3"
gem "base32-url", "~> 0.3"
gem "batch-loader", "~> 1.4", ">= 1.4.1"
gem "bcrypt", "~> 3.1.7"
gem "bolognese", "~> 1.11.0"
gem "bolognese", "~> 1.11.5"
gem "bootsnap", "~> 1.4", ">= 1.4.4", require: false
gem "cancancan", "~> 3.0"
gem "commonmarker", "~> 0.23.4"
Expand Down
28 changes: 8 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ GEM
latex-decode (~> 0.0)
binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1)
bolognese (1.11.0)
bolognese (1.11.5)
activesupport (>= 4.2.5)
benchmark_methods (~> 0.7)
bibtex-ruby (>= 5.1.0)
Expand Down Expand Up @@ -216,7 +216,7 @@ GEM
scanf (~> 1.0)
sxp (~> 1.2)
unicode-types (~> 1.7)
edtf (3.1.0)
edtf (3.1.1)
activesupport (>= 3.0, < 8.0)
elasticsearch (7.5.0)
elasticsearch-api (= 7.5.0)
Expand Down Expand Up @@ -279,9 +279,6 @@ GEM
graphql (~> 1, > 1.8)
graphql-errors (0.4.0)
graphql (>= 1.6.0, < 2)
haml (5.2.2)
temple (>= 0.8.0)
tilt
hashdiff (1.0.1)
hashid-rails (1.4.1)
activerecord (>= 4.0)
Expand All @@ -299,7 +296,7 @@ GEM
iso8601 (0.9.1)
jmespath (1.6.2)
json (2.6.3)
json-canonicalization (0.3.1)
json-canonicalization (0.3.2)
json-ld (3.2.3)
htmlentities (~> 4.3)
json-canonicalization (~> 0.3)
Expand Down Expand Up @@ -479,23 +476,14 @@ GEM
link_header (~> 0.0, >= 0.0.8)
rdf-aggregate-repo (3.2.1)
rdf (~> 3.2)
rdf-rdfa (3.2.0)
haml (~> 5.2)
htmlentities (~> 4.3)
rdf (~> 3.2)
rdf-aggregate-repo (~> 3.2)
rdf-vocab (~> 3.2)
rdf-xsd (~> 3.2)
rdf-rdfxml (3.2.0)
rdf-rdfxml (3.2.2)
builder (~> 3.2)
htmlentities (~> 4.3)
rdf (~> 3.2)
rdf-rdfa (~> 3.2)
rdf-xsd (~> 3.2)
rdf-turtle (3.2.1)
ebnf (~> 2.3)
rdf (~> 3.2)
rdf-vocab (3.2.3)
rdf (~> 3.2, >= 3.2.4)
rdf-xsd (3.2.1)
rdf (~> 3.2)
rexml (~> 3.2)
Expand Down Expand Up @@ -616,7 +604,6 @@ GEM
rdf (~> 3.2)
sysrandom (1.0.5)
systemu (2.6.5)
temple (0.9.1)
terrapin (0.6.0)
climate_control (>= 0.0.3, < 1.0)
test-prof (0.10.2)
Expand Down Expand Up @@ -653,6 +640,7 @@ GEM

PLATFORMS
universal-darwin-21
x86_64-darwin-20
x86_64-linux

DEPENDENCIES
Expand All @@ -668,7 +656,7 @@ DEPENDENCIES
bcrypt (~> 3.1.7)
better_errors
binding_of_caller
bolognese (~> 1.11.0)
bolognese (~> 1.11.5)
bootsnap (~> 1.4, >= 1.4.4)
bullet (~> 6.1)
byebug
Expand Down Expand Up @@ -761,4 +749,4 @@ DEPENDENCIES
webmock (~> 3.1)

BUNDLED WITH
2.4.20
2.4.10
2 changes: 1 addition & 1 deletion spec/requests/datacite_dois_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2302,7 +2302,7 @@
"name" => "Miller, Elizabeth",
"nameIdentifiers" => [{ "nameIdentifier" => "https://orcid.org/0000-0001-5000-0007", "nameIdentifierScheme" => "ORCID", "schemeUri" => "https://orcid.org" }],
"nameType" => "Personal")
expect(json.dig("data", "attributes", "creators")[1]).to eq("affiliation" => [{ "affiliationIdentifierScheme" => "ROR", "affiliationIdentifier" => "https://ror.org/05gq02987", "name" => "Brown University" }, { "affiliationIdentifierScheme" => "GRID", "affiliationIdentifier" => "https://grid.ac/institutes/grid.268117.b", "name" => "Wesleyan University" }],
expect(json.dig("data", "attributes", "creators")[1]).to eq("affiliation" => [{ "affiliationIdentifierScheme" => "ROR", "affiliationIdentifier" => "https://ror.org/05gq02987", "name" => "Brown University" }, { "affiliationIdentifierScheme" => "GRID", "affiliationIdentifier" => "https://grid.ac/institutes/grid.268117.b", "name" => "Wesleyan University", "schemeUri" => "https://grid.ac/institutes/" }],
"familyName" => "Carberry",
"givenName" => "Josiah",
"name" => "Carberry, Josiah",
Expand Down

0 comments on commit cfa8440

Please sign in to comment.