Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0fb6c55
Update mocha to version 3.1.0
depfu[bot] Mar 21, 2026
7a024ff
Merge pull request #1076 from sanger/depfu/update/mocha-3.1.0
depfu[bot] Mar 21, 2026
25fe955
Update all of rails to version 8.1.2.1
depfu[bot] Mar 23, 2026
47f4324
Merge pull request #1078 from sanger/depfu/update/group/rails-8.1.2.1
depfu[bot] Mar 23, 2026
8632824
Update action_text-trix to version 2.1.18
depfu[bot] Mar 29, 2026
829803d
Merge pull request #1083 from sanger/depfu/update/action_text-trix-2.…
depfu[bot] Mar 29, 2026
711e773
Update rubocop to version 1.86.0
depfu[bot] Mar 30, 2026
742926d
Update all of rails to version 8.1.3
depfu[bot] Mar 31, 2026
18286e0
Merge pull request #1085 from sanger/depfu/update/group/rails-8.1.3
depfu[bot] Mar 31, 2026
e87dfc0
Update rack to version 3.2.6
depfu[bot] Apr 3, 2026
d78641f
Merge pull request #1087 from sanger/depfu/update/rack-3.2.6
depfu[bot] Apr 3, 2026
3ffd6a1
Update addressable to version 2.9.0
depfu[bot] Apr 8, 2026
7114d99
Merge pull request #1089 from sanger/depfu/update/addressable-2.9.0
depfu[bot] Apr 8, 2026
8cd6950
Update rack-session to version 2.1.2
depfu[bot] Apr 8, 2026
943b104
Merge pull request #1090 from sanger/depfu/update/rack-session-2.1.2
depfu[bot] Apr 8, 2026
50d2020
style: fixes Layout/IndentationWidth issues, ignores Style/OneClassPe…
BenTopping Apr 14, 2026
4a416c3
Merge pull request #1084 from sanger/depfu/update/rubocop-1.86.0
depfu[bot] Apr 14, 2026
06cd630
Update selenium-webdriver to version 4.43.0
depfu[bot] Apr 16, 2026
16a921b
Merge pull request #1093 from sanger/depfu/update/selenium-webdriver-…
depfu[bot] Apr 16, 2026
d66f396
Update zlib to version 3.2.3
depfu[bot] Apr 16, 2026
5d9ba3e
Merge pull request #1094 from sanger/depfu/update/zlib-3.2.3
depfu[bot] Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ Lint/AmbiguousBlockAssociation:
Naming/MemoizedInstanceVariableName:
Enabled: false


# There is a lot of existing inconsistent code making it not worth enforcing this cop
Naming/PredicateMethod:
Enabled: false
Expand All @@ -62,6 +61,10 @@ Style/CaseEquality:
Exclude:
- 'config/initializers/02_proc.rb'

Style/OneClassPerFile:
Exclude:
- 'spec/**/*'

