Skip to content

Commit 5a4f4d3

Browse files
authored
Merge pull request #257 from ncbo/develop
Develop -> Master merge, release v6.6.1
2 parents 2f22b1b + 573a5b0 commit 5a4f4d3

10 files changed

Lines changed: 247 additions & 104 deletions

File tree

Gemfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ gem 'omni_logger'
1414
gem 'pony'
1515
gem 'rack'
1616
gem 'rake', '~> 10.0'
17+
gem 'request_store'
1718
gem 'rest-client'
1819
gem 'rsolr'
19-
gem 'rubyzip', '~> 1.0'
20-
gem 'thin'
21-
gem 'request_store'
20+
gem 'thin', '~> 1.0' # compatibility version pin. thin should be replaced with webmoc
2221

2322

2423
# Testing

Gemfile.lock

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ PATH
4141
rack
4242
rack-test
4343
rsolr
44-
rubyzip
44+
rubyzip (~> 3.0)
4545

4646
GEM
4747
remote: https://rubygems.org/
@@ -57,7 +57,7 @@ GEM
5757
ansi (1.5.0)
5858
ast (2.4.3)
5959
bcrypt (3.1.20)
60-
bigdecimal (3.1.9)
60+
bigdecimal (3.2.2)
6161
builder (3.3.0)
6262
childprocess (5.1.0)
6363
logger (~> 1.5)
@@ -92,12 +92,12 @@ GEM
9292
concurrent-ruby (~> 1.0)
9393
json (2.13.2)
9494
json_pure (2.8.1)
95-
language_server-protocol (3.17.0.4)
95+
language_server-protocol (3.17.0.5)
9696
launchy (3.1.1)
9797
addressable (~> 2.8)
9898
childprocess (~> 5.0)
9999
logger (~> 1.6)
100-
libxml-ruby (5.0.3)
100+
libxml-ruby (5.0.5)
101101
lint_roller (1.1.0)
102102
logger (1.7.0)
103103
macaddr (1.7.2)
@@ -111,7 +111,7 @@ GEM
111111
mime-types (3.7.0)
112112
logger
113113
mime-types-data (~> 3.2025, >= 3.2025.0507)
114-
mime-types-data (3.2025.0805)
114+
mime-types-data (3.2025.0819)
115115
mini_mime (1.1.5)
116116
minitest (4.7.5)
117117
minitest-reporters (0.14.24)
@@ -121,16 +121,16 @@ GEM
121121
powerbar
122122
mocha (2.7.1)
123123
ruby2_keywords (>= 0.0.5)
124-
mock_redis (0.50.0)
124+
mock_redis (0.51.0)
125125
redis (~> 5)
126-
multi_json (1.15.0)
126+
multi_json (1.17.0)
127127
net-ftp (0.3.8)
128128
net-protocol
129129
time
130130
net-http (0.6.0)
131131
uri
132132
net-http-persistent (2.9.4)
133-
net-imap (0.4.21)
133+
net-imap (0.4.22)
134134
date
135135
net-protocol
136136
net-pop (0.1.2)
@@ -140,14 +140,14 @@ GEM
140140
net-smtp (0.5.1)
141141
net-protocol
142142
netrc (0.11.0)
143-
oj (3.16.10)
143+
oj (3.16.11)
144144
bigdecimal (>= 3.0)
145145
ostruct (>= 0.2)
146146
omni_logger (0.1.4)
147147
logger
148-
ostruct (0.6.1)
148+
ostruct (0.6.3)
149149
parallel (1.27.0)
150-
parser (3.3.8.0)
150+
parser (3.3.9.0)
151151
ast (~> 2.4.1)
152152
racc
153153
pony (1.13.1)
@@ -169,9 +169,9 @@ GEM
169169
addressable (>= 2.2)
170170
redis (5.4.1)
171171
redis-client (>= 0.22.0)
172-
redis-client (0.25.1)
172+
redis-client (0.25.2)
173173
connection_pool
174-
regexp_parser (2.10.0)
174+
regexp_parser (2.11.2)
175175
request_store (1.7.0)
176176
rack (>= 1.4)
177177
rest-client (2.1.0)
@@ -183,31 +183,31 @@ GEM
183183
rsolr (2.6.0)
184184
builder (>= 2.1.2)
185185
faraday (>= 0.9, < 3, != 2.0.0)
186-
rubocop (1.75.4)
186+
rubocop (1.79.2)
187187
json (~> 2.3)
188188
language_server-protocol (~> 3.17.0.2)
189189
lint_roller (~> 1.1.0)
190190
parallel (~> 1.10)
191191
parser (>= 3.3.0.2)
192192
rainbow (>= 2.2.2, < 4.0)
193193
regexp_parser (>= 2.9.3, < 3.0)
194-
rubocop-ast (>= 1.44.0, < 2.0)
194+
rubocop-ast (>= 1.46.0, < 2.0)
195195
ruby-progressbar (~> 1.7)
196196
unicode-display_width (>= 2.4.0, < 4.0)
197-
rubocop-ast (1.44.1)
197+
rubocop-ast (1.46.0)
198198
parser (>= 3.3.7.2)
199199
prism (~> 1.4)
200200
ruby-progressbar (1.13.0)
201201
ruby2_keywords (0.0.5)
202-
rubyzip (1.3.0)
202+
rubyzip (3.0.1)
203203
simplecov (0.22.0)
204204
docile (~> 1.1)
205205
simplecov-html (~> 0.11)
206206
simplecov_json_formatter (~> 0.1)
207-
simplecov-cobertura (2.1.0)
207+
simplecov-cobertura (3.0.0)
208208
rexml
209209
simplecov (~> 0.19)
210-
simplecov-html (0.13.1)
210+
simplecov-html (0.13.2)
211211
simplecov_json_formatter (0.1.4)
212212
systemu (2.6.5)
213213
thin (1.8.2)
@@ -219,7 +219,7 @@ GEM
219219
date
220220
timeout (0.4.3)
221221
tzinfo (0.3.62)
222-
unicode-display_width (3.1.4)
222+
unicode-display_width (3.1.5)
223223
unicode-emoji (~> 4.0, >= 4.0.4)
224224
unicode-emoji (4.0.4)
225225
uri (1.0.3)
@@ -261,11 +261,10 @@ DEPENDENCIES
261261
rest-client
262262
rsolr
263263
rubocop
264-
rubyzip (~> 1.0)
265264
simplecov
266265
simplecov-cobertura
267266
sparql-client!
268-
thin
267+
thin (~> 1.0)
269268

270269
BUNDLED WITH
271270
2.6.3

lib/ontologies_linked_data/models/ontology_submission.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def sanity_check
391391
end
392392

393393
zip = zipped?
394-
files = LinkedData::Utils::FileHelpers.files_from_zip(self.uploadFilePath) if zip
394+
files = LinkedData::Utils::FileHelpers.filenames_in_archive(uploadFilePath) if zip
395395

396396
if not zip and self.masterFileName.nil?
397397
return true
@@ -423,7 +423,7 @@ def sanity_check
423423

424424
elsif zip and not self.masterFileName.nil?
425425
#if zip and the user chose a file then we make sure the file is in the list.
426-
files = LinkedData::Utils::FileHelpers.files_from_zip(self.uploadFilePath)
426+
files = LinkedData::Utils::FileHelpers.filenames_in_archive(self.uploadFilePath)
427427
if not files.include? self.masterFileName
428428
if self.errors[:uploadFilePath].nil?
429429
self.errors[:uploadFilePath] = []

0 commit comments

Comments
 (0)