Skip to content

Commit 976fc56

Browse files
authored
Merge pull request #723 from MITLibraries/update-docs
Update docs
2 parents 9087591 + 1070a02 commit 976fc56

File tree

9 files changed

+183
-117
lines changed

9 files changed

+183
-117
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
8+
jobs:
9+
shared:
10+
uses: mitlibraries/.github/.github/workflows/ruby-shared-ci.yml@main

Gemfile.lock

Lines changed: 81 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -10,72 +10,72 @@ GIT
1010
GEM
1111
remote: https://rubygems.org/
1212
specs:
13-
actioncable (7.0.5.1)
14-
actionpack (= 7.0.5.1)
15-
activesupport (= 7.0.5.1)
13+
actioncable (7.0.7)
14+
actionpack (= 7.0.7)
15+
activesupport (= 7.0.7)
1616
nio4r (~> 2.0)
1717
websocket-driver (>= 0.6.1)
18-
actionmailbox (7.0.5.1)
19-
actionpack (= 7.0.5.1)
20-
activejob (= 7.0.5.1)
21-
activerecord (= 7.0.5.1)
22-
activestorage (= 7.0.5.1)
23-
activesupport (= 7.0.5.1)
18+
actionmailbox (7.0.7)
19+
actionpack (= 7.0.7)
20+
activejob (= 7.0.7)
21+
activerecord (= 7.0.7)
22+
activestorage (= 7.0.7)
23+
activesupport (= 7.0.7)
2424
mail (>= 2.7.1)
2525
net-imap
2626
net-pop
2727
net-smtp
28-
actionmailer (7.0.5.1)
29-
actionpack (= 7.0.5.1)
30-
actionview (= 7.0.5.1)
31-
activejob (= 7.0.5.1)
32-
activesupport (= 7.0.5.1)
28+
actionmailer (7.0.7)
29+
actionpack (= 7.0.7)
30+
actionview (= 7.0.7)
31+
activejob (= 7.0.7)
32+
activesupport (= 7.0.7)
3333
mail (~> 2.5, >= 2.5.4)
3434
net-imap
3535
net-pop
3636
net-smtp
3737
rails-dom-testing (~> 2.0)
38-
actionpack (7.0.5.1)
39-
actionview (= 7.0.5.1)
40-
activesupport (= 7.0.5.1)
38+
actionpack (7.0.7)
39+
actionview (= 7.0.7)
40+
activesupport (= 7.0.7)
4141
rack (~> 2.0, >= 2.2.4)
4242
rack-test (>= 0.6.3)
4343
rails-dom-testing (~> 2.0)
4444
rails-html-sanitizer (~> 1.0, >= 1.2.0)
45-
actiontext (7.0.5.1)
46-
actionpack (= 7.0.5.1)
47-
activerecord (= 7.0.5.1)
48-
activestorage (= 7.0.5.1)
49-
activesupport (= 7.0.5.1)
45+
actiontext (7.0.7)
46+
actionpack (= 7.0.7)
47+
activerecord (= 7.0.7)
48+
activestorage (= 7.0.7)
49+
activesupport (= 7.0.7)
5050
globalid (>= 0.6.0)
5151
nokogiri (>= 1.8.5)
52-
actionview (7.0.5.1)
53-
activesupport (= 7.0.5.1)
52+
actionview (7.0.7)
53+
activesupport (= 7.0.7)
5454
builder (~> 3.1)
5555
erubi (~> 1.4)
5656
rails-dom-testing (~> 2.0)
5757
rails-html-sanitizer (~> 1.1, >= 1.2.0)
58-
activejob (7.0.5.1)
59-
activesupport (= 7.0.5.1)
58+
activejob (7.0.7)
59+
activesupport (= 7.0.7)
6060
globalid (>= 0.3.6)
61-
activemodel (7.0.5.1)
62-
activesupport (= 7.0.5.1)
63-
activerecord (7.0.5.1)
64-
activemodel (= 7.0.5.1)
65-
activesupport (= 7.0.5.1)
66-
activestorage (7.0.5.1)
67-
actionpack (= 7.0.5.1)
68-
activejob (= 7.0.5.1)
69-
activerecord (= 7.0.5.1)
70-
activesupport (= 7.0.5.1)
61+
activemodel (7.0.7)
62+
activesupport (= 7.0.7)
63+
activerecord (7.0.7)
64+
activemodel (= 7.0.7)
65+
activesupport (= 7.0.7)
66+
activestorage (7.0.7)
67+
actionpack (= 7.0.7)
68+
activejob (= 7.0.7)
69+
activerecord (= 7.0.7)
70+
activesupport (= 7.0.7)
7171
marcel (~> 1.0)
7272
mini_mime (>= 1.1.0)
73-
activesupport (7.0.5.1)
73+
activesupport (7.0.7)
7474
concurrent-ruby (~> 1.0, >= 1.0.2)
7575
i18n (>= 1.6, < 2)
7676
minitest (>= 5.1)
7777
tzinfo (~> 2.0)
78-
addressable (2.8.4)
78+
addressable (2.8.5)
7979
public_suffix (>= 2.0.2, < 6.0)
8080
annotate (3.2.0)
8181
activerecord (>= 3.2, < 8.0)
@@ -84,6 +84,7 @@ GEM
8484
aws-eventstream (1.2.0)
8585
aws-sigv4 (1.5.2)
8686
aws-eventstream (~> 1, >= 1.0.2)
87+
base64 (0.1.1)
8788
bcrypt (3.1.19)
8889
bindex (0.8.1)
8990
bootsnap (1.16.0)
@@ -139,7 +140,7 @@ GEM
139140
globalid (1.1.0)
140141
activesupport (>= 5.0)
141142
google-protobuf (3.23.3)
142-
graphql (2.0.24)
143+
graphql (2.0.26)
143144
hashdiff (1.0.1)
144145
http_parser.rb (0.8.0)
145146
i18n (1.14.1)
@@ -182,7 +183,7 @@ GEM
182183
listen (3.8.0)
183184
rb-fsevent (~> 0.10, >= 0.10.3)
184185
rb-inotify (~> 0.9, >= 0.9.10)
185-
lograge (0.12.0)
186+
lograge (0.13.0)
186187
actionpack (>= 4)
187188
activesupport (>= 4)
188189
railties (>= 4)
@@ -199,12 +200,12 @@ GEM
199200
matrix (0.4.2)
200201
mercenary (0.4.0)
201202
method_source (1.0.0)
202-
mini_mime (1.1.2)
203-
mini_portile2 (2.8.2)
204-
minitest (5.18.1)
203+
mini_mime (1.1.5)
204+
mini_portile2 (2.8.4)
205+
minitest (5.19.0)
205206
msgpack (1.7.1)
206207
multi_json (1.15.0)
207-
net-imap (0.3.6)
208+
net-imap (0.3.7)
208209
date
209210
net-protocol
210211
net-pop (0.1.2)
@@ -214,7 +215,7 @@ GEM
214215
net-smtp (0.3.3)
215216
net-protocol
216217
nio4r (2.5.9)
217-
nokogiri (1.15.2)
218+
nokogiri (1.15.4)
218219
mini_portile2 (~> 2.8.2)
219220
racc (~> 1.4)
220221
opensearch-api (2.2.0)
@@ -233,40 +234,41 @@ GEM
233234
pathutil (0.16.2)
234235
forwardable-extended (~> 2.6)
235236
pg (1.5.3)
236-
public_suffix (5.0.1)
237-
puma (6.3.0)
237+
public_suffix (5.0.3)
238+
puma (6.3.1)
238239
nio4r (~> 2.0)
239240
racc (1.7.1)
240-
rack (2.2.7)
241-
rack-attack (6.6.1)
242-
rack (>= 1.0, < 3)
241+
rack (2.2.8)
242+
rack-attack (6.7.0)
243+
rack (>= 1.0, < 4)
243244
rack-cors (2.0.1)
244245
rack (>= 2.0.0)
245246
rack-test (2.1.0)
246247
rack (>= 1.3)
247-
rails (7.0.5.1)
248-
actioncable (= 7.0.5.1)
249-
actionmailbox (= 7.0.5.1)
250-
actionmailer (= 7.0.5.1)
251-
actionpack (= 7.0.5.1)
252-
actiontext (= 7.0.5.1)
253-
actionview (= 7.0.5.1)
254-
activejob (= 7.0.5.1)
255-
activemodel (= 7.0.5.1)
256-
activerecord (= 7.0.5.1)
257-
activestorage (= 7.0.5.1)
258-
activesupport (= 7.0.5.1)
248+
rails (7.0.7)
249+
actioncable (= 7.0.7)
250+
actionmailbox (= 7.0.7)
251+
actionmailer (= 7.0.7)
252+
actionpack (= 7.0.7)
253+
actiontext (= 7.0.7)
254+
actionview (= 7.0.7)
255+
activejob (= 7.0.7)
256+
activemodel (= 7.0.7)
257+
activerecord (= 7.0.7)
258+
activestorage (= 7.0.7)
259+
activesupport (= 7.0.7)
259260
bundler (>= 1.15.0)
260-
railties (= 7.0.5.1)
261-
rails-dom-testing (2.0.3)
262-
activesupport (>= 4.2.0)
261+
railties (= 7.0.7)
262+
rails-dom-testing (2.2.0)
263+
activesupport (>= 5.0.0)
264+
minitest
263265
nokogiri (>= 1.6)
264266
rails-html-sanitizer (1.6.0)
265267
loofah (~> 2.21)
266268
nokogiri (~> 1.14)
267-
railties (7.0.5.1)
268-
actionpack (= 7.0.5.1)
269-
activesupport (= 7.0.5.1)
269+
railties (7.0.7)
270+
actionpack (= 7.0.7)
271+
activesupport (= 7.0.7)
270272
method_source
271273
rake (>= 12.2)
272274
thor (~> 1.0)
@@ -286,17 +288,18 @@ GEM
286288
responders (3.1.0)
287289
actionpack (>= 5.2)
288290
railties (>= 5.2)
289-
rexml (3.2.5)
291+
rexml (3.2.6)
290292
rouge (4.1.2)
291-
rubocop (1.53.1)
293+
rubocop (1.56.0)
294+
base64 (~> 0.1.1)
292295
json (~> 2.3)
293296
language_server-protocol (>= 3.17.0)
294297
parallel (~> 1.10)
295298
parser (>= 3.2.2.3)
296299
rainbow (>= 2.2.2, < 4.0)
297300
regexp_parser (>= 1.8, < 3.0)
298301
rexml (>= 3.2.5, < 4.0)
299-
rubocop-ast (>= 1.28.0, < 2.0)
302+
rubocop-ast (>= 1.28.1, < 2.0)
300303
ruby-progressbar (~> 1.7)
301304
unicode-display_width (>= 2.4.0, < 3.0)
302305
rubocop-ast (1.29.0)
@@ -322,14 +325,14 @@ GEM
322325
sprockets (> 3.0)
323326
sprockets-rails
324327
tilt
325-
selenium-webdriver (4.10.0)
328+
selenium-webdriver (4.11.0)
326329
rexml (~> 3.2, >= 3.2.5)
327330
rubyzip (>= 1.2.2, < 3.0)
328331
websocket (~> 1.0)
329-
sentry-rails (5.9.0)
332+
sentry-rails (5.10.0)
330333
railties (>= 5.0)
331-
sentry-ruby (~> 5.9.0)
332-
sentry-ruby (5.9.0)
334+
sentry-ruby (~> 5.10.0)
335+
sentry-ruby (5.10.0)
333336
concurrent-ruby (~> 1.0, >= 1.0.2)
334337
simplecov (0.22.0)
335338
docile (~> 1.1)
@@ -351,7 +354,7 @@ GEM
351354
unicode-display_width (>= 1.1.1, < 3)
352355
thor (1.2.2)
353356
tilt (2.2.0)
354-
timecop (0.9.6)
357+
timecop (0.9.8)
355358
timeout (0.4.0)
356359
tzinfo (2.0.6)
357360
concurrent-ruby (~> 1.0)
@@ -372,12 +375,12 @@ GEM
372375
hashdiff (>= 0.4.0, < 2.0.0)
373376
webrick (1.8.1)
374377
websocket (1.2.9)
375-
websocket-driver (0.7.5)
378+
websocket-driver (0.7.6)
376379
websocket-extensions (>= 0.1.0)
377380
websocket-extensions (0.1.5)
378381
xpath (3.2.0)
379382
nokogiri (~> 1.8)
380-
zeitwerk (2.6.8)
383+
zeitwerk (2.6.11)
381384

