bolognese 0.9.65 → 0.9.66

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 09505c13abec0fcef7d223b347ffe0c56776a532c7fa39ff74743df675d3cde8
4
- data.tar.gz: 07e33dd6c83d791faecd227db891a63b9c904806ea101534aee3e091f717fad9
3
+ metadata.gz: fd229fb753ad0389b74ddaccb134bc5e2b193326cef507a09c6188de325caf18
4
+ data.tar.gz: 9701468b6ea703819593f16894ad9d5041a3c208c5d40507d4aabecbe2225717
5
5
  SHA512:
6
- metadata.gz: 90a2fef397b622959ed381c34fe3cd0d181f3e5c04ec1166275e3a056009b34ab59b814cf22a9c980e25cd8d8040e27b717db48db67adff1fb1da0a1e3c16cbf
7
- data.tar.gz: 7fed5ec5ff56b47f5a722ab1ff3dfdaee165edc295fc71646d813f435b20426add74eb18aa1f66c4cad9fc119af55d2931d8b57c9daecea750e00fa919a9cab6
6
+ metadata.gz: dacd921436458f1c686fd0226728dfd7b9d5024fa506320aa02add7569c6b2514f76729d7640421dbc81978b34aa3fdf6b40880050fd17dd4a2b9bf9146f9fd3
7
+ data.tar.gz: a4ad5d0e146a0cdc95bb1f2dcb335a769abefcd54e715311a24c20f1c1ed789161a9642a4cc80f185a8464eb36685dc164e10975eca3b573d258f641036df267
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (0.9.65)
4
+ bolognese (0.9.66)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (~> 4.1)
@@ -14,7 +14,7 @@ PATH
14
14
  loofah (~> 2.0, >= 2.0.3)
15
15
  maremma (~> 3.5, >= 3.5.7)
16
16
  namae (~> 0.11.3)
17
- nokogiri (~> 1.6, >= 1.6.8)
17
+ nokogiri (~> 1.8.1)
18
18
  oj (>= 2.8.3)
19
19
  postrank-uri (~> 1.0, >= 1.0.18)
20
20
  rdf-rdfxml (~> 2.0)
@@ -89,17 +89,17 @@ GEM
89
89
  multi_json (~> 1.12)
90
90
  nokogiri (~> 1.6, >= 1.6.8)
91
91
  oj (>= 2.8.3)
92
- mini_portile2 (2.1.0)
92
+ mini_portile2 (2.3.0)
93
93
  minitest (5.10.3)
94
94
  multi_json (1.12.2)
95
95
  multipart-post (2.0.0)
96
96
  namae (0.11.3)
97
- nokogiri (1.7.2)
98
- mini_portile2 (~> 2.1.0)
97
+ nokogiri (1.8.1)
98
+ mini_portile2 (~> 2.3.0)
99
99
  oj (2.18.5)
100
- postrank-uri (1.0.22)
100
+ postrank-uri (1.0.23)
101
101
  addressable (>= 2.3.0, < 2.6)
102
- nokogiri (>= 1.6.1, < 1.8)
102
+ nokogiri (>= 1.6.1, < 1.9)
103
103
  public_suffix (>= 2.0.0, < 2.1)
104
104
  public_suffix (2.0.5)
105
105
  rack (2.0.3)
data/bolognese.gemspec CHANGED
@@ -13,10 +13,11 @@ Gem::Specification.new do |s|
13
13
  s.version = Bolognese::VERSION
14
14
  s.extra_rdoc_files = ["README.md"]
15
15
  s.license = 'MIT'
16
+ s.required_ruby_version = '~> 2.3'
16
17
 
17
18
  # Declary dependencies here, rather than in the Gemfile
18
19
  s.add_dependency 'maremma', '~> 3.5', '>= 3.5.7'
19
- s.add_dependency 'nokogiri', '~> 1.6', '>= 1.6.8'
20
+ s.add_dependency 'nokogiri', '~> 1.8.1'
20
21
  s.add_dependency 'loofah', '~> 2.0', '>= 2.0.3'
21
22
  s.add_dependency 'builder', '~> 3.2', '>= 3.2.2'
22
23
  s.add_dependency 'activesupport', '>= 4.2.5', '< 6'
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "0.9.65"
2
+ VERSION = "0.9.66"
3
3
  end
data/spec/cli_spec.rb CHANGED
@@ -179,7 +179,7 @@ describe Bolognese::CLI do
179
179
  it 'to datacite invalid' do
180
180
  file = fixture_path + "datacite_missing_creator.xml"
181
181
  subject.options = { to: "datacite" }
182
- expect { subject.convert file }.to output("Element '{http://datacite.org/schema/kernel-4}creators': Missing child element(s). Expected is ( {http://datacite.org/schema/kernel-4}creator ).\n").to_stderr
182
+ expect { subject.convert file }.to output("4:0: ERROR: Element '{http://datacite.org/schema/kernel-4}creators': Missing child element(s). Expected is ( {http://datacite.org/schema/kernel-4}creator ).\n").to_stderr
183
183
  end
184
184
  end
185
185
 
@@ -363,7 +363,7 @@ describe Bolognese::Metadata, vcr: true do
363
363
  subject = Bolognese::Metadata.new(input: input, regenerate: true)
364
364
  expect(subject.author).to be_nil
365
365
  expect(subject.valid?).to be false
366
- expect(subject.errors).to eq("Element '{http://datacite.org/schema/kernel-4}creators': Missing child element(s). Expected is ( {http://datacite.org/schema/kernel-4}creator ).")
366
+ expect(subject.errors).to eq("4:0: ERROR: Element '{http://datacite.org/schema/kernel-4}creators': Missing child element(s). Expected is ( {http://datacite.org/schema/kernel-4}creator ).")
367
367
  end
368
368
  end
369
369
 
@@ -169,7 +169,7 @@ describe Bolognese::Metadata, vcr: true do
169
169
  subject.type = "Dataset"
170
170
  expect(subject.doi).to eq("123")
171
171
  expect(subject.valid?).to be false
172
- expect(subject.errors.first).to start_with("Element '{http://datacite.org/schema/kernel-4}identifier'")
172
+ expect(subject.errors.first).to start_with("3:0: ERROR: Element '{http://datacite.org/schema/kernel-4}identifier'")
173
173
  datacite = Maremma.from_xml(subject.datacite).fetch("resource", {})
174
174
  end
175
175
  end
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: 0.9.65
4
+ version: 0.9.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-15 00:00:00.000000000 Z
11
+ date: 2017-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma
@@ -36,20 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.6'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 1.6.8
39
+ version: 1.8.1
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
44
  - - "~>"
48
45
  - !ruby/object:Gem::Version
49
- version: '1.6'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 1.6.8
46
+ version: 1.8.1
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: loofah
55
49
  requirement: !ruby/object:Gem::Requirement
@@ -873,9 +867,9 @@ require_paths:
873
867
  - lib
874
868
  required_ruby_version: !ruby/object:Gem::Requirement
875
869
  requirements:
876
- - - ">="
870
+ - - "~>"
877
871
  - !ruby/object:Gem::Version
878
- version: '0'
872
+ version: '2.3'
879
873
  required_rubygems_version: !ruby/object:Gem::Requirement
880
874
  requirements:
881
875
  - - ">="
@@ -883,7 +877,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
883
877
  version: '0'
884
878
  requirements: []
885
879
  rubyforge_project:
886
- rubygems_version: 2.7.3
880
+ rubygems_version: 2.7.4
887
881
  signing_key:
888
882
  specification_version: 4
889
883
  summary: Ruby client library for conversion of DOI Metadata