diff --git a/Gemfile.lock b/Gemfile.lock index c7cef413..061cc694 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - bolognese (1.8.16) + bolognese (1.8.17) activesupport (>= 4.2.5) benchmark_methods (~> 0.7) bibtex-ruby (>= 5.1.0) diff --git a/lib/bolognese/.github/workflows/deploy.yml b/lib/bolognese/.github/workflows/build.yml similarity index 88% rename from lib/bolognese/.github/workflows/deploy.yml rename to lib/bolognese/.github/workflows/build.yml index 7b908ed1..f781f127 100644 --- a/lib/bolognese/.github/workflows/deploy.yml +++ b/lib/bolognese/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Deploy Ruby Gem +name: Build Ruby Gem on: push: @@ -6,7 +6,6 @@ on: - "master" jobs: build: - name: Build + Publish runs-on: ubuntu-latest steps: diff --git a/lib/bolognese/.github/workflows/release.yml b/lib/bolognese/.github/workflows/release.yml index 9d1bde4f..b2cc2e1b 100644 --- a/lib/bolognese/.github/workflows/release.yml +++ b/lib/bolognese/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Ruby Gem +name: Release Ruby Gem on: release: diff --git a/lib/bolognese/version.rb b/lib/bolognese/version.rb index 1517011e..22c2cff8 100644 --- a/lib/bolognese/version.rb +++ b/lib/bolognese/version.rb @@ -1,3 +1,3 @@ module Bolognese - VERSION = "1.8.16" + VERSION = "1.8.17" end diff --git a/spec/metadata_spec.rb b/spec/metadata_spec.rb index 1d92766a..2ff8284b 100644 --- a/spec/metadata_spec.rb +++ b/spec/metadata_spec.rb @@ -153,7 +153,7 @@ it "missing_comma" do json = IO.read(fixture_path + "datacite_software_missing_comma.json") response = subject.jsonlint(json) - expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:373]"]) + expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:370]"]) end it "overlapping_keys" do diff --git a/spec/readers/datacite_json_reader_spec.rb b/spec/readers/datacite_json_reader_spec.rb index 29d432f6..71517656 100644 --- a/spec/readers/datacite_json_reader_spec.rb +++ b/spec/readers/datacite_json_reader_spec.rb @@ -46,7 +46,7 @@ input = fixture_path + "datacite_software_missing_comma.json" subject = Bolognese::Metadata.new(input: input, from: "datacite_json", show_errors: true) expect(subject.valid?).to be false - expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:373]"]) + expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:370]"]) expect(subject.codemeta).to be_nil end