Skip to content

Commit e26859c

Browse files
authored
Merge pull request #231 from ncbo/develop
Develop to Master merge. Resolve missing metrics issue
2 parents 536cbe5 + 7a46e09 commit e26859c

2 files changed

Lines changed: 29 additions & 23 deletions

File tree

Gemfile.lock

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ GEM
3737
public_suffix (>= 2.0.2, < 7.0)
3838
ansi (1.5.0)
3939
ast (2.4.2)
40-
base64 (0.2.0)
4140
bcrypt (3.1.20)
4241
bigdecimal (3.1.8)
4342
builder (3.3.0)
@@ -48,35 +47,37 @@ GEM
4847
connection_pool (2.4.1)
4948
cube-ruby (0.0.3)
5049
daemons (1.4.1)
51-
date (3.4.0)
50+
date (3.4.1)
5251
docile (1.4.1)
5352
domain_name (0.6.20240107)
5453
email_spec (2.3.0)
5554
htmlentities (~> 4.3.3)
5655
launchy (>= 2.1, < 4.0)
5756
mail (~> 2.7)
5857
eventmachine (1.2.7)
59-
faraday (2.8.1)
60-
base64
61-
faraday-net_http (>= 2.0, < 3.1)
62-
ruby2_keywords (>= 0.0.4)
63-
faraday-net_http (3.0.2)
58+
faraday (2.12.2)
59+
faraday-net_http (>= 2.0, < 3.5)
60+
json
61+
logger
62+
faraday-net_http (3.4.0)
63+
net-http (>= 0.5.0)
6464
ffi (1.17.0)
65+
ffi (1.17.0-arm64-darwin)
6566
hashie (5.0.0)
6667
htmlentities (4.3.4)
6768
http-accept (1.7.0)
68-
http-cookie (1.0.7)
69+
http-cookie (1.0.8)
6970
domain_name (~> 0.5)
7071
i18n (0.9.5)
7172
concurrent-ruby (~> 1.0)
72-
json (2.8.2)
73+
json (2.9.0)
7374
json_pure (2.8.1)
7475
language_server-protocol (3.17.0.3)
7576
launchy (3.0.1)
7677
addressable (~> 2.8)
7778
childprocess (~> 5.0)
7879
libxml-ruby (5.0.3)
79-
logger (1.6.1)
80+
logger (1.6.2)
8081
macaddr (1.7.2)
8182
systemu (~> 2.6.5)
8283
mail (2.8.1)
@@ -88,7 +89,7 @@ GEM
8889
mime-types (3.6.0)
8990
logger
9091
mime-types-data (~> 3.2015)
91-
mime-types-data (3.2024.1105)
92+
mime-types-data (3.2024.1203)
9293
mini_mime (1.1.5)
9394
minitest (4.7.5)
9495
minitest-reporters (0.14.24)
@@ -97,6 +98,8 @@ GEM
9798
minitest (>= 2.12, < 5.0)
9899
powerbar
99100
multi_json (1.15.0)
101+
net-http (0.6.0)
102+
uri
100103
net-http-persistent (2.9.4)
101104
net-imap (0.4.18)
102105
date
@@ -125,7 +128,7 @@ GEM
125128
pry (0.15.0)
126129
coderay (~> 1.1)
127130
method_source (~> 1.0)
128-
public_suffix (5.1.1)
131+
public_suffix (6.0.1)
129132
racc (1.8.1)
130133
rack (2.2.10)
131134
rack-test (0.8.3)
@@ -136,9 +139,9 @@ GEM
136139
addressable (>= 2.2)
137140
redis (5.3.0)
138141
redis-client (>= 0.22.0)
139-
redis-client (0.22.2)
142+
redis-client (0.23.0)
140143
connection_pool
141-
regexp_parser (2.9.2)
144+
regexp_parser (2.9.3)
142145
request_store (1.7.0)
143146
rack (>= 1.4)
144147
rest-client (2.1.0)
@@ -150,20 +153,19 @@ GEM
150153
rsolr (2.6.0)
151154
builder (>= 2.1.2)
152155
faraday (>= 0.9, < 3, != 2.0.0)
153-
rubocop (1.68.0)
156+
rubocop (1.69.2)
154157
json (~> 2.3)
155158
language_server-protocol (>= 3.17.0)
156159
parallel (~> 1.10)
157160
parser (>= 3.3.0.2)
158161
rainbow (>= 2.2.2, < 4.0)
159-
regexp_parser (>= 2.4, < 3.0)
160-
rubocop-ast (>= 1.32.2, < 2.0)
162+
regexp_parser (>= 2.9.3, < 3.0)
163+
rubocop-ast (>= 1.36.2, < 2.0)
161164
ruby-progressbar (~> 1.7)
162-
unicode-display_width (>= 2.4.0, < 3.0)
163-
rubocop-ast (1.36.1)
165+
unicode-display_width (>= 2.4.0, < 4.0)
166+
rubocop-ast (1.36.2)
164167
parser (>= 3.3.1.0)
165168
ruby-progressbar (1.13.0)
166-
ruby2_keywords (0.0.5)
167169
rubyzip (1.3.0)
168170
simplecov (0.22.0)
169171
docile (~> 1.1)
@@ -182,7 +184,10 @@ GEM
182184
thread_safe (0.3.6)
183185
timeout (0.4.2)
184186
tzinfo (0.3.62)
185-
unicode-display_width (2.6.0)
187+
unicode-display_width (3.1.2)
188+
unicode-emoji (~> 4.0, >= 4.0.4)
189+
unicode-emoji (4.0.4)
190+
uri (1.0.2)
186191
uuid (2.3.9)
187192
macaddr (~> 1.0)
188193

@@ -222,4 +227,4 @@ DEPENDENCIES
222227
thin
223228

224229
BUNDLED WITH
225-
2.4.22
230+
2.5.11

lib/ontologies_linked_data/services/submission_process/submission_processor.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def process_submission(logger, options = {})
5656
@submission.index_properties(logger, commit: index_commit)
5757
end
5858

59+
@submission.generate_diff(logger) if diff
60+
5961
if run_metrics
6062
unless parsed
6163
raise StandardError, "Metrics cannot be generated on the submission
@@ -64,7 +66,6 @@ def process_submission(logger, options = {})
6466
end
6567
@submission.generate_metrics(logger)
6668
end
67-
@submission.generate_diff(logger) if diff
6869
end
6970

7071
@submission.save

0 commit comments

Comments
 (0)