# Causes a lot of Rubocop errors
RSpecRails/InferredSpecType:
Enabled: false
140 changes: 70 additions & 70 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,48 +8,48 @@ GIT
GEM
remote: https://rubygems.org/
specs:
action_text-trix (2.1.17)
action_text-trix (2.1.18)
railties
actioncable (8.1.2)
actionpack (= 8.1.2)
activesupport (= 8.1.2)
actioncable (8.1.3)
actionpack (= 8.1.3)
activesupport (= 8.1.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (8.1.2)
actionpack (= 8.1.2)
activejob (= 8.1.2)
activerecord (= 8.1.2)
activestorage (= 8.1.2)
activesupport (= 8.1.2)
actionmailbox (8.1.3)
actionpack (= 8.1.3)
activejob (= 8.1.3)
activerecord (= 8.1.3)
activestorage (= 8.1.3)
activesupport (= 8.1.3)
mail (>= 2.8.0)
actionmailer (8.1.2)
actionpack (= 8.1.2)
actionview (= 8.1.2)
activejob (= 8.1.2)
activesupport (= 8.1.2)
actionmailer (8.1.3)
actionpack (= 8.1.3)
actionview (= 8.1.3)
activejob (= 8.1.3)
activesupport (= 8.1.3)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (8.1.2)
actionview (= 8.1.2)
activesupport (= 8.1.2)
actionpack (8.1.3)
actionview (= 8.1.3)
activesupport (= 8.1.3)
nokogiri (>= 1.8.5)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (8.1.2)
actiontext (8.1.3)
action_text-trix (~> 2.1.15)
actionpack (= 8.1.2)
activerecord (= 8.1.2)
activestorage (= 8.1.2)
activesupport (= 8.1.2)
actionpack (= 8.1.3)
activerecord (= 8.1.3)
activestorage (= 8.1.3)
activesupport (= 8.1.3)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (8.1.2)
activesupport (= 8.1.2)
actionview (8.1.3)
activesupport (= 8.1.3)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
Expand All @@ -59,22 +59,22 @@ GEM
activemodel (>= 4.1)
case_transform (>= 0.2)
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
activejob (8.1.2)
activesupport (= 8.1.2)
activejob (8.1.3)
activesupport (= 8.1.3)
globalid (>= 0.3.6)
activemodel (8.1.2)
activesupport (= 8.1.2)
activerecord (8.1.2)
activemodel (= 8.1.2)
activesupport (= 8.1.2)
activemodel (8.1.3)
activesupport (= 8.1.3)
activerecord (8.1.3)
activemodel (= 8.1.3)
activesupport (= 8.1.3)
timeout (>= 0.4.0)
activestorage (8.1.2)
actionpack (= 8.1.2)
activejob (= 8.1.2)
activerecord (= 8.1.2)
activesupport (= 8.1.2)
activestorage (8.1.3)
actionpack (= 8.1.3)
activejob (= 8.1.3)
activerecord (= 8.1.3)
activesupport (= 8.1.3)
marcel (~> 1.0)
activesupport (8.1.2)
activesupport (8.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
Expand All @@ -87,14 +87,14 @@ GEM
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
addressable (2.9.0)
public_suffix (>= 2.0.2, < 8.0)
amq-protocol (2.3.3)
ancestry (4.3.3)
activerecord (>= 5.2.6)
ast (2.4.3)
base64 (0.3.0)
bigdecimal (4.0.1)
bigdecimal (4.1.0)
bindex (0.8.1)
bootsnap (1.23.0)
msgpack (~> 1.2)
Expand Down Expand Up @@ -183,7 +183,7 @@ GEM
turbolinks
jquery-ui-rails (8.0.0)
railties (>= 3.2.16)
json (2.19.2)
json (2.19.3)
json_api_client (1.23.0)
activemodel (>= 6.0.0)
activesupport (>= 6.0.0)
Expand Down Expand Up @@ -216,14 +216,14 @@ GEM
minitest (6.0.2)
drb (~> 2.0)
prism (~> 1.5)
mocha (3.0.2)
mocha (3.1.0)
ruby2_keywords (>= 0.0.5)
msgpack (1.8.0)
mysql2 (0.5.7)
bigdecimal
net-http (0.9.1)
uri (>= 0.11.1)
net-imap (0.6.2)
net-imap (0.6.3)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -233,12 +233,12 @@ GEM
net-smtp (0.5.1)
net-protocol
nio4r (2.7.5)
nokogiri (1.19.1)
nokogiri (1.19.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
ostruct (0.6.3)
parallel (1.27.0)
parser (3.3.10.1)
parser (3.3.11.1)
ast (~> 2.4.1)
racc
pp (0.6.3)
Expand All @@ -252,35 +252,35 @@ GEM
psych (5.3.1)
date
stringio
public_suffix (6.0.1)
public_suffix (7.0.5)
puma (7.2.0)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.2.5)
rack (3.2.6)
rack-cors (3.0.0)
logger
rack (>= 3.0.14)
rack-session (2.1.1)
rack-session (2.1.2)
base64 (>= 0.1.0)
rack (>= 3.0.0)
rack-test (2.2.0)
rack (>= 1.3)
rackup (2.3.1)
rack (>= 3)
rails (8.1.2)
actioncable (= 8.1.2)
actionmailbox (= 8.1.2)
actionmailer (= 8.1.2)
actionpack (= 8.1.2)
actiontext (= 8.1.2)
actionview (= 8.1.2)
activejob (= 8.1.2)
activemodel (= 8.1.2)
activerecord (= 8.1.2)
activestorage (= 8.1.2)
activesupport (= 8.1.2)
rails (8.1.3)
actioncable (= 8.1.3)
actionmailbox (= 8.1.3)
actionmailer (= 8.1.3)
actionpack (= 8.1.3)
actiontext (= 8.1.3)
actionview (= 8.1.3)
activejob (= 8.1.3)
activemodel (= 8.1.3)
activerecord (= 8.1.3)
activestorage (= 8.1.3)
activesupport (= 8.1.3)
bundler (>= 1.15.0)
railties (= 8.1.2)
railties (= 8.1.3)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
Expand All @@ -297,9 +297,9 @@ GEM
rails-html-sanitizer (1.7.0)
loofah (~> 2.25)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
railties (8.1.2)
actionpack (= 8.1.2)
activesupport (= 8.1.2)
railties (8.1.3)
actionpack (= 8.1.3)
activesupport (= 8.1.3)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -338,7 +338,7 @@ GEM
rspec-mocks (>= 3.13.0, < 5.0.0)
rspec-support (>= 3.13.0, < 5.0.0)
rspec-support (3.13.7)
rubocop (1.84.1)
rubocop (1.86.0)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand All @@ -349,7 +349,7 @@ GEM
rubocop-ast (>= 1.49.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.49.0)
rubocop-ast (1.49.1)
parser (>= 3.3.7.2)
prism (~> 1.7)
rubocop-capybara (2.22.1)
Expand Down Expand Up @@ -394,7 +394,7 @@ GEM
rdoc (>= 5.0)
securerandom (0.4.1)
select2-rails (4.0.13)
selenium-webdriver (4.41.0)
selenium-webdriver (4.43.0)
base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5)
Expand All @@ -421,7 +421,7 @@ GEM
teaspoon (>= 1.0.0)
thor (1.5.0)
tilt (2.5.0)
timeout (0.6.0)
timeout (0.6.1)
tsort (0.2.0)
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
Expand Down Expand Up @@ -449,7 +449,7 @@ GEM
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.7.5)
zlib (3.2.1)
zlib (3.2.3)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion app/forms/move_location_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def child_locations=(child_location_barcodes)
.uniq
.collect(&:strip)
.collect do |barcode|
Location.find_by(barcode: barcode) || barcode
Location.find_by(barcode: barcode) || barcode
end
end

Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/lighthouse_data_fix.rake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace :lighthouse_boxes do
puts "Labwares to remove: #{dodgy_labware_barcodes}"
puts "Number labwares to remove: #{dodgy_labware_barcodes.count}"

barcode_to_destination_location_id = dodgy_labware.each_with_object({}) do |lw, object|
object[lw.barcode] = lw.location_id
barcode_to_destination_location_id = dodgy_labware.to_h do |lw|
[lw.barcode, lw.location_id]
end
puts "Box barcode to desired location: #{barcode_to_destination_location_id}"

Expand Down
Loading