briard 2.6.7 → 2.7.0

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: dc88de35682d2303ecacefc1de0d3a9f17317e88837a46e735ae802d13c27a59
4
- data.tar.gz: 64cca2161dae986f704a24e2ea260ed1bee6e56209af39817d09a18b6849a2bf
3
+ metadata.gz: 274ef31afd2d0496eaa834fca379f2546ebadc1729c3139dc29e73411046cc82
4
+ data.tar.gz: a8eb31f51c2224c87856e1ce9ff547b33c3bc9b50579926a9152f2dd6083163e
5
5
  SHA512:
6
- metadata.gz: e8a2ad0465b519ed445fca4a7cb0f87403ba6a0ad35d9528aee40715288462910cdb4ad8fc98e63d65d2b371bb85a7b387d14e03e601100f4e9c2e7f54cd642c
7
- data.tar.gz: 141048f413c0b0d8d9b0fadf5f2c9851963e892fed00d64207e03d1f8d3c07ce565965180e6c9750074cc65df6a29bd59df435b550ddea2b3e34229e5fe4398f
6
+ metadata.gz: 7e91cec9de02a686f161b410736974b57cae8710fb80f92a8bca64d271c9b19c1593e03ef3fd96c288af72c7e99748f6ffe01648d3750161da247c8ddc77c728
7
+ data.tar.gz: 52c75c7fc2ea549f3fff4ca25a32e833d08df761ffc511c18cd80b1a64a4268f01afb7551bb98c2046b4369d21653ad2d91e8dd0d783ed510e9af4ede256c622
data/Gemfile.lock CHANGED
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- briard (2.6.7)
5
- activesupport (>= 4.2.5)
4
+ briard (2.7.0)
5
+ activesupport (>= 4.2.5, < 8.0)
6
6
  base32-url (>= 0.5.0, < 1)
7
7
  benchmark_methods (~> 0.7)
8
- bibtex-ruby (>= 5.1.0)
8
+ bibtex-ruby (~> 6.0)
9
9
  builder (~> 3.2, >= 3.2.2)
10
- citeproc-ruby (~> 1.1, >= 1.1.12)
10
+ citeproc-ruby (~> 2.0)
11
11
  colorize (~> 0.8.1)
12
12
  concurrent-ruby (~> 1.1, >= 1.1.5)
13
- csl-styles (~> 1.0, >= 1.0.1.10)
13
+ csl-styles (~> 2.0)
14
14
  dotenv (~> 2.1, >= 2.1.1)
15
15
  edtf (~> 3.0, >= 3.0.4)
16
- faraday (~> 0.17.3)
16
+ faraday (~> 2.6.0)
17
17
  faraday-multipart (~> 1.0.4)
18
18
  gender_detector (~> 0.1.2)
19
19
  iso8601 (~> 0.9.1)
@@ -29,7 +29,7 @@ PATH
29
29
  public_suffix (= 2.0.5)
30
30
  rdf-rdfxml (~> 3.1)
31
31
  rdf-turtle (~> 3.1)
32
- thor (>= 1.1.0)
32
+ thor (~> 1.1, >= 1.1.0)
33
33
 
34
34
  GEM
35
35
  remote: https://rubygems.org/
@@ -50,9 +50,9 @@ GEM
50
50
  builder (3.2.4)
51
51
  citeproc (1.0.10)
52
52
  namae (~> 1.0)
53
- citeproc-ruby (1.1.14)
53
+ citeproc-ruby (2.0.0)
54
54
  citeproc (~> 1.0, >= 1.0.9)
55
- csl (~> 1.6)
55
+ csl (~> 2.0)
56
56
  code-scanning-rubocop (0.6.1)
57
57
  rubocop (~> 1.0)
58
58
  colorize (0.8.1)
@@ -60,11 +60,11 @@ GEM
60
60
  crack (0.4.5)
61
61
  rexml
62
62
  crass (1.0.6)
63
- csl (1.6.0)
63
+ csl (2.0.0)
64
64
  namae (~> 1.0)
65
65
  rexml
