Skip to content

Commit

Permalink
Merge branch 'main' into nimmo-matrix-box-carousels
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Oct 17, 2023
2 parents 931c6b4 + 6b38a87 commit 4f0ac9b
Show file tree
Hide file tree
Showing 45 changed files with 949 additions and 536 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.1.4
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ group :test do
# Use capybara to simulate user-browser interaction
gem("capybara", "~> 3.37", ">= 3.37.1")

# Use selenium to execute javascript in Capybara tests
gem("selenium-webdriver")
# Use cuprite to run the browser in Capybara tests
gem("cuprite")

# Selenium recommends Database Cleaner for cleaning db between tests.
# Maybe needed after JS db transactions, because they run in a separate thread
Expand Down
99 changes: 53 additions & 46 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,35 @@ GEM
remote: https://rubygems.org/
specs:
RedCloth (4.3.2)
actionmailer (6.1.7.4)
actionpack (= 6.1.7.4)
actionview (= 6.1.7.4)
activejob (= 6.1.7.4)
activesupport (= 6.1.7.4)
actionmailer (6.1.7.6)
actionpack (= 6.1.7.6)
actionview (= 6.1.7.6)
activejob (= 6.1.7.6)
activesupport (= 6.1.7.6)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.1.7.4)
actionview (= 6.1.7.4)
activesupport (= 6.1.7.4)
actionpack (6.1.7.6)
actionview (= 6.1.7.6)
activesupport (= 6.1.7.6)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (6.1.7.4)
activesupport (= 6.1.7.4)
actionview (6.1.7.6)
activesupport (= 6.1.7.6)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.7.4)
activesupport (= 6.1.7.4)
activejob (6.1.7.6)
activesupport (= 6.1.7.6)
globalid (>= 0.3.6)
activemodel (6.1.7.4)
activesupport (= 6.1.7.4)
activerecord (6.1.7.4)
activemodel (= 6.1.7.4)
activesupport (= 6.1.7.4)
activesupport (6.1.7.4)
activemodel (6.1.7.6)
activesupport (= 6.1.7.6)
activerecord (6.1.7.6)
activemodel (= 6.1.7.6)
activesupport (= 6.1.7.6)
activesupport (6.1.7.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -51,7 +51,7 @@ GEM
arel_extensions (2.1.7)
activerecord (>= 6.0)
ast (2.4.2)
autoprefixer-rails (10.4.13.0)
autoprefixer-rails (10.4.15.0)
execjs (~> 2)
base64 (0.1.1)
bcrypt (3.1.19)
Expand Down Expand Up @@ -79,6 +79,9 @@ GEM
crack (0.4.5)
rexml
crass (1.0.6)
cuprite (0.14.3)
capybara (~> 3.0)
ferrum (~> 0.13.0)
database_cleaner-active_record (2.1.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
Expand All @@ -89,18 +92,23 @@ GEM
reline (>= 0.3.1)
docile (1.4.0)
erubi (1.12.0)
execjs (2.8.1)
execjs (2.9.1)
fastimage (2.2.7)
ffi (1.15.5)
globalid (1.2.0)
ferrum (0.13)
addressable (~> 2.5)
concurrent-ruby (~> 1.1)
webrick (~> 1.7)
websocket-driver (>= 0.6, < 0.8)
ffi (1.16.2)
globalid (1.2.1)
activesupport (>= 6.1)
hashdiff (1.0.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.8.0)
rdoc (~> 6.5)
reline (>= 0.3.6)
irb (1.8.1)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
Expand Down Expand Up @@ -130,7 +138,7 @@ GEM
mini_mime (1.1.5)
mini_racer (0.8.0)
libv8-node (~> 18.16.0.0)
minitest (5.19.0)
minitest (5.20.0)
minitest-reporters (1.6.1)
ansi
builder
Expand All @@ -146,9 +154,9 @@ GEM
net-protocol
net-protocol (0.2.1)
timeout
net-smtp (0.3.3)
net-smtp (0.4.0)
net-protocol
newrelic_rpm (9.4.2)
newrelic_rpm (9.5.0)
nokogiri (1.15.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-darwin)
Expand Down Expand Up @@ -177,9 +185,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (6.1.7.4)
actionpack (= 6.1.7.4)
activesupport (= 6.1.7.4)
railties (6.1.7.6)
actionpack (= 6.1.7.6)
activesupport (= 6.1.7.6)
method_source
rake (>= 12.2)
thor (~> 1.0)
Expand All @@ -194,7 +202,7 @@ GEM
io-console (~> 0.5)
rexml (3.2.6)
rtf (0.3.3)
rubocop (1.56.2)
rubocop (1.56.4)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
Expand All @@ -208,10 +216,10 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-performance (1.19.0)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.20.2)
rubocop-rails (2.21.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand All @@ -226,10 +234,6 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
selenium-webdriver (4.12.0)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
set (1.0.3)
simplecov (0.22.0)
docile (~> 1.1)
Expand All @@ -241,7 +245,7 @@ GEM
sorted_set (1.0.3)
rbtree
set (~> 1.0)
sprockets (4.2.0)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
Expand All @@ -250,7 +254,7 @@ GEM
sprockets (>= 3.0.0)
stringio (3.0.8)
thor (1.2.2)
tilt (2.2.0)
tilt (2.3.0)
timeout (0.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand All @@ -261,7 +265,7 @@ GEM
kgio (~> 2.6)
raindrops (~> 0.7)
uniform_notifier (1.16.0)
web-console (4.2.0)
web-console (4.2.1)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
Expand All @@ -271,15 +275,18 @@ GEM
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1)
websocket (1.2.9)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xmlrpc (0.3.3)
webrick
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.11)
zeitwerk (2.6.12)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
x86_64-darwin-21
x86_64-linux

Expand All @@ -302,6 +309,7 @@ DEPENDENCIES
bullet
bundler
capybara (~> 3.37, >= 3.37.1)
cuprite
database_cleaner-active_record
date (>= 3.2.1)
debug (>= 1.0.0)
Expand Down Expand Up @@ -333,7 +341,6 @@ DEPENDENCIES
rubocop-rails
rubyzip (~> 2.3.0)
sassc-rails
selenium-webdriver
simplecov
simplecov-lcov
sorted_set
Expand All @@ -345,7 +352,7 @@ DEPENDENCIES
xmlrpc

RUBY VERSION
ruby 3.1.2p20
ruby 3.1.4p223

BUNDLED WITH
2.3.15
2.3.26
8 changes: 4 additions & 4 deletions app/assets/javascripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ const moObserveContent = function () {
// console.log("Adding autocompleter for " + type)
// Only initialize the `year` sub-field in Rails date_selects (1i, 2i, 3i)
if (type != "year" || type == "year" && input_id.indexOf("_1i") > 0) {
new MOAutocompleter({
input_id: input_id,
separator: element.dataset.autocomplete_separator
});
opts = { input_id: input_id }
if ("separator" in element.dataset)
opts.separator = element.dataset.separator
new MOAutocompleter(opts);
}
}
});
Expand Down
Loading

0 comments on commit 4f0ac9b

Please sign in to comment.