382385
PLATFORMS
383386
ruby

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,52 @@ additional records with a standardized template.
1919
- don't commit your .env or .env.development, but do commit .env.test after
2020
confirming your test values are not actual secrets that need protecting
2121

22+
## Confirming functionality after updating dependencies
23+
24+
This application has good code coverage, so most issues are detected by just running tests normally:
25+
26+
```shell
27+
bin/rails test
28+
```
29+
30+
The following additional manual testing should be performed in the PR build on Heroku.
31+
32+
- Use the PR builds GraphiQL playground to run a keyword search such as:
33+
34+
```graphql
35+
{
36+
search(searchterm: "thesis") {
37+
hits
38+
records {
39+
title
40+
source
41+
summary
42+
identifiers {
43+
kind
44+
value
45+
}
46+
}
47+
}
48+
}
49+
```
50+
51+
- Use the PR builds GraphiQL playground to retrieve a single record
52+
53+
```graphql
54+
{
55+
recordId(id: "alma:990000959610106761") {
56+
title
57+
timdexRecordId
58+
source
59+
}
60+
}
61+
```
62+
63+
The following additional manual check should be performed after the application is deployed to production.
64+
65+
- confirm the [main documentation site](https://mitlibraries.github.io/timdex/) is working by loading one or two pages
66+
- confirm the [technical documentation site](https://mitlibraries.github.io/timdex/reference/) is working by loading it
67+
2268
## Publishing User Facing Documentation
2369

2470
### Running jekyll documentation locally

0 commit comments

Comments
 (0)