bolognese 1.9.12 → 1.9.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -153,7 +153,7 @@ describe Bolognese::Metadata, vcr: true do
153
153
  it "missing_comma" do
154
154
  json = IO.read(fixture_path + "datacite_software_missing_comma.json")
155
155
  response = subject.jsonlint(json)
156
- expect(response).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:388]"])
156
+ expect(response.first).to include("expected comma, not a string (after doi)")
157
157
  end
158
158
 
159
159
  it "overlapping_keys" do
@@ -46,7 +46,7 @@ describe Bolognese::Metadata, vcr: true do
46
46
  input = fixture_path + "datacite_software_missing_comma.json"
47
47
  subject = Bolognese::Metadata.new(input: input, from: "datacite_json", show_errors: true)
48
48
  expect(subject.valid?).to be false
49
- expect(subject.errors).to eq(["expected comma, not a string (after doi) at line 4, column 11 [parse.c:388]"])
49
+ expect(subject.errors.first).to include("expected comma, not a string (after doi)")
50
50
  expect(subject.codemeta).to be_nil
51
51
  end
52
52
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.12
4
+ version: 1.9.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-19 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -48,16 +48,22 @@ dependencies:
48
48
  name: nokogiri
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 1.13.2
54
+ - - "<"
52
55
  - !ruby/object:Gem::Version
53
- version: 1.11.2
56
+ version: '1.14'
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
- - - "~>"
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.13.2
64
+ - - "<"
59
65
  - !ruby/object:Gem::Version
60
- version: 1.11.2
66
+ version: '1.14'
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: loofah
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -561,6 +567,7 @@ extra_rdoc_files:
561
567
  files:
562
568
  - ".github/workflows/build.yml"
563
569
  - ".github/workflows/changelog.yml"
570
+ - ".github/workflows/pull-request.yml"
564
571
  - ".github/workflows/release.yml"
565
572
  - ".gitignore"
566
573
  - ".rubocop.yml"
@@ -738,6 +745,7 @@ files:
738
745
  - resources/kernel-4/include/datacite-titleType-v4.xsd
739
746
  - resources/kernel-4/include/xml.xsd
740
747
  - resources/kernel-4/metadata.xsd
748
+ - resources/oecd/dfg-mappings.json
741
749
  - resources/oecd/for-mappings.json
742
750
  - resources/oecd/fos-mappings.json
743
751
  - resources/schema_org/jsonldcontext.json