diff --git a/Gemfile.lock b/Gemfile.lock index be59a78..babdfa4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,8 +13,9 @@ PATH remote: . specs: supplejack_common (3.0.0) - actionpack (~> 7.1.4) - activesupport (~> 7.1.4) + actionpack (~> 7.2.2.2) + activemodel (~> 7.2.2.2) + activesupport (~> 7.2.2.2) aws-sdk-s3 chronic (<= 0.10.2) dimensions @@ -28,6 +29,7 @@ PATH mongoid nokogiri oai + observer redis rest-client retriable @@ -37,37 +39,37 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.1.5.1) - actionview (= 7.1.5.1) - activesupport (= 7.1.5.1) + actionpack (7.2.2.2) + actionview (= 7.2.2.2) + activesupport (= 7.2.2.2) nokogiri (>= 1.8.5) racc - rack (>= 2.2.4) + rack (>= 2.2.4, < 3.2) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actionview (7.1.5.1) - activesupport (= 7.1.5.1) + useragent (~> 0.16) + actionview (7.2.2.2) + activesupport (= 7.2.2.2) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activemodel (7.1.5.1) - activesupport (= 7.1.5.1) - activesupport (7.1.5.1) + activemodel (7.2.2.2) + activesupport (= 7.2.2.2) + activesupport (7.2.2.2) base64 benchmark (>= 0.3) bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) logger (>= 1.4.2) minitest (>= 5.1) - mutex_m securerandom (>= 0.3) - tzinfo (~> 2.0) + tzinfo (~> 2.0, >= 2.0.5) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.2) @@ -106,6 +108,7 @@ GEM dimensions (1.3.0) domain_name (0.6.20240107) drb (2.2.3) + durran-validatable (2.0.1) erubi (1.13.1) faraday (2.10.0) faraday-net_http (>= 2.0, < 3.2) @@ -128,6 +131,7 @@ GEM jsonpath (1.1.5) multi_json language_server-protocol (3.17.0.3) + leshill-will_paginate (2.3.11) logger (1.6.0) loofah (2.24.1) crass (~> 1.0.2) @@ -144,26 +148,27 @@ GEM mock_redis (0.44.0) mongo (2.20.1) bson (>= 4.14.1, < 6.0.0) - mongoid (9.0.6) - activemodel (>= 5.1, < 8.1, != 7.0.0) - concurrent-ruby (>= 1.0.5, < 2.0) - mongo (>= 2.18.0, < 3.0.0) + mongoid (1.0.6) + activesupport (>= 2.2.2) + durran-validatable (>= 2.0.1) + leshill-will_paginate (>= 2.3.11) + mongo (>= 0.18.2) multi_json (1.15.0) - mutex_m (0.3.0) net-http (0.4.1) uri netrc (0.11.0) - nokogiri (1.18.8) + nokogiri (1.18.10) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.8-arm64-darwin) + nokogiri (1.18.10-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.8-x86_64-linux-gnu) + nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) oai (1.2.1) builder (>= 3.1.0) faraday (< 3) faraday-follow_redirects (>= 0.3.0, < 2) + observer (0.1.2) optparse (0.5.0) parallel (1.25.1) parser (3.3.4.0) @@ -177,7 +182,7 @@ GEM pry (>= 0.13, < 0.15) public_suffix (6.0.0) racc (1.8.1) - rack (3.1.16) + rack (3.1.17) rack-session (2.1.1) base64 (>= 0.1.0) rack (>= 3.0.0) @@ -203,7 +208,7 @@ GEM mime-types (>= 1.16, < 4.0) netrc (~> 0.8) retriable (3.1.2) - rexml (3.4.1) + rexml (3.4.4) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -242,7 +247,8 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) - uri (1.0.3) + uri (1.0.4) + useragent (0.16.11) webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5c65969..bebab83 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -4,6 +4,7 @@ require 'supplejack_common' require 'webmock/rspec' require 'loofah' +require 'mongoid' RSpec.configure do |config| config.raise_errors_for_deprecations! @@ -11,7 +12,3 @@ config.run_all_when_everything_filtered = true config.example_status_persistence_file_path = 'spec/examples.txt' end - -Mongoid.configure do |config| - config.load!('spec/support/mongoid.yml', 'test') -end diff --git a/supplejack_common.gemspec b/supplejack_common.gemspec index 7c8b0f1..b58229a 100644 --- a/supplejack_common.gemspec +++ b/supplejack_common.gemspec @@ -18,8 +18,9 @@ Gem::Specification.new do |gem| gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } gem.require_paths = ['lib'] - gem.add_dependency 'actionpack', '~> 7.1.4' - gem.add_dependency 'activesupport', '~> 7.1.4' + gem.add_dependency 'actionpack', '~> 7.2.2.2' + gem.add_dependency 'activemodel', '~> 7.2.2.2' + gem.add_dependency 'activesupport', '~> 7.2.2.2' gem.add_dependency 'aws-sdk-s3' gem.add_dependency 'chronic', '<= 0.10.2' gem.add_dependency 'dimensions' @@ -33,6 +34,7 @@ Gem::Specification.new do |gem| gem.add_dependency 'mongoid' gem.add_dependency 'nokogiri' gem.add_dependency 'oai' + gem.add_dependency 'observer' gem.add_dependency 'redis' gem.add_dependency 'rest-client' gem.add_dependency 'retriable'