66
- csl-styles (1.0.1.11)
67
- csl (~> 1.0)
66
+ csl-styles (2.0.1)
67
+ csl (~> 2.0)
68
68
  diff-lcs (1.5.0)
69
69
  docile (1.4.0)
70
70
  dotenv (2.8.1)
@@ -78,14 +78,22 @@ GEM
78
78
  edtf (3.1.0)
79
79
  activesupport (>= 3.0, < 8.0)
80
80
  excon (0.71.1)
81
- faraday (0.17.5)
82
- multipart-post (>= 1.2, < 3)
81
+ faraday (2.6.0)
82
+ faraday-net_http (>= 2.0, < 3.1)
83
+ ruby2_keywords (>= 0.0.4)
83
84
  faraday-encoding (0.0.5)
84
85
  faraday
86
+ faraday-excon (2.1.0)
87
+ excon (>= 0.27.4)
88
+ faraday (~> 2.0)
89
+ faraday-follow_redirects (0.3.0)
90
+ faraday (>= 1, < 3)
91
+ faraday-gzip (0.1.0)
92
+ faraday (>= 1.0)
93
+ zlib (~> 2.1)
85
94
  faraday-multipart (1.0.4)
86
95
  multipart-post (~> 2)
87
- faraday_middleware (0.14.0)
88
- faraday (>= 0.7.4, < 1.0)
96
+ faraday-net_http (3.0.2)
89
97
  gender_detector (0.1.2)
90
98
  unicode_utils (>= 1.3.0)
91
99
  haml (5.2.2)
@@ -116,15 +124,18 @@ GEM
116
124
  loofah (2.19.0)
117
125
  crass (~> 1.0.2)
118
126
  nokogiri (>= 1.5.9)
119
- maremma (4.9.8)
127
+ maremma (4.9.9)
120
128
  activesupport (>= 4.2.5)
121
129
  addressable (>= 2.3.6)
122
130
  builder (~> 3.2, >= 3.2.2)
123
131
  excon (~> 0.71.0)
124
- faraday (~> 0.17.3)
125
- faraday-encoding (~> 0.0.4)
126
- faraday_middleware (~> 0.14.0)
127
- nokogiri (>= 1.11.2, < 1.14.0)
132
+ faraday (>= 2.0)
133
+ faraday-encoding (~> 0.0.5)
134
+ faraday-excon (~> 2.1.0)
135
+ faraday-follow_redirects (~> 0.3.0)
136
+ faraday-gzip (~> 0.1.0)
137
+ faraday-multipart (~> 1.0.4)
138
+ nokogiri (>= 1.13.1, < 1.14.0)
128
139
  oj (>= 2.8.3)
129
140
  oj_mimic_json (~> 1.0, >= 1.0.1)
130
141
  matrix (0.4.2)
@@ -136,7 +147,7 @@ GEM
136
147
  nokogiri (1.13.9)
137
148
  mini_portile2 (~> 2.8.0)
138
149
  racc (~> 1.4)
139
- oj (3.13.22)
150
+ oj (3.13.23)
140
151
  oj_mimic_json (1.0.1)
141
152
  optimist (3.0.1)
142
153
  parallel (1.22.1)
@@ -215,6 +226,7 @@ GEM
215
226
  rubocop-rspec (2.15.0)
216
227
  rubocop (~> 1.33)
217
228
  ruby-progressbar (1.11.0)
229
+ ruby2_keywords (0.0.5)
218
230
  scanf (1.0.0)
219
231
  simplecov (0.21.2)
220
232
  docile (~> 1.1)
@@ -238,13 +250,14 @@ GEM
238
250
  addressable (>= 2.8.0)
239
251
  crack (>= 0.3.2)
240
252
  hashdiff (>= 0.4.0, < 2.0.0)
253
+ zlib (2.1.1)
241
254
 
242
255
  PLATFORMS
243
256
  ruby
244
257
 
245
258
  DEPENDENCIES
246
259
  briard!
247
- bundler (>= 1.0)
260
+ bundler (~> 2.3, >= 2.3.1)
248
261
  code-scanning-rubocop (~> 0.6.1)
249
262
  hashdiff (>= 1.0.0.beta1, < 2.0.0)
