diff --git a/Appraisals b/Appraisals index 7dfbc118..73a00fa1 100644 --- a/Appraisals +++ b/Appraisals @@ -1,12 +1,20 @@ appraise "rails-6" do + gem "rspec-rails", "5.1.2" gem "rails", "6.0.6" gem 'psych', '< 4' end appraise "rails-6.1" do + gem "rspec-rails", "6.1.3" gem "rails", "6.1.7" end appraise "rails-7" do + gem "rspec-rails", "6.1.3" gem "rails", "7.0.4" end + +appraise "rails-7.2" do + gem "rspec-rails", "6.1.3" + gem "rails", "7.2" +end diff --git a/Gemfile.lock b/Gemfile.lock index d1c7ac9a..cd6086b5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,128 +10,138 @@ PATH GEM remote: https://rubygems.org/ specs: - actioncable (7.0.6) - actionpack (= 7.0.6) - activesupport (= 7.0.6) + actioncable (7.2.0) + actionpack (= 7.2.0) + activesupport (= 7.2.0) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.6) - actionpack (= 7.0.6) - activejob (= 7.0.6) - activerecord (= 7.0.6) - activestorage (= 7.0.6) - activesupport (= 7.0.6) - mail (>= 2.7.1) - net-imap - net-pop - net-smtp - actionmailer (7.0.6) - actionpack (= 7.0.6) - actionview (= 7.0.6) - activejob (= 7.0.6) - activesupport (= 7.0.6) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp - rails-dom-testing (~> 2.0) - actionpack (7.0.6) - actionview (= 7.0.6) - activesupport (= 7.0.6) - rack (~> 2.0, >= 2.2.4) + zeitwerk (~> 2.6) + actionmailbox (7.2.0) + actionpack (= 7.2.0) + activejob (= 7.2.0) + activerecord (= 7.2.0) + activestorage (= 7.2.0) + activesupport (= 7.2.0) + mail (>= 2.8.0) + actionmailer (7.2.0) + actionpack (= 7.2.0) + actionview (= 7.2.0) + activejob (= 7.2.0) + activesupport (= 7.2.0) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (7.2.0) + actionview (= 7.2.0) + activesupport (= 7.2.0) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4, < 3.2) + rack-session (>= 1.0.1) rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.6) - actionpack (= 7.0.6) - activerecord (= 7.0.6) - activestorage (= 7.0.6) - activesupport (= 7.0.6) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + useragent (~> 0.16) + actiontext (7.2.0) + actionpack (= 7.2.0) + activerecord (= 7.2.0) + activestorage (= 7.2.0) + activesupport (= 7.2.0) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.6) - activesupport (= 7.0.6) + actionview (7.2.0) + activesupport (= 7.2.0) builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.6) - activesupport (= 7.0.6) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (7.2.0) + activesupport (= 7.2.0) globalid (>= 0.3.6) - activemodel (7.0.6) - activesupport (= 7.0.6) - activerecord (7.0.6) - activemodel (= 7.0.6) - activesupport (= 7.0.6) - activestorage (7.0.6) - actionpack (= 7.0.6) - activejob (= 7.0.6) - activerecord (= 7.0.6) - activesupport (= 7.0.6) + activemodel (7.2.0) + activesupport (= 7.2.0) + activerecord (7.2.0) + activemodel (= 7.2.0) + activesupport (= 7.2.0) + timeout (>= 0.4.0) + activestorage (7.2.0) + actionpack (= 7.2.0) + activejob (= 7.2.0) + activerecord (= 7.2.0) + activesupport (= 7.2.0) marcel (~> 1.0) - mini_mime (>= 1.1.0) - activesupport (7.0.6) - concurrent-ruby (~> 1.0, >= 1.0.2) + activesupport (7.2.0) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) + logger (>= 1.4.2) minitest (>= 5.1) - tzinfo (~> 2.0) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - appraisal (2.4.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) bundler rake thor (>= 0.14.0) ast (2.4.2) - async (2.6.2) - console (~> 1.10) + async (2.15.3) + console (~> 1.26) fiber-annotation - io-event (~> 1.1) - timers (~> 4.1) - async-http (0.60.2) - async (>= 1.25) - async-io (>= 1.28) - async-pool (>= 0.2) - protocol-http (~> 0.24.0) - protocol-http1 (~> 0.15.0) - protocol-http2 (~> 0.15.0) - traces (>= 0.10.0) - async-http-faraday (0.12.0) + io-event (~> 1.6, >= 1.6.5) + async-http (0.70.0) + async (>= 2.10.2) + async-pool (~> 0.7) + io-endpoint (~> 0.11) + io-stream (~> 0.4) + protocol-http (~> 0.28) + protocol-http1 (~> 0.19) + protocol-http2 (~> 0.18) + traces (>= 0.10) + async-http-faraday (0.17.0) async-http (~> 0.42) faraday - async-io (1.35.0) - async - async-pool (0.4.0) + async-pool (0.8.0) async (>= 1.25) backport (1.2.0) base64 (0.2.0) - benchmark (0.2.1) + benchmark (0.3.0) bigdecimal (3.1.8) - builder (3.2.4) + builder (3.3.0) coderay (1.1.3) - concurrent-ruby (1.2.2) - console (1.17.2) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + console (1.27.0) fiber-annotation - fiber-local - crack (0.4.5) + fiber-local (~> 1.1) + json + crack (1.0.0) + bigdecimal rexml crass (1.0.6) csv (3.3.0) - date (3.3.3) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) declarative (0.0.20) - diff-lcs (1.5.0) + diff-lcs (1.5.1) + drb (2.2.1) e2mmap (0.1.0) - erubi (1.12.0) - faraday (2.7.10) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-http-cache (2.5.0) + erubi (1.13.0) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-http-cache (2.5.1) faraday (>= 0.8) - faraday-net_http (3.0.2) + faraday-net_http (3.1.1) + net-http fiber-annotation (0.2.0) - fiber-local (1.0.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) gem-release (2.2.2) github_changelog_generator (1.16.4) activesupport @@ -142,27 +152,27 @@ GEM octokit (~> 4.6) rainbow (>= 2.2.1) rake (>= 10.0) - globalid (1.1.0) - activesupport (>= 5.0) - google-apis-bigquery_v2 (0.71.0) + globalid (1.2.1) + activesupport (>= 6.1) + google-apis-bigquery_v2 (0.75.0) google-apis-core (>= 0.15.0, < 2.a) - google-apis-core (0.15.0) + google-apis-core (0.15.1) addressable (~> 2.5, >= 2.5.1) googleauth (~> 1.9) - httpclient (>= 2.8.1, < 3.a) + httpclient (>= 2.8.3, < 3.a) mini_mime (~> 1.0) + mutex_m representable (~> 3.0) retriable (>= 2.0, < 4.a) - rexml - google-cloud-bigquery (1.49.1) + google-cloud-bigquery (1.50.0) bigdecimal (~> 3.0) concurrent-ruby (~> 1.0) - google-apis-bigquery_v2 (~> 0.62) + google-apis-bigquery_v2 (~> 0.71) google-apis-core (~> 0.13) google-cloud-core (~> 1.6) googleauth (~> 1.9) mini_mime (~> 1.0) - google-cloud-core (1.7.0) + google-cloud-core (1.7.1) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) google-cloud-env (2.1.1) @@ -175,20 +185,23 @@ GEM multi_json (~> 1.11) os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) - hashdiff (1.0.1) + hashdiff (1.1.1) httparty (0.22.0) csv mini_mime (>= 1.0.0) multi_xml (>= 0.5.2) httpclient (2.8.3) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) - io-console (0.6.0) - io-event (1.2.2) - irb (1.7.2) - reline (>= 0.3.6) - jaro_winkler (1.5.6) - json (2.6.3) + io-console (0.7.2) + io-endpoint (0.13.0) + io-event (1.6.5) + io-stream (0.4.0) + irb (1.14.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jaro_winkler (1.6.0) + json (2.7.2) json-schema (2.8.1) addressable (>= 2.4) jwt (2.8.2) @@ -198,7 +211,8 @@ GEM kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) language_server-protocol (3.17.0.3) - loofah (2.21.3) + logger (1.6.0) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -206,86 +220,99 @@ GEM net-imap net-pop net-smtp - marcel (1.0.2) - method_source (1.0.0) - mini_mime (1.1.2) - mini_portile2 (2.8.2) - minitest (5.18.1) + marcel (1.0.4) + method_source (1.1.0) + mini_mime (1.1.5) + mini_portile2 (2.8.7) + minitest (5.25.0) multi_json (1.15.0) multi_xml (0.6.0) - net-imap (0.3.6) + mutex_m (0.2.0) + net-http (0.4.1) + uri + net-imap (0.4.14) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.5.0) net-protocol - nio4r (2.5.9) - nokogiri (1.15.3) + nio4r (2.7.3) + nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.15.3-arm64-darwin) + nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.3-x86_64-linux) + nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) os (1.1.4) - parallel (1.23.0) - parser (3.2.2.3) + parallel (1.26.2) + parser (3.3.4.2) ast (~> 2.4.1) racc - protocol-hpack (1.4.2) - protocol-http (0.24.4) - protocol-http1 (0.15.0) + protocol-hpack (1.5.0) + protocol-http (0.28.1) + protocol-http1 (0.19.1) protocol-http (~> 0.22) - protocol-http2 (0.15.1) + protocol-http2 (0.18.0) protocol-hpack (~> 1.4) protocol-http (~> 0.18) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - public_suffix (5.0.3) - racc (1.7.1) - rack (2.2.7) + psych (5.1.2) + stringio + public_suffix (6.0.1) + racc (1.8.1) + rack (3.1.7) + rack-session (2.0.0) + rack (>= 3.0.0) rack-test (2.1.0) rack (>= 1.3) - rails (7.0.6) - actioncable (= 7.0.6) - actionmailbox (= 7.0.6) - actionmailer (= 7.0.6) - actionpack (= 7.0.6) - actiontext (= 7.0.6) - actionview (= 7.0.6) - activejob (= 7.0.6) - activemodel (= 7.0.6) - activerecord (= 7.0.6) - activestorage (= 7.0.6) - activesupport (= 7.0.6) + rackup (2.1.0) + rack (>= 3) + webrick (~> 1.8) + rails (7.2.0) + actioncable (= 7.2.0) + actionmailbox (= 7.2.0) + actionmailer (= 7.2.0) + actionpack (= 7.2.0) + actiontext (= 7.2.0) + actionview (= 7.2.0) + activejob (= 7.2.0) + activemodel (= 7.2.0) + activerecord (= 7.2.0) + activestorage (= 7.2.0) + activesupport (= 7.2.0) bundler (>= 1.15.0) - railties (= 7.0.6) - rails-dom-testing (2.1.1) + railties (= 7.2.0) + rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - railties (7.0.6) - actionpack (= 7.0.6) - activesupport (= 7.0.6) - method_source + railties (7.2.0) + actionpack (= 7.2.0) + activesupport (= 7.2.0) + irb (~> 1.13) + rackup (>= 1.0.0) rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) rbs (2.8.4) - regexp_parser (2.8.1) - reline (0.3.6) + rdoc (6.7.0) + psych (>= 4.0.0) + regexp_parser (2.9.2) + reline (0.5.9) io-console (~> 0.5) representable (3.2.0) declarative (< 0.1.0) @@ -296,56 +323,60 @@ GEM retriable (3.1.2) reverse_markdown (2.1.1) nokogiri - rexml (3.2.5) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rexml (3.3.5) + strscan + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (5.1.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - railties (>= 5.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) - rspec-support (3.12.1) - rubocop (1.54.1) + rspec-support (~> 3.13.0) + rspec-rails (6.1.3) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) + rubocop (1.65.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-ast (1.32.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.23.1) - rubocop (~> 1.33) - rubocop-rspec (2.22.0) - rubocop (~> 1.33) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) + rubocop-rspec (2.31.0) + rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.29.1) + rubocop (~> 1.61) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) sawyer (0.9.2) addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) + securerandom (0.3.1) signet (0.19.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) - solargraph (0.49.0) + solargraph (0.50.0) backport (~> 1.2) benchmark bundler (~> 2.0) @@ -361,32 +392,34 @@ GEM thor (~> 1.0) tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) - sqlite3 (1.6.3) + sqlite3 (2.0.4) mini_portile2 (~> 2.8.0) - sqlite3 (1.6.3-arm64-darwin) - sqlite3 (1.6.3-x86_64-linux) - thor (1.2.2) - tilt (2.2.0) - timecop (0.9.8) - timeout (0.4.0) - timers (4.3.5) + stringio (3.1.1) + strscan (3.1.0) + thor (1.3.1) + tilt (2.4.0) + timecop (0.9.10) + timeout (0.4.1) traces (0.11.1) trailblazer-option (0.1.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unicode-display_width (2.4.2) - webmock (3.18.1) + unicode-display_width (2.5.0) + uri (0.13.0) + useragent (0.16.10) + webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - websocket-driver (0.7.5) + webrick (1.8.1) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - with_model (2.1.6) - activerecord (>= 5.2) - yard (0.9.34) - zeitwerk (2.6.8) + with_model (2.1.7) + activerecord (>= 6.0) + yard (0.9.36) + zeitwerk (2.6.17) PLATFORMS arm64-darwin-21 @@ -402,7 +435,7 @@ DEPENDENCIES json-schema (~> 2.8) pry (~> 0) rails (>= 6) - rspec-rails (~> 5.0) + rspec-rails rubocop (~> 1.54) rubocop-rspec (~> 2.22) solargraph diff --git a/dfe-analytics.gemspec b/dfe-analytics.gemspec index 413e4b02..6b82a339 100644 --- a/dfe-analytics.gemspec +++ b/dfe-analytics.gemspec @@ -35,7 +35,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'json-schema', '~> 2.8' spec.add_development_dependency 'pry', '~> 0' spec.add_development_dependency 'rails', '>= 6' - spec.add_development_dependency 'rspec-rails', '~> 5.0' + spec.add_development_dependency 'rspec-rails' spec.add_development_dependency 'rubocop', '~> 1.54' spec.add_development_dependency 'rubocop-rspec', '~> 2.22' spec.add_development_dependency 'solargraph' diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile index da718aa7..ef068c6c 100644 --- a/gemfiles/rails_6.1.gemfile +++ b/gemfiles/rails_6.1.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "rspec-rails", "6.1.3" gem "rails", "6.1.7" group :release do diff --git a/gemfiles/rails_6.1.gemfile.lock b/gemfiles/rails_6.1.gemfile.lock index 4f82b609..58cf5e53 100644 --- a/gemfiles/rails_6.1.gemfile.lock +++ b/gemfiles/rails_6.1.gemfile.lock @@ -1,8 +1,10 @@ PATH remote: .. specs: - dfe-analytics (1.10.0) + dfe-analytics (1.14.0) google-cloud-bigquery (~> 1.38) + httparty (~> 0.21) + multi_xml (~> 0.6.0) request_store_rails (~> 2) GEM @@ -67,60 +69,66 @@ GEM minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - appraisal (2.4.1) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) bundler rake thor (>= 0.14.0) ast (2.4.2) - async (2.6.2) - console (~> 1.10) + async (2.15.3) + console (~> 1.26) fiber-annotation - io-event (~> 1.1) - timers (~> 4.1) - async-http (0.60.2) - async (>= 1.25) - async-io (>= 1.28) - async-pool (>= 0.2) - protocol-http (~> 0.24.0) - protocol-http1 (~> 0.15.0) - protocol-http2 (~> 0.15.0) - traces (>= 0.10.0) - async-http-faraday (0.12.0) + io-event (~> 1.6, >= 1.6.5) + async-http (0.70.0) + async (>= 2.10.2) + async-pool (~> 0.7) + io-endpoint (~> 0.11) + io-stream (~> 0.4) + protocol-http (~> 0.28) + protocol-http1 (~> 0.19) + protocol-http2 (~> 0.18) + traces (>= 0.10) + async-http-faraday (0.17.0) async-http (~> 0.42) faraday - async-io (1.35.0) - async - async-pool (0.4.0) + async-pool (0.8.0) async (>= 1.25) backport (1.2.0) - benchmark (0.2.1) - builder (3.2.4) + base64 (0.2.0) + benchmark (0.3.0) + bigdecimal (3.1.8) + builder (3.3.0) coderay (1.1.3) - concurrent-ruby (1.2.2) - console (1.17.2) + concurrent-ruby (1.3.4) + console (1.27.0) fiber-annotation - fiber-local - crack (0.4.5) + fiber-local (~> 1.1) + json + crack (1.0.0) + bigdecimal rexml crass (1.0.6) - date (3.3.3) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + csv (3.3.0) + date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) declarative (0.0.20) - diff-lcs (1.5.0) + diff-lcs (1.5.1) e2mmap (0.1.0) - erubi (1.12.0) - faraday (2.7.10) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-http-cache (2.5.0) + erubi (1.13.0) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-http-cache (2.5.1) faraday (>= 0.8) - faraday-net_http (3.0.2) + faraday-net_http (3.1.1) + net-http fiber-annotation (0.2.0) - fiber-local (1.0.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) gem-release (2.2.2) github_changelog_generator (1.16.4) activesupport @@ -131,57 +139,67 @@ GEM octokit (~> 4.6) rainbow (>= 2.2.1) rake (>= 10.0) - globalid (1.1.0) - activesupport (>= 5.0) - google-apis-bigquery_v2 (0.55.0) - google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.0) + globalid (1.2.1) + activesupport (>= 6.1) + google-apis-bigquery_v2 (0.75.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-core (0.15.1) addressable (~> 2.5, >= 2.5.1) - googleauth (>= 0.16.2, < 2.a) - httpclient (>= 2.8.1, < 3.a) + googleauth (~> 1.9) + httpclient (>= 2.8.3, < 3.a) mini_mime (~> 1.0) + mutex_m representable (~> 3.0) retriable (>= 2.0, < 4.a) - rexml - webrick - google-cloud-bigquery (1.43.1) + google-cloud-bigquery (1.50.0) + bigdecimal (~> 3.0) concurrent-ruby (~> 1.0) - google-apis-bigquery_v2 (~> 0.1) + google-apis-bigquery_v2 (~> 0.71) + google-apis-core (~> 0.13) google-cloud-core (~> 1.6) - googleauth (>= 0.16.2, < 2.a) + googleauth (~> 1.9) mini_mime (~> 1.0) - google-cloud-core (1.6.0) - google-cloud-env (~> 1.0) + google-cloud-core (1.7.1) + google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (1.6.0) - faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.3.1) - googleauth (1.6.0) - faraday (>= 0.17.3, < 3.a) + google-cloud-env (2.1.1) + faraday (>= 1.0, < 3.a) + google-cloud-errors (1.4.0) + googleauth (1.11.0) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.1) jwt (>= 1.4, < 3.0) - memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) - hashdiff (1.0.1) + hashdiff (1.1.1) + httparty (0.22.0) + csv + mini_mime (>= 1.0.0) + multi_xml (>= 0.5.2) httpclient (2.8.3) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) - io-console (0.6.0) - io-event (1.2.2) - irb (1.7.2) - reline (>= 0.3.6) - jaro_winkler (1.5.6) - json (2.6.3) + io-console (0.7.2) + io-endpoint (0.13.0) + io-event (1.6.5) + io-stream (0.4.0) + irb (1.14.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jaro_winkler (1.6.0) + json (2.7.2) json-schema (2.8.1) addressable (>= 2.4) - jwt (2.7.1) + jwt (2.8.2) + base64 kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) language_server-protocol (3.17.0.3) - loofah (2.21.3) + logger (1.6.0) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -189,47 +207,52 @@ GEM net-imap net-pop net-smtp - marcel (1.0.2) - memoist (0.16.2) - method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.18.1) + marcel (1.0.4) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.25.0) multi_json (1.15.0) - net-imap (0.3.6) + multi_xml (0.6.0) + mutex_m (0.2.0) + net-http (0.4.1) + uri + net-imap (0.4.14) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.5.0) net-protocol - nio4r (2.5.9) - nokogiri (1.15.3-arm64-darwin) + nio4r (2.7.3) + nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.3-x86_64-darwin) + nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) os (1.1.4) - parallel (1.23.0) - parser (3.2.2.3) + parallel (1.26.2) + parser (3.3.4.2) ast (~> 2.4.1) racc - protocol-hpack (1.4.2) - protocol-http (0.24.4) - protocol-http1 (0.15.0) + protocol-hpack (1.5.0) + protocol-http (0.28.1) + protocol-http1 (0.19.1) protocol-http (~> 0.22) - protocol-http2 (0.15.1) + protocol-http2 (0.18.0) protocol-hpack (~> 1.4) protocol-http (~> 0.18) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - public_suffix (5.0.3) - racc (1.7.1) - rack (2.2.7) + psych (5.1.2) + stringio + public_suffix (6.0.1) + racc (1.8.1) + rack (2.2.9) rack-test (2.1.0) rack (>= 1.3) rails (6.1.7) @@ -247,7 +270,7 @@ GEM bundler (>= 1.15.0) railties (= 6.1.7) sprockets-rails (>= 2.0.0) - rails-dom-testing (2.1.1) + rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) @@ -261,10 +284,12 @@ GEM rake (>= 12.2) thor (~> 1.0) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) rbs (2.8.4) - regexp_parser (2.8.1) - reline (0.3.6) + rdoc (6.7.0) + psych (>= 4.0.0) + regexp_parser (2.9.2) + reline (0.5.9) io-console (~> 0.5) representable (3.2.0) declarative (< 0.1.0) @@ -275,56 +300,59 @@ GEM retriable (3.1.2) reverse_markdown (2.1.1) nokogiri - rexml (3.2.5) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rexml (3.3.5) + strscan + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (5.1.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - railties (>= 5.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) - rspec-support (3.12.1) - rubocop (1.54.1) + rspec-support (~> 3.13.0) + rspec-rails (6.1.3) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) + rubocop (1.65.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-ast (1.32.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.23.1) - rubocop (~> 1.33) - rubocop-rspec (2.22.0) - rubocop (~> 1.33) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) + rubocop-rspec (2.31.0) + rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.29.1) + rubocop (~> 1.61) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) sawyer (0.9.2) addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) - signet (0.17.0) + signet (0.19.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) - solargraph (0.49.0) + solargraph (0.50.0) backport (~> 1.2) benchmark bundler (~> 2.0) @@ -340,40 +368,43 @@ GEM thor (~> 1.0) tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) - sprockets (4.2.0) + sprockets (4.2.1) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) - sprockets-rails (3.4.2) - actionpack (>= 5.2) - activesupport (>= 5.2) + sprockets-rails (3.5.2) + actionpack (>= 6.1) + activesupport (>= 6.1) sprockets (>= 3.0.0) - sqlite3 (1.6.3-arm64-darwin) - sqlite3 (1.6.3-x86_64-darwin) - thor (1.2.2) - tilt (2.2.0) - timeout (0.4.0) - timers (4.3.5) + sqlite3 (2.0.4-arm64-darwin) + sqlite3 (2.0.4-x86_64-darwin) + stringio (3.1.1) + strscan (3.1.0) + thor (1.3.1) + tilt (2.4.0) + timecop (0.9.10) + timeout (0.4.1) traces (0.11.1) trailblazer-option (0.1.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unicode-display_width (2.4.2) - webmock (3.18.1) + unicode-display_width (2.5.0) + uri (0.13.0) + webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - webrick (1.8.1) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - with_model (2.1.6) - activerecord (>= 5.2) - yard (0.9.34) - zeitwerk (2.6.8) + with_model (2.1.7) + activerecord (>= 6.0) + yard (0.9.36) + zeitwerk (2.6.17) PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-22 DEPENDENCIES @@ -385,11 +416,12 @@ DEPENDENCIES json-schema (~> 2.8) pry (~> 0) rails (= 6.1.7) - rspec-rails (~> 5.0) + rspec-rails (= 6.1.3) rubocop (~> 1.54) rubocop-rspec (~> 2.22) solargraph sqlite3 + timecop webmock (~> 3.14) with_model diff --git a/gemfiles/rails_6.gemfile b/gemfiles/rails_6.gemfile index ead3381c..5d5ba720 100644 --- a/gemfiles/rails_6.gemfile +++ b/gemfiles/rails_6.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "rspec-rails", "5.1.2" gem "rails", "6.0.6" gem "psych", "< 4" diff --git a/gemfiles/rails_6.gemfile.lock b/gemfiles/rails_6.gemfile.lock index c30e3b3e..1418e831 100644 --- a/gemfiles/rails_6.gemfile.lock +++ b/gemfiles/rails_6.gemfile.lock @@ -1,8 +1,10 @@ PATH remote: .. specs: - dfe-analytics (1.10.0) + dfe-analytics (1.14.0) google-cloud-bigquery (~> 1.38) + httparty (~> 0.21) + multi_xml (~> 0.6.0) request_store_rails (~> 2) GEM @@ -63,60 +65,66 @@ GEM minitest (~> 5.1) tzinfo (~> 1.1) zeitwerk (~> 2.2, >= 2.2.2) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - appraisal (2.4.1) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) bundler rake thor (>= 0.14.0) ast (2.4.2) - async (2.6.2) - console (~> 1.10) + async (2.15.3) + console (~> 1.26) fiber-annotation - io-event (~> 1.1) - timers (~> 4.1) - async-http (0.60.2) - async (>= 1.25) - async-io (>= 1.28) - async-pool (>= 0.2) - protocol-http (~> 0.24.0) - protocol-http1 (~> 0.15.0) - protocol-http2 (~> 0.15.0) - traces (>= 0.10.0) - async-http-faraday (0.12.0) + io-event (~> 1.6, >= 1.6.5) + async-http (0.70.0) + async (>= 2.10.2) + async-pool (~> 0.7) + io-endpoint (~> 0.11) + io-stream (~> 0.4) + protocol-http (~> 0.28) + protocol-http1 (~> 0.19) + protocol-http2 (~> 0.18) + traces (>= 0.10) + async-http-faraday (0.17.0) async-http (~> 0.42) faraday - async-io (1.35.0) - async - async-pool (0.4.0) + async-pool (0.8.0) async (>= 1.25) backport (1.2.0) - benchmark (0.2.1) - builder (3.2.4) + base64 (0.2.0) + benchmark (0.3.0) + bigdecimal (3.1.8) + builder (3.3.0) coderay (1.1.3) - concurrent-ruby (1.2.2) - console (1.17.2) + concurrent-ruby (1.3.4) + console (1.27.0) fiber-annotation - fiber-local - crack (0.4.5) + fiber-local (~> 1.1) + json + crack (1.0.0) + bigdecimal rexml crass (1.0.6) - date (3.3.3) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + csv (3.3.0) + date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) declarative (0.0.20) - diff-lcs (1.5.0) + diff-lcs (1.5.1) e2mmap (0.1.0) - erubi (1.12.0) - faraday (2.7.10) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-http-cache (2.5.0) + erubi (1.13.0) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-http-cache (2.5.1) faraday (>= 0.8) - faraday-net_http (3.0.2) + faraday-net_http (3.1.1) + net-http fiber-annotation (0.2.0) - fiber-local (1.0.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) gem-release (2.2.2) github_changelog_generator (1.16.4) activesupport @@ -129,55 +137,65 @@ GEM rake (>= 10.0) globalid (1.1.0) activesupport (>= 5.0) - google-apis-bigquery_v2 (0.55.0) - google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.0) + google-apis-bigquery_v2 (0.75.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-core (0.15.1) addressable (~> 2.5, >= 2.5.1) - googleauth (>= 0.16.2, < 2.a) - httpclient (>= 2.8.1, < 3.a) + googleauth (~> 1.9) + httpclient (>= 2.8.3, < 3.a) mini_mime (~> 1.0) + mutex_m representable (~> 3.0) retriable (>= 2.0, < 4.a) - rexml - webrick - google-cloud-bigquery (1.43.1) + google-cloud-bigquery (1.50.0) + bigdecimal (~> 3.0) concurrent-ruby (~> 1.0) - google-apis-bigquery_v2 (~> 0.1) + google-apis-bigquery_v2 (~> 0.71) + google-apis-core (~> 0.13) google-cloud-core (~> 1.6) - googleauth (>= 0.16.2, < 2.a) + googleauth (~> 1.9) mini_mime (~> 1.0) - google-cloud-core (1.6.0) - google-cloud-env (~> 1.0) + google-cloud-core (1.7.1) + google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (1.6.0) - faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.3.1) - googleauth (1.6.0) - faraday (>= 0.17.3, < 3.a) + google-cloud-env (2.1.1) + faraday (>= 1.0, < 3.a) + google-cloud-errors (1.4.0) + googleauth (1.11.0) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.1) jwt (>= 1.4, < 3.0) - memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) - hashdiff (1.0.1) + hashdiff (1.1.1) + httparty (0.22.0) + csv + mini_mime (>= 1.0.0) + multi_xml (>= 0.5.2) httpclient (2.8.3) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) - io-console (0.6.0) - io-event (1.2.2) - irb (1.7.2) - reline (>= 0.3.6) - jaro_winkler (1.5.6) - json (2.6.3) + io-console (0.7.2) + io-endpoint (0.13.0) + io-event (1.6.5) + io-stream (0.4.0) + irb (1.14.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jaro_winkler (1.6.0) + json (2.7.2) json-schema (2.8.1) addressable (>= 2.4) - jwt (2.7.1) + jwt (2.8.2) + base64 kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) language_server-protocol (3.17.0.3) - loofah (2.21.3) + logger (1.6.0) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -185,48 +203,51 @@ GEM net-imap net-pop net-smtp - marcel (1.0.2) - memoist (0.16.2) - method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.18.1) + marcel (1.0.4) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.25.0) multi_json (1.15.0) - net-imap (0.3.6) + multi_xml (0.6.0) + mutex_m (0.2.0) + net-http (0.4.1) + uri + net-imap (0.4.14) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.5.0) net-protocol - nio4r (2.5.9) - nokogiri (1.15.3-arm64-darwin) + nio4r (2.7.3) + nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.3-x86_64-darwin) + nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) os (1.1.4) - parallel (1.23.0) - parser (3.2.2.3) + parallel (1.26.2) + parser (3.3.4.2) ast (~> 2.4.1) racc - protocol-hpack (1.4.2) - protocol-http (0.24.4) - protocol-http1 (0.15.0) + protocol-hpack (1.5.0) + protocol-http (0.28.1) + protocol-http1 (0.19.1) protocol-http (~> 0.22) - protocol-http2 (0.15.1) + protocol-http2 (0.18.0) protocol-hpack (~> 1.4) protocol-http (~> 0.18) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) psych (3.3.4) - public_suffix (5.0.3) - racc (1.7.1) - rack (2.2.7) + public_suffix (6.0.1) + racc (1.8.1) + rack (2.2.9) rack-test (2.1.0) rack (>= 1.3) rails (6.0.6) @@ -244,7 +265,7 @@ GEM bundler (>= 1.3.0) railties (= 6.0.6) sprockets-rails (>= 2.0.0) - rails-dom-testing (2.1.1) + rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) @@ -258,10 +279,11 @@ GEM rake (>= 0.8.7) thor (>= 0.20.3, < 2.0) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) rbs (2.8.4) - regexp_parser (2.8.1) - reline (0.3.6) + rdoc (6.3.4.1) + regexp_parser (2.9.2) + reline (0.5.9) io-console (~> 0.5) representable (3.2.0) declarative (< 0.1.0) @@ -272,15 +294,16 @@ GEM retriable (3.1.2) reverse_markdown (2.1.1) nokogiri - rexml (3.2.5) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rexml (3.3.5) + strscan + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) + rspec-support (~> 3.13.0) rspec-rails (5.1.2) actionpack (>= 5.2) activesupport (>= 5.2) @@ -289,39 +312,41 @@ GEM rspec-expectations (~> 3.10) rspec-mocks (~> 3.10) rspec-support (~> 3.10) - rspec-support (3.12.1) - rubocop (1.54.1) + rspec-support (3.13.1) + rubocop (1.65.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-ast (1.32.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.23.1) - rubocop (~> 1.33) - rubocop-rspec (2.22.0) - rubocop (~> 1.33) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) + rubocop-rspec (2.31.0) + rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.29.1) + rubocop (~> 1.61) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) sawyer (0.9.2) addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) - signet (0.17.0) + signet (0.19.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) - solargraph (0.49.0) + solargraph (0.50.0) backport (~> 1.2) benchmark bundler (~> 2.0) @@ -337,41 +362,43 @@ GEM thor (~> 1.0) tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) - sprockets (4.2.0) + sprockets (4.2.1) concurrent-ruby (~> 1.0) rack (>= 2.2.4, < 4) sprockets-rails (3.4.2) actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - sqlite3 (1.6.3-arm64-darwin) - sqlite3 (1.6.3-x86_64-darwin) - thor (1.2.2) + sqlite3 (2.0.4-arm64-darwin) + sqlite3 (2.0.4-x86_64-darwin) + strscan (3.1.0) + thor (1.3.1) thread_safe (0.3.6) - tilt (2.2.0) - timeout (0.4.0) - timers (4.3.5) + tilt (2.4.0) + timecop (0.9.10) + timeout (0.4.1) traces (0.11.1) trailblazer-option (0.1.2) tzinfo (1.2.11) thread_safe (~> 0.1) uber (0.1.0) - unicode-display_width (2.4.2) - webmock (3.18.1) + unicode-display_width (2.5.0) + uri (0.13.0) + webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - webrick (1.8.1) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - with_model (2.1.6) - activerecord (>= 5.2) - yard (0.9.34) - zeitwerk (2.6.8) + with_model (2.1.7) + activerecord (>= 6.0) + yard (0.9.36) + zeitwerk (2.6.17) PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-22 DEPENDENCIES @@ -384,11 +411,12 @@ DEPENDENCIES pry (~> 0) psych (< 4) rails (= 6.0.6) - rspec-rails (~> 5.0) + rspec-rails (= 5.1.2) rubocop (~> 1.54) rubocop-rspec (~> 2.22) solargraph sqlite3 + timecop webmock (~> 3.14) with_model diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 00000000..9634d9ec --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,13 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rspec-rails", "6.1.3" +gem "rails", "7.2" + +group :release do + gem "gem-release", require: false + gem "github_changelog_generator", require: false +end + +gemspec path: "../" diff --git a/gemfiles/rails_7.2.gemfile.lock b/gemfiles/rails_7.2.gemfile.lock new file mode 100644 index 00000000..8ae7a25e --- /dev/null +++ b/gemfiles/rails_7.2.gemfile.lock @@ -0,0 +1,439 @@ +PATH + remote: .. + specs: + dfe-analytics (1.14.0) + google-cloud-bigquery (~> 1.38) + httparty (~> 0.21) + multi_xml (~> 0.6.0) + request_store_rails (~> 2) + +GEM + remote: https://rubygems.org/ + specs: + actioncable (7.2.0) + actionpack (= 7.2.0) + activesupport (= 7.2.0) + nio4r (~> 2.0) + websocket-driver (>= 0.6.1) + zeitwerk (~> 2.6) + actionmailbox (7.2.0) + actionpack (= 7.2.0) + activejob (= 7.2.0) + activerecord (= 7.2.0) + activestorage (= 7.2.0) + activesupport (= 7.2.0) + mail (>= 2.8.0) + actionmailer (7.2.0) + actionpack (= 7.2.0) + actionview (= 7.2.0) + activejob (= 7.2.0) + activesupport (= 7.2.0) + mail (>= 2.8.0) + rails-dom-testing (~> 2.2) + actionpack (7.2.0) + actionview (= 7.2.0) + activesupport (= 7.2.0) + nokogiri (>= 1.8.5) + racc + 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) + useragent (~> 0.16) + actiontext (7.2.0) + actionpack (= 7.2.0) + activerecord (= 7.2.0) + activestorage (= 7.2.0) + activesupport (= 7.2.0) + globalid (>= 0.6.0) + nokogiri (>= 1.8.5) + actionview (7.2.0) + activesupport (= 7.2.0) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activejob (7.2.0) + activesupport (= 7.2.0) + globalid (>= 0.3.6) + activemodel (7.2.0) + activesupport (= 7.2.0) + activerecord (7.2.0) + activemodel (= 7.2.0) + activesupport (= 7.2.0) + timeout (>= 0.4.0) + activestorage (7.2.0) + actionpack (= 7.2.0) + activejob (= 7.2.0) + activerecord (= 7.2.0) + activesupport (= 7.2.0) + marcel (~> 1.0) + activesupport (7.2.0) + base64 + bigdecimal + concurrent-ruby (~> 1.0, >= 1.3.1) + connection_pool (>= 2.2.5) + drb + i18n (>= 1.6, < 2) + logger (>= 1.4.2) + minitest (>= 5.1) + securerandom (>= 0.3) + tzinfo (~> 2.0, >= 2.0.5) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) + bundler + rake + thor (>= 0.14.0) + ast (2.4.2) + async (2.15.3) + console (~> 1.26) + fiber-annotation + io-event (~> 1.6, >= 1.6.5) + async-http (0.70.0) + async (>= 2.10.2) + async-pool (~> 0.7) + io-endpoint (~> 0.11) + io-stream (~> 0.4) + protocol-http (~> 0.28) + protocol-http1 (~> 0.19) + protocol-http2 (~> 0.18) + traces (>= 0.10) + async-http-faraday (0.17.0) + async-http (~> 0.42) + faraday + async-pool (0.8.0) + async (>= 1.25) + backport (1.2.0) + base64 (0.2.0) + benchmark (0.3.0) + bigdecimal (3.1.8) + builder (3.3.0) + coderay (1.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + console (1.27.0) + fiber-annotation + fiber-local (~> 1.1) + json + crack (1.0.0) + bigdecimal + rexml + crass (1.0.6) + csv (3.3.0) + date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) + declarative (0.0.20) + diff-lcs (1.5.1) + drb (2.2.1) + e2mmap (0.1.0) + erubi (1.13.0) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-http-cache (2.5.1) + faraday (>= 0.8) + faraday-net_http (3.1.1) + net-http + fiber-annotation (0.2.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) + gem-release (2.2.2) + github_changelog_generator (1.16.4) + activesupport + async (>= 1.25.0) + async-http-faraday + faraday-http-cache + multi_json + octokit (~> 4.6) + rainbow (>= 2.2.1) + rake (>= 10.0) + globalid (1.2.1) + activesupport (>= 6.1) + google-apis-bigquery_v2 (0.75.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-core (0.15.1) + addressable (~> 2.5, >= 2.5.1) + googleauth (~> 1.9) + httpclient (>= 2.8.3, < 3.a) + mini_mime (~> 1.0) + mutex_m + representable (~> 3.0) + retriable (>= 2.0, < 4.a) + google-cloud-bigquery (1.50.0) + bigdecimal (~> 3.0) + concurrent-ruby (~> 1.0) + google-apis-bigquery_v2 (~> 0.71) + google-apis-core (~> 0.13) + google-cloud-core (~> 1.6) + googleauth (~> 1.9) + mini_mime (~> 1.0) + google-cloud-core (1.7.1) + google-cloud-env (>= 1.0, < 3.a) + google-cloud-errors (~> 1.0) + google-cloud-env (2.1.1) + faraday (>= 1.0, < 3.a) + google-cloud-errors (1.4.0) + googleauth (1.11.0) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.1) + jwt (>= 1.4, < 3.0) + multi_json (~> 1.11) + os (>= 0.9, < 2.0) + signet (>= 0.16, < 2.a) + hashdiff (1.1.1) + httparty (0.22.0) + csv + mini_mime (>= 1.0.0) + multi_xml (>= 0.5.2) + httpclient (2.8.3) + i18n (1.14.5) + concurrent-ruby (~> 1.0) + io-console (0.7.2) + io-endpoint (0.13.0) + io-event (1.6.5) + io-stream (0.4.0) + irb (1.14.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jaro_winkler (1.6.0) + json (2.7.2) + json-schema (2.8.1) + addressable (>= 2.4) + jwt (2.8.2) + base64 + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + language_server-protocol (3.17.0.3) + logger (1.6.0) + loofah (2.22.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + mail (2.8.1) + mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp + marcel (1.0.4) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.25.0) + multi_json (1.15.0) + multi_xml (0.6.0) + mutex_m (0.2.0) + net-http (0.4.1) + uri + net-imap (0.4.14) + date + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.2.2) + timeout + net-smtp (0.5.0) + net-protocol + nio4r (2.7.3) + nokogiri (1.16.7-arm64-darwin) + racc (~> 1.4) + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) + os (1.1.4) + parallel (1.26.2) + parser (3.3.4.2) + ast (~> 2.4.1) + racc + protocol-hpack (1.5.0) + protocol-http (0.28.1) + protocol-http1 (0.19.1) + protocol-http (~> 0.22) + protocol-http2 (0.18.0) + protocol-hpack (~> 1.4) + protocol-http (~> 0.18) + pry (0.14.2) + coderay (~> 1.1) + method_source (~> 1.0) + psych (5.1.2) + stringio + public_suffix (6.0.1) + racc (1.8.1) + rack (3.1.7) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.1.0) + rack (>= 1.3) + rackup (2.1.0) + rack (>= 3) + webrick (~> 1.8) + rails (7.2.0) + actioncable (= 7.2.0) + actionmailbox (= 7.2.0) + actionmailer (= 7.2.0) + actionpack (= 7.2.0) + actiontext (= 7.2.0) + actionview (= 7.2.0) + activejob (= 7.2.0) + activemodel (= 7.2.0) + activerecord (= 7.2.0) + activestorage (= 7.2.0) + activesupport (= 7.2.0) + bundler (>= 1.15.0) + railties (= 7.2.0) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.2.0) + actionpack (= 7.2.0) + activesupport (= 7.2.0) + irb (~> 1.13) + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) + rainbow (3.1.1) + rake (13.2.1) + rbs (2.8.4) + rdoc (6.7.0) + psych (>= 4.0.0) + regexp_parser (2.9.2) + reline (0.5.9) + io-console (~> 0.5) + representable (3.2.0) + declarative (< 0.1.0) + trailblazer-option (>= 0.1.1, < 0.2.0) + uber (< 0.2.0) + request_store_rails (2.0.0) + concurrent-ruby (~> 1.0) + retriable (3.1.2) + reverse_markdown (2.1.1) + nokogiri + rexml (3.3.5) + strscan + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-rails (6.1.3) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) + rubocop (1.65.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.4, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.31.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.32.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.21.0) + rubocop (~> 1.41) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) + rubocop-rspec (2.31.0) + rubocop (~> 1.40) + rubocop-capybara (~> 2.17) + rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.29.1) + rubocop (~> 1.61) + ruby-progressbar (1.13.0) + sawyer (0.9.2) + addressable (>= 2.3.5) + faraday (>= 0.17.3, < 3) + securerandom (0.3.1) + signet (0.19.0) + addressable (~> 2.8) + faraday (>= 0.17.5, < 3.a) + jwt (>= 1.5, < 3.0) + multi_json (~> 1.10) + solargraph (0.50.0) + backport (~> 1.2) + benchmark + bundler (~> 2.0) + diff-lcs (~> 1.4) + e2mmap + jaro_winkler (~> 1.5) + kramdown (~> 2.3) + kramdown-parser-gfm (~> 1.1) + parser (~> 3.0) + rbs (~> 2.0) + reverse_markdown (~> 2.0) + rubocop (~> 1.38) + thor (~> 1.0) + tilt (~> 2.0) + yard (~> 0.9, >= 0.9.24) + sqlite3 (2.0.4-arm64-darwin) + stringio (3.1.1) + strscan (3.1.0) + thor (1.3.1) + tilt (2.4.0) + timecop (0.9.10) + timeout (0.4.1) + traces (0.11.1) + trailblazer-option (0.1.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uber (0.1.0) + unicode-display_width (2.5.0) + uri (0.13.0) + useragent (0.16.10) + webmock (3.23.1) + addressable (>= 2.8.0) + crack (>= 0.3.2) + hashdiff (>= 0.4.0, < 2.0.0) + webrick (1.8.1) + websocket-driver (0.7.6) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.5) + with_model (2.1.7) + activerecord (>= 6.0) + yard (0.9.36) + zeitwerk (2.6.17) + +PLATFORMS + arm64-darwin-23 + +DEPENDENCIES + appraisal + debug (>= 1.0.0) + dfe-analytics! + gem-release + github_changelog_generator + json-schema (~> 2.8) + pry (~> 0) + rails (= 7.2) + rspec-rails (= 6.1.3) + rubocop (~> 1.54) + rubocop-rspec (~> 2.22) + solargraph + sqlite3 + timecop + webmock (~> 3.14) + with_model + +BUNDLED WITH + 2.3.13 diff --git a/gemfiles/rails_7.gemfile b/gemfiles/rails_7.gemfile index 7ce77f63..7c4518c7 100644 --- a/gemfiles/rails_7.gemfile +++ b/gemfiles/rails_7.gemfile @@ -2,6 +2,7 @@ source "https://rubygems.org" +gem "rspec-rails", "6.1.3" gem "rails", "7.0.4" group :release do diff --git a/gemfiles/rails_7.gemfile.lock b/gemfiles/rails_7.gemfile.lock index 31ca6c89..e9f38bb4 100644 --- a/gemfiles/rails_7.gemfile.lock +++ b/gemfiles/rails_7.gemfile.lock @@ -1,8 +1,10 @@ PATH remote: .. specs: - dfe-analytics (1.10.0) + dfe-analytics (1.14.0) google-cloud-bigquery (~> 1.38) + httparty (~> 0.21) + multi_xml (~> 0.6.0) request_store_rails (~> 2) GEM @@ -73,60 +75,66 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - appraisal (2.4.1) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + appraisal (2.5.0) bundler rake thor (>= 0.14.0) ast (2.4.2) - async (2.6.2) - console (~> 1.10) + async (2.15.3) + console (~> 1.26) fiber-annotation - io-event (~> 1.1) - timers (~> 4.1) - async-http (0.60.2) - async (>= 1.25) - async-io (>= 1.28) - async-pool (>= 0.2) - protocol-http (~> 0.24.0) - protocol-http1 (~> 0.15.0) - protocol-http2 (~> 0.15.0) - traces (>= 0.10.0) - async-http-faraday (0.12.0) + io-event (~> 1.6, >= 1.6.5) + async-http (0.70.0) + async (>= 2.10.2) + async-pool (~> 0.7) + io-endpoint (~> 0.11) + io-stream (~> 0.4) + protocol-http (~> 0.28) + protocol-http1 (~> 0.19) + protocol-http2 (~> 0.18) + traces (>= 0.10) + async-http-faraday (0.17.0) async-http (~> 0.42) faraday - async-io (1.35.0) - async - async-pool (0.4.0) + async-pool (0.8.0) async (>= 1.25) backport (1.2.0) - benchmark (0.2.1) - builder (3.2.4) + base64 (0.2.0) + benchmark (0.3.0) + bigdecimal (3.1.8) + builder (3.3.0) coderay (1.1.3) - concurrent-ruby (1.2.2) - console (1.17.2) + concurrent-ruby (1.3.4) + console (1.27.0) fiber-annotation - fiber-local - crack (0.4.5) + fiber-local (~> 1.1) + json + crack (1.0.0) + bigdecimal rexml crass (1.0.6) - date (3.3.3) - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + csv (3.3.0) + date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) declarative (0.0.20) - diff-lcs (1.5.0) + diff-lcs (1.5.1) e2mmap (0.1.0) - erubi (1.12.0) - faraday (2.7.10) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-http-cache (2.5.0) + erubi (1.13.0) + faraday (2.10.1) + faraday-net_http (>= 2.0, < 3.2) + logger + faraday-http-cache (2.5.1) faraday (>= 0.8) - faraday-net_http (3.0.2) + faraday-net_http (3.1.1) + net-http fiber-annotation (0.2.0) - fiber-local (1.0.0) + fiber-local (1.1.0) + fiber-storage + fiber-storage (1.0.0) gem-release (2.2.2) github_changelog_generator (1.16.4) activesupport @@ -137,57 +145,67 @@ GEM octokit (~> 4.6) rainbow (>= 2.2.1) rake (>= 10.0) - globalid (1.1.0) - activesupport (>= 5.0) - google-apis-bigquery_v2 (0.55.0) - google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.0) + globalid (1.2.1) + activesupport (>= 6.1) + google-apis-bigquery_v2 (0.75.0) + google-apis-core (>= 0.15.0, < 2.a) + google-apis-core (0.15.1) addressable (~> 2.5, >= 2.5.1) - googleauth (>= 0.16.2, < 2.a) - httpclient (>= 2.8.1, < 3.a) + googleauth (~> 1.9) + httpclient (>= 2.8.3, < 3.a) mini_mime (~> 1.0) + mutex_m representable (~> 3.0) retriable (>= 2.0, < 4.a) - rexml - webrick - google-cloud-bigquery (1.43.1) + google-cloud-bigquery (1.50.0) + bigdecimal (~> 3.0) concurrent-ruby (~> 1.0) - google-apis-bigquery_v2 (~> 0.1) + google-apis-bigquery_v2 (~> 0.71) + google-apis-core (~> 0.13) google-cloud-core (~> 1.6) - googleauth (>= 0.16.2, < 2.a) + googleauth (~> 1.9) mini_mime (~> 1.0) - google-cloud-core (1.6.0) - google-cloud-env (~> 1.0) + google-cloud-core (1.7.1) + google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (1.6.0) - faraday (>= 0.17.3, < 3.0) - google-cloud-errors (1.3.1) - googleauth (1.6.0) - faraday (>= 0.17.3, < 3.a) + google-cloud-env (2.1.1) + faraday (>= 1.0, < 3.a) + google-cloud-errors (1.4.0) + googleauth (1.11.0) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.1) jwt (>= 1.4, < 3.0) - memoist (~> 0.16) multi_json (~> 1.11) os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) - hashdiff (1.0.1) + hashdiff (1.1.1) + httparty (0.22.0) + csv + mini_mime (>= 1.0.0) + multi_xml (>= 0.5.2) httpclient (2.8.3) - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) - io-console (0.6.0) - io-event (1.2.2) - irb (1.7.2) - reline (>= 0.3.6) - jaro_winkler (1.5.6) - json (2.6.3) + io-console (0.7.2) + io-endpoint (0.13.0) + io-event (1.6.5) + io-stream (0.4.0) + irb (1.14.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + jaro_winkler (1.6.0) + json (2.7.2) json-schema (2.8.1) addressable (>= 2.4) - jwt (2.7.1) + jwt (2.8.2) + base64 kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) language_server-protocol (3.17.0.3) - loofah (2.21.3) + logger (1.6.0) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) mail (2.8.1) @@ -195,47 +213,52 @@ GEM net-imap net-pop net-smtp - marcel (1.0.2) - memoist (0.16.2) - method_source (1.0.0) - mini_mime (1.1.2) - minitest (5.18.1) + marcel (1.0.4) + method_source (1.1.0) + mini_mime (1.1.5) + minitest (5.25.0) multi_json (1.15.0) - net-imap (0.3.6) + multi_xml (0.6.0) + mutex_m (0.2.0) + net-http (0.4.1) + uri + net-imap (0.4.14) date net-protocol net-pop (0.1.2) net-protocol - net-protocol (0.2.1) + net-protocol (0.2.2) timeout - net-smtp (0.3.3) + net-smtp (0.5.0) net-protocol - nio4r (2.5.9) - nokogiri (1.15.3-arm64-darwin) + nio4r (2.7.3) + nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) - nokogiri (1.15.3-x86_64-darwin) + nokogiri (1.16.7-x86_64-darwin) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) os (1.1.4) - parallel (1.23.0) - parser (3.2.2.3) + parallel (1.26.2) + parser (3.3.4.2) ast (~> 2.4.1) racc - protocol-hpack (1.4.2) - protocol-http (0.24.4) - protocol-http1 (0.15.0) + protocol-hpack (1.5.0) + protocol-http (0.28.1) + protocol-http1 (0.19.1) protocol-http (~> 0.22) - protocol-http2 (0.15.1) + protocol-http2 (0.18.0) protocol-hpack (~> 1.4) protocol-http (~> 0.18) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - public_suffix (5.0.3) - racc (1.7.1) - rack (2.2.7) + psych (5.1.2) + stringio + public_suffix (6.0.1) + racc (1.8.1) + rack (2.2.9) rack-test (2.1.0) rack (>= 1.3) rails (7.0.4) @@ -252,7 +275,7 @@ GEM activesupport (= 7.0.4) bundler (>= 1.15.0) railties (= 7.0.4) - rails-dom-testing (2.1.1) + rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) @@ -267,10 +290,12 @@ GEM thor (~> 1.0) zeitwerk (~> 2.5) rainbow (3.1.1) - rake (13.0.6) + rake (13.2.1) rbs (2.8.4) - regexp_parser (2.8.1) - reline (0.3.6) + rdoc (6.7.0) + psych (>= 4.0.0) + regexp_parser (2.9.2) + reline (0.5.9) io-console (~> 0.5) representable (3.2.0) declarative (< 0.1.0) @@ -281,56 +306,59 @@ GEM retriable (3.1.2) reverse_markdown (2.1.1) nokogiri - rexml (3.2.5) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rexml (3.3.5) + strscan + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-rails (5.1.2) - actionpack (>= 5.2) - activesupport (>= 5.2) - railties (>= 5.2) - rspec-core (~> 3.10) - rspec-expectations (~> 3.10) - rspec-mocks (~> 3.10) - rspec-support (~> 3.10) - rspec-support (3.12.1) - rubocop (1.54.1) + rspec-support (~> 3.13.0) + rspec-rails (6.1.3) + actionpack (>= 6.1) + activesupport (>= 6.1) + railties (>= 6.1) + rspec-core (~> 3.13) + rspec-expectations (~> 3.13) + rspec-mocks (~> 3.13) + rspec-support (~> 3.13) + rspec-support (3.13.1) + rubocop (1.65.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-ast (1.32.0) + parser (>= 3.3.1.0) + rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.23.1) - rubocop (~> 1.33) - rubocop-rspec (2.22.0) - rubocop (~> 1.33) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) + rubocop-rspec (2.31.0) + rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (~> 2.28) + rubocop-rspec_rails (2.29.1) + rubocop (~> 1.61) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) sawyer (0.9.2) addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) - signet (0.17.0) + signet (0.19.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) - solargraph (0.49.0) + solargraph (0.50.0) backport (~> 1.2) benchmark bundler (~> 2.0) @@ -346,33 +374,36 @@ GEM thor (~> 1.0) tilt (~> 2.0) yard (~> 0.9, >= 0.9.24) - sqlite3 (1.6.3-arm64-darwin) - sqlite3 (1.6.3-x86_64-darwin) - thor (1.2.2) - tilt (2.2.0) - timeout (0.4.0) - timers (4.3.5) + sqlite3 (2.0.4-arm64-darwin) + sqlite3 (2.0.4-x86_64-darwin) + stringio (3.1.1) + strscan (3.1.0) + thor (1.3.1) + tilt (2.4.0) + timecop (0.9.10) + timeout (0.4.1) traces (0.11.1) trailblazer-option (0.1.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) - unicode-display_width (2.4.2) - webmock (3.18.1) + unicode-display_width (2.5.0) + uri (0.13.0) + webmock (3.23.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - webrick (1.8.1) - websocket-driver (0.7.5) + websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - with_model (2.1.6) - activerecord (>= 5.2) - yard (0.9.34) - zeitwerk (2.6.8) + with_model (2.1.7) + activerecord (>= 6.0) + yard (0.9.36) + zeitwerk (2.6.17) PLATFORMS arm64-darwin-21 + arm64-darwin-23 x86_64-darwin-22 DEPENDENCIES @@ -384,11 +415,12 @@ DEPENDENCIES json-schema (~> 2.8) pry (~> 0) rails (= 7.0.4) - rspec-rails (~> 5.0) + rspec-rails (= 6.1.3) rubocop (~> 1.54) rubocop-rspec (~> 2.22) solargraph sqlite3 + timecop webmock (~> 3.14) with_model diff --git a/lib/dfe/analytics.rb b/lib/dfe/analytics.rb index 6da38dac..4596d430 100644 --- a/lib/dfe/analytics.rb +++ b/lib/dfe/analytics.rb @@ -108,7 +108,9 @@ def self.initialize! return end - raise ActiveRecord::PendingMigrationError if ActiveRecord::Base.connection.migration_context.needs_migration? + ActiveRecord::Base.with_connection do |connection| + raise ActiveRecord::PendingMigrationError if connection.pool.migration_context.needs_migration? + end DfE::Analytics::Fields.check! diff --git a/spec/dfe/analytics_spec.rb b/spec/dfe/analytics_spec.rb index 5013ab28..137d65d0 100644 --- a/spec/dfe/analytics_spec.rb +++ b/spec/dfe/analytics_spec.rb @@ -24,7 +24,7 @@ describe 'when no database connection is available' do it 'recovers and logs' do - allow(ActiveRecord::Base).to receive(:connection).and_raise(ActiveRecord::ConnectionNotEstablished) + allow(ActiveRecord::Base).to receive(:with_connection).and_raise(ActiveRecord::ConnectionNotEstablished) expect(Rails.logger).to receive(:info).with(/No database connection/) expect { DfE::Analytics.initialize! }.not_to raise_error end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 997028db..3ae8016b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -38,7 +38,10 @@ def name; end config.disable_monkey_patching! config.around do |example| - ActiveRecord::Base.connection.migration_context.migrate + ActiveRecord::Base.with_connection do |connection| + connection.pool.migration_context.migrate + end + DfE::Analytics::InitialisationEvents.initialisation_events_sent = true example.run end