250
263
  rack-test (~> 2.0)
data/briard.gemspec CHANGED
@@ -18,18 +18,18 @@ Gem::Specification.new do |s|
18
18
  s.required_ruby_version = '~> 2.3'
19
19
 
20
20
  # Declare dependencies here, rather than in the Gemfile
21
- s.add_dependency 'activesupport', '>= 4.2.5'
21
+ s.add_dependency 'activesupport', '>= 4.2.5', '< 8.0'
22
22
  s.add_dependency 'base32-url', '>= 0.5.0', '< 1'
23
23
  s.add_dependency 'benchmark_methods', '~> 0.7'
24
- s.add_dependency 'bibtex-ruby', '>= 5.1.0'
24
+ s.add_dependency 'bibtex-ruby', '~> 6.0'
25
25
  s.add_dependency 'builder', '~> 3.2', '>= 3.2.2'
26
- s.add_dependency 'citeproc-ruby', '~> 1.1', '>= 1.1.12'
26
+ s.add_dependency 'citeproc-ruby', '~> 2.0'
27
27
  s.add_dependency 'colorize', '~> 0.8.1'
28
28
  s.add_dependency 'concurrent-ruby', '~> 1.1', '>= 1.1.5'
29
- s.add_dependency 'csl-styles', '~> 1.0', '>= 1.0.1.10'
29
+ s.add_dependency 'csl-styles', '~> 2.0'
30
30
  s.add_dependency 'dotenv', '~> 2.1', '>= 2.1.1'
31
31
  s.add_dependency 'edtf', '~> 3.0', '>= 3.0.4'
32
- s.add_dependency 'faraday', '~> 0.17.3'
32
+ s.add_dependency 'faraday', '~> 2.6.0'
33
33
  s.add_dependency 'faraday-multipart', '~> 1.0.4'
34
34
  s.add_dependency 'gender_detector', '~> 0.1.2'
35
35
  s.add_dependency 'iso8601', '~> 0.9.1'
@@ -45,8 +45,8 @@ Gem::Specification.new do |s|
45
45
  s.add_dependency 'public_suffix', '2.0.5'
46
46
  s.add_dependency 'rdf-rdfxml', '~> 3.1'
47
47
  s.add_dependency 'rdf-turtle', '~> 3.1'
48
- s.add_dependency 'thor', '>= 1.1.0'
49
- s.add_development_dependency 'bundler', '>= 1.0'
48
+ s.add_dependency 'thor', '~> 1.1', '>= 1.1.0'
49
+ s.add_development_dependency 'bundler', '~> 2.3', '>= 2.3.1'
50
50
  s.add_development_dependency 'code-scanning-rubocop', '~> 0.6.1'
51
51
  s.add_development_dependency 'hashdiff', ['>= 1.0.0.beta1', '< 2.0.0']
52
52
  s.add_development_dependency 'rack-test', '~> 2.0'
@@ -23,8 +23,8 @@ module Briard
23
23
  schema_version = 'http://datacite.org/schema/kernel-4'
24
24
  end
25
25
 
26
- kernel = schema_version.to_s.split('/').last
27
- filepath = File.expand_path("../../../resources/#{kernel}/metadata.xsd", __FILE__)
26
+ k = schema_version.to_s.split('/').last
27
+ filepath = File.expand_path("../../../resources/#{k}/metadata.xsd", __FILE__)
28
28
  schema = Nokogiri::XML::Schema(open(filepath))
29
29
 
30
30
  schema.validate(Nokogiri::XML(xml, nil, 'UTF-8')).map(&:to_s).unwrap
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Briard
4
- VERSION = '2.6.7'
4
+ VERSION = '2.7.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: briard
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.7
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-03 00:00:00.000000000 Z
11
+ date: 2022-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '8.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 4.2.5
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '8.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: base32-url
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -62,16 +68,16 @@ dependencies:
62
68
  name: bibtex-ruby
63
69
  requirement: !ruby/object:Gem::Requirement
64
70
  requirements:
65
- - - ">="
71
+ - - "~>"
66
72
  - !ruby/object:Gem::Version
67
- version: 5.1.0
73
+ version: '6.0'
68
74
  type: :runtime
69
75
  prerelease: false
70
76
  version_requirements: !ruby/object:Gem::Requirement
71
77
  requirements:
72
- - - ">="
78
+ - - "~>"
73
79
  - !ruby/object:Gem::Version
74
- version: 5.1.0
80
+ version: '6.0'
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: builder
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -98,20 +104,14 @@ dependencies:
98
104
  requirements:
99
105
  - - "~>"
100
106
  - !ruby/object:Gem::Version
101
- version: '1.1'
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: 1.1.12
107
+ version: '2.0'
105
108
  type: :runtime
106
109
  prerelease: false
107
110
  version_requirements: !ruby/object:Gem::Requirement
108
111
  requirements:
109
112
  - - "~>"
110
113
  - !ruby/object:Gem::Version
111
- version: '1.1'
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- version: 1.1.12
114
+ version: '2.0'
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: colorize
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -152,20 +152,14 @@ dependencies:
152
152
  requirements:
153
153
  - - "~>"
154
154
  - !ruby/object:Gem::Version
155
- version: '1.0'
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- version: 1.0.1.10
155
+ version: '2.0'
159
156
  type: :runtime
160
157
  prerelease: false
161
158
  version_requirements: !ruby/object:Gem::Requirement
162
159
  requirements:
163
160
  - - "~>"
164
161
  - !ruby/object:Gem::Version
165
- version: '1.0'
166
- - - ">="
167
- - !ruby/object:Gem::Version
168
- version: 1.0.1.10
162
+ version: '2.0'
169
163
  - !ruby/object:Gem::Dependency
170
164
  name: dotenv
171
165
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +206,14 @@ dependencies:
212
206
  requirements:
213
207
  - - "~>"
214
208
  - !ruby/object:Gem::Version
215
- version: 0.17.3
209
+ version: 2.6.0
216
210
  type: :runtime
217
211
  prerelease: false
218
212
  version_requirements: !ruby/object:Gem::Requirement
219
213
  requirements:
220
214
  - - "~>"
221
215
  - !ruby/object:Gem::Version
222
- version: 0.17.3
216
+ version: 2.6.0
223
217
  - !ruby/object:Gem::Dependency
224
218
  name: faraday-multipart
225
219
  requirement: !ruby/object:Gem::Requirement
@@ -464,6 +458,9 @@ dependencies:
464
458
  name: thor
465
459
  requirement: !ruby/object:Gem::Requirement
466
460
  requirements:
461
+ - - "~>"
462
+ - !ruby/object:Gem::Version
463
+ version: '1.1'
467
464
  - - ">="
468
465
  - !ruby/object:Gem::Version
469
466
  version: 1.1.0
@@ -471,6 +468,9 @@ dependencies:
471
468
  prerelease: false
472
469
  version_requirements: !ruby/object:Gem::Requirement
473
470
  requirements:
471
+ - - "~>"
472
+ - !ruby/object:Gem::Version
473
+ version: '1.1'
474
474
  - - ">="
475
475
  - !ruby/object:Gem::Version
476
476
  version: 1.1.0
@@ -478,16 +478,22 @@ dependencies:
478
478
  name: bundler
479
479
  requirement: !ruby/object:Gem::Requirement
480
480
  requirements:
481
+ - - "~>"
482
+ - !ruby/object:Gem::Version
483
+ version: '2.3'
481
484
  - - ">="
482
485
  - !ruby/object:Gem::Version
483
- version: '1.0'
486
+ version: 2.3.1
484
487
  type: :development
485
488
  prerelease: false
486
489
  version_requirements: !ruby/object:Gem::Requirement
487
490
  requirements:
491
+ - - "~>"
492
+ - !ruby/object:Gem::Version
493
+ version: '2.3'
488
494
  - - ">="
489
495
  - !ruby/object:Gem::Version
490
- version: '1.0'
496
+ version: 2.3.1
491
497
  - !ruby/object:Gem::Dependency
492
498
  name: code-scanning-rubocop
493
499
  requirement: !ruby/object:Gem::Requirement