diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02c71f6..24268e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,11 @@ jobs: strategy: fail-fast: false matrix: - ruby: [3.1, 3.2, 3.3] - gemfile: [6.1, '7.0', 7.1, 7.2] + ruby: [3.1, 3.2, 3.3, 3.4] + gemfile: ['7.0', 7.1, 7.2, '8.0'] + exclude: + - ruby: 3.1 + gemfile: '8.0' env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile CC_TEST_REPORTER_ID: 0d09e6611c01dedd75511b1c60f62329d01729289e06375cfe67cefe67013d9f diff --git a/Gemfile.lock b/Gemfile.lock index 7b9ce49..6e0b79b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,31 +1,31 @@ PATH remote: . specs: - country_select (9.0.0) + country_select (10.0.0) countries (> 5.0, < 8.0) GEM remote: https://rubygems.org/ specs: - actionpack (7.2.1) - actionview (= 7.2.1) - activesupport (= 7.2.1) + actionpack (8.0.1) + actionview (= 8.0.1) + activesupport (= 8.0.1) nokogiri (>= 1.8.5) - racc - rack (>= 2.2.4, < 3.2) + 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) - actionview (7.2.1) - activesupport (= 7.2.1) + actionview (8.0.1) + activesupport (= 8.0.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activesupport (7.2.1) + activesupport (8.0.1) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) @@ -35,8 +35,10 @@ GEM minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) + uri (>= 0.13.1) base64 (0.2.0) - bigdecimal (3.1.8) + benchmark (0.4.0) + bigdecimal (3.1.9) builder (3.3.0) coderay (1.1.3) concurrent-ruby (1.3.4) @@ -47,56 +49,66 @@ GEM diff-lcs (1.5.1) docile (1.4.1) drb (2.2.1) - erubi (1.13.0) + erubi (1.13.1) i18n (1.14.6) concurrent-ruby (~> 1.0) - logger (1.6.1) - loofah (2.22.0) + logger (1.6.4) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - mini_portile2 (2.8.7) - minitest (5.25.1) - nokogiri (1.16.7) + mini_portile2 (2.8.8) + minitest (5.25.4) + nokogiri (1.18.1) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.7-arm64-darwin) + nokogiri (1.18.1-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-x86_64-darwin) + nokogiri (1.18.1-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86_64-linux) + nokogiri (1.18.1-arm-linux-gnu) racc (~> 1.4) - pry (0.14.2) + nokogiri (1.18.1-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-musl) + racc (~> 1.4) + pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) racc (1.8.1) - rack (3.1.7) + rack (3.1.8) rack-session (2.0.0) rack (>= 3.0.0) - rack-test (2.1.0) + rack-test (2.2.0) rack (>= 1.3) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) + 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) rake (13.2.1) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - securerandom (0.3.1) + rspec-support (3.13.2) + securerandom (0.4.1) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) @@ -106,16 +118,23 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unaccent (0.4.0) - useragent (0.16.10) + uri (1.0.2) + useragent (0.16.11) PLATFORMS - arm64-darwin-22 + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin ruby - x86_64-darwin-22 + x86_64-darwin x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES - actionpack (~> 7.0) + actionpack (> 7.0) country_select! pry (~> 0) rake (~> 13) @@ -123,4 +142,4 @@ DEPENDENCIES simplecov (~> 0.22) BUNDLED WITH - 2.5.11 + 2.6.2 diff --git a/country_select.gemspec b/country_select.gemspec index f9f0b24..a0a7665 100644 --- a/country_select.gemspec +++ b/country_select.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 3.1' - s.add_development_dependency 'actionpack', '~> 7.0' + s.add_development_dependency 'actionpack', '> 7.0' s.add_development_dependency 'pry', '~> 0' s.add_development_dependency 'rake', '~> 13' s.add_development_dependency 'rspec', '~> 3' diff --git a/gemfiles/actionpack-6.1.gemfile b/gemfiles/actionpack-6.1.gemfile deleted file mode 100644 index d129371..0000000 --- a/gemfiles/actionpack-6.1.gemfile +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -source 'https://rubygems.org' - -gemspec path: '../' - -gem 'railties', '~> 6.1.0' -gem 'actionpack', '~> 6.1.0' -gem 'nokogiri', '= 1.14.0.rc1' diff --git a/gemfiles/actionpack-6.1.gemfile.lock b/gemfiles/actionpack-6.1.gemfile.lock deleted file mode 100644 index bfd60e4..0000000 --- a/gemfiles/actionpack-6.1.gemfile.lock +++ /dev/null @@ -1,111 +0,0 @@ -PATH - remote: .. - specs: - country_select (10.0.0) - countries (> 5.0, < 8.0) - -GEM - remote: https://rubygems.org/ - specs: - actionpack (6.1.7.8) - actionview (= 6.1.7.8) - activesupport (= 6.1.7.8) - 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.8) - activesupport (= 6.1.7.8) - builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activesupport (6.1.7.8) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - zeitwerk (~> 2.3) - builder (3.3.0) - coderay (1.1.3) - concurrent-ruby (1.3.4) - countries (7.0.0) - unaccent (~> 0.3) - crass (1.0.6) - diff-lcs (1.5.1) - docile (1.4.1) - erubi (1.13.0) - i18n (1.14.6) - concurrent-ruby (~> 1.0) - loofah (2.22.0) - crass (~> 1.0.2) - nokogiri (>= 1.12.0) - method_source (1.1.0) - mini_portile2 (2.8.7) - minitest (5.25.1) - nokogiri (1.14.0.rc1) - mini_portile2 (~> 2.8.0) - racc (~> 1.4) - pry (0.14.2) - coderay (~> 1.1) - method_source (~> 1.0) - racc (1.8.1) - rack (2.2.9) - rack-test (2.1.0) - rack (>= 1.3) - rails-dom-testing (2.2.0) - activesupport (>= 5.0.0) - minitest - nokogiri (>= 1.6) - rails-html-sanitizer (1.5.0) - loofah (~> 2.19, >= 2.19.1) - railties (6.1.7.8) - actionpack (= 6.1.7.8) - activesupport (= 6.1.7.8) - method_source - rake (>= 12.2) - thor (~> 1.0) - rake (13.2.1) - rspec (3.13.0) - rspec-core (~> 3.13.0) - rspec-expectations (~> 3.13.0) - rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) - rspec-support (~> 3.13.0) - rspec-expectations (3.13.3) - 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-support (3.13.1) - simplecov (0.22.0) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov_json_formatter (~> 0.1) - simplecov-html (0.13.1) - simplecov_json_formatter (0.1.4) - thor (1.3.2) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - unaccent (0.4.0) - zeitwerk (2.6.18) - -PLATFORMS - arm64-darwin-22 - arm64-darwin-23 - x86_64-darwin-22 - x86_64-linux - -DEPENDENCIES - actionpack (~> 6.1.0) - country_select! - nokogiri (= 1.14.0.rc1) - pry (~> 0) - railties (~> 6.1.0) - rake (~> 13) - rspec (~> 3) - simplecov (~> 0.22) - -BUNDLED WITH - 2.5.18 diff --git a/gemfiles/actionpack-7.0.gemfile b/gemfiles/actionpack-7.0.gemfile index 248c09e..b424ade 100644 --- a/gemfiles/actionpack-7.0.gemfile +++ b/gemfiles/actionpack-7.0.gemfile @@ -6,4 +6,5 @@ gemspec path: '../' gem 'railties', '~> 7.0.0' gem 'actionpack', '~> 7.0.0' -gem 'nokogiri', '~> 1.15' +gem 'nokogiri', '~> 1.18' +gem 'mutex_m' diff --git a/gemfiles/actionpack-7.0.gemfile.lock b/gemfiles/actionpack-7.0.gemfile.lock index 1992bd6..20314a0 100644 --- a/gemfiles/actionpack-7.0.gemfile.lock +++ b/gemfiles/actionpack-7.0.gemfile.lock @@ -7,20 +7,20 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.0.8.4) - actionview (= 7.0.8.4) - activesupport (= 7.0.8.4) + actionpack (7.0.8.7) + actionview (= 7.0.8.7) + activesupport (= 7.0.8.7) rack (~> 2.0, >= 2.2.4) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actionview (7.0.8.4) - activesupport (= 7.0.8.4) + actionview (7.0.8.7) + activesupport (= 7.0.8.7) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activesupport (7.0.8.4) + activesupport (7.0.8.7) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -33,37 +33,48 @@ GEM crass (1.0.6) diff-lcs (1.5.1) docile (1.4.1) - erubi (1.13.0) + erubi (1.13.1) i18n (1.14.6) concurrent-ruby (~> 1.0) - loofah (2.22.0) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - minitest (5.25.1) - nokogiri (1.16.7-arm64-darwin) + minitest (5.25.4) + mutex_m (0.3.0) + nokogiri (1.18.1-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-x86_64-darwin) + nokogiri (1.18.1-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86_64-linux) + nokogiri (1.18.1-arm-linux-gnu) racc (~> 1.4) - pry (0.14.2) + nokogiri (1.18.1-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-musl) + racc (~> 1.4) + pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) racc (1.8.1) - rack (2.2.9) - rack-test (2.1.0) + rack (2.2.10) + rack-test (2.2.0) rack (>= 1.3) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.0.8.4) - actionpack (= 7.0.8.4) - activesupport (= 7.0.8.4) + 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 (7.0.8.7) + actionpack (= 7.0.8.7) + activesupport (= 7.0.8.7) method_source rake (>= 12.2) thor (~> 1.0) @@ -73,15 +84,15 @@ GEM rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) + rspec-support (3.13.2) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) @@ -95,15 +106,21 @@ GEM zeitwerk (2.6.18) PLATFORMS - arm64-darwin-22 - arm64-darwin-23 - x86_64-darwin-22 + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES actionpack (~> 7.0.0) country_select! - nokogiri (~> 1.15) + mutex_m + nokogiri (~> 1.18) pry (~> 0) railties (~> 7.0.0) rake (~> 13) @@ -111,4 +128,4 @@ DEPENDENCIES simplecov (~> 0.22) BUNDLED WITH - 2.5.18 + 2.6.2 diff --git a/gemfiles/actionpack-7.1.gemfile b/gemfiles/actionpack-7.1.gemfile index e11d183..4de5a95 100644 --- a/gemfiles/actionpack-7.1.gemfile +++ b/gemfiles/actionpack-7.1.gemfile @@ -6,4 +6,4 @@ gemspec path: '../' gem 'railties', '~> 7.1.0' gem 'actionpack', '~> 7.1.0' -gem 'nokogiri', '~> 1.15' +gem 'nokogiri', '~> 1.18' diff --git a/gemfiles/actionpack-7.1.gemfile.lock b/gemfiles/actionpack-7.1.gemfile.lock index e405681..9d41621 100644 --- a/gemfiles/actionpack-7.1.gemfile.lock +++ b/gemfiles/actionpack-7.1.gemfile.lock @@ -7,9 +7,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.1.4) - actionview (= 7.1.4) - activesupport (= 7.1.4) + actionpack (7.1.5.1) + actionview (= 7.1.5.1) + activesupport (= 7.1.5.1) nokogiri (>= 1.8.5) racc rack (>= 2.2.4) @@ -17,24 +17,28 @@ GEM rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actionview (7.1.4) - activesupport (= 7.1.4) + actionview (7.1.5.1) + activesupport (= 7.1.5.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activesupport (7.1.4) + activesupport (7.1.5.1) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) 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) base64 (0.2.0) - bigdecimal (3.1.8) + benchmark (0.4.0) + bigdecimal (3.1.9) builder (3.3.0) coderay (1.1.3) concurrent-ruby (1.3.4) @@ -42,99 +46,116 @@ GEM countries (7.0.0) unaccent (~> 0.3) crass (1.0.6) + date (3.4.1) diff-lcs (1.5.1) docile (1.4.1) drb (2.2.1) - erubi (1.13.0) + erubi (1.13.1) i18n (1.14.6) concurrent-ruby (~> 1.0) - io-console (0.7.2) - irb (1.14.1) + io-console (0.8.0) + irb (1.14.3) rdoc (>= 4.0.0) reline (>= 0.4.2) - loofah (2.22.0) + logger (1.6.4) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - minitest (5.25.1) - mutex_m (0.2.0) - nokogiri (1.16.7-arm64-darwin) + minitest (5.25.4) + mutex_m (0.3.0) + nokogiri (1.18.1-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-x86_64-darwin) + nokogiri (1.18.1-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86_64-linux) + nokogiri (1.18.1-arm-linux-gnu) racc (~> 1.4) - pry (0.14.2) + nokogiri (1.18.1-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-musl) + racc (~> 1.4) + pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) - psych (5.1.2) + psych (5.2.2) + date stringio racc (1.8.1) - rack (3.1.7) + rack (3.1.8) rack-session (2.0.0) rack (>= 3.0.0) - rack-test (2.1.0) + rack-test (2.2.0) rack (>= 1.3) - rackup (2.1.0) + rackup (2.2.1) rack (>= 3) - webrick (~> 1.8) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.1.4) - actionpack (= 7.1.4) - activesupport (= 7.1.4) + 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 (7.1.5.1) + actionpack (= 7.1.5.1) + activesupport (= 7.1.5.1) irb rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rake (13.2.1) - rdoc (6.7.0) + rdoc (6.10.0) psych (>= 4.0.0) - reline (0.5.10) + reline (0.6.0) io-console (~> 0.5) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) + rspec-support (3.13.2) + securerandom (0.4.1) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - stringio (3.1.1) + stringio (3.1.2) thor (1.3.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unaccent (0.4.0) - webrick (1.8.2) zeitwerk (2.6.18) PLATFORMS - arm64-darwin-22 - arm64-darwin-23 - x86_64-darwin-22 + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES actionpack (~> 7.1.0) country_select! - nokogiri (~> 1.15) + nokogiri (~> 1.18) pry (~> 0) railties (~> 7.1.0) rake (~> 13) @@ -142,4 +163,4 @@ DEPENDENCIES simplecov (~> 0.22) BUNDLED WITH - 2.5.18 + 2.6.2 diff --git a/gemfiles/actionpack-7.2.gemfile b/gemfiles/actionpack-7.2.gemfile index 640e481..240028d 100644 --- a/gemfiles/actionpack-7.2.gemfile +++ b/gemfiles/actionpack-7.2.gemfile @@ -6,4 +6,4 @@ gemspec path: '../' gem 'railties', '~> 7.2.0' gem 'actionpack', '~> 7.2.0' -gem 'nokogiri', '~> 1.16' +gem 'nokogiri', '~> 1.18' diff --git a/gemfiles/actionpack-7.2.gemfile.lock b/gemfiles/actionpack-7.2.gemfile.lock index 76924d4..7b36ec6 100644 --- a/gemfiles/actionpack-7.2.gemfile.lock +++ b/gemfiles/actionpack-7.2.gemfile.lock @@ -7,9 +7,9 @@ PATH GEM remote: https://rubygems.org/ specs: - actionpack (7.2.1) - actionview (= 7.2.1) - activesupport (= 7.2.1) + actionpack (7.2.2.1) + actionview (= 7.2.2.1) + activesupport (= 7.2.2.1) nokogiri (>= 1.8.5) racc rack (>= 2.2.4, < 3.2) @@ -18,14 +18,15 @@ GEM rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) useragent (~> 0.16) - actionview (7.2.1) - activesupport (= 7.2.1) + actionview (7.2.2.1) + activesupport (= 7.2.2.1) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activesupport (7.2.1) + activesupport (7.2.2.1) base64 + benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) @@ -36,7 +37,8 @@ GEM securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) base64 (0.2.0) - bigdecimal (3.1.8) + benchmark (0.4.0) + bigdecimal (3.1.9) builder (3.3.0) coderay (1.1.3) concurrent-ruby (1.3.4) @@ -44,109 +46,124 @@ GEM countries (7.0.0) unaccent (~> 0.3) crass (1.0.6) + date (3.4.1) diff-lcs (1.5.1) docile (1.4.1) drb (2.2.1) - erubi (1.13.0) + erubi (1.13.1) i18n (1.14.6) concurrent-ruby (~> 1.0) - io-console (0.7.2) - irb (1.14.1) + io-console (0.8.0) + irb (1.14.3) rdoc (>= 4.0.0) reline (>= 0.4.2) - logger (1.6.1) - loofah (2.22.0) + logger (1.6.4) + loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) method_source (1.1.0) - minitest (5.25.1) - nokogiri (1.16.7-aarch64-linux) + mini_portile2 (2.8.8) + minitest (5.25.4) + nokogiri (1.18.1) + mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.7-arm-linux) + nokogiri (1.18.1-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-arm64-darwin) + nokogiri (1.18.1-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86-linux) + nokogiri (1.18.1-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.16.7-x86_64-darwin) + nokogiri (1.18.1-arm-linux-musl) racc (~> 1.4) - nokogiri (1.16.7-x86_64-linux) + nokogiri (1.18.1-arm64-darwin) racc (~> 1.4) - pry (0.14.2) + nokogiri (1.18.1-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-musl) + racc (~> 1.4) + pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) - psych (5.1.2) + psych (5.2.2) + date stringio racc (1.8.1) - rack (3.1.7) + rack (3.1.8) rack-session (2.0.0) rack (>= 3.0.0) - rack-test (2.1.0) + rack-test (2.2.0) rack (>= 1.3) - rackup (2.1.0) + rackup (2.2.1) rack (>= 3) - webrick (~> 1.8) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.2) loofah (~> 2.21) - nokogiri (~> 1.14) - railties (7.2.1) - actionpack (= 7.2.1) - activesupport (= 7.2.1) + 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 (7.2.2.1) + actionpack (= 7.2.2.1) + activesupport (= 7.2.2.1) irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) zeitwerk (~> 2.6) rake (13.2.1) - rdoc (6.7.0) + rdoc (6.10.0) psych (>= 4.0.0) - reline (0.5.10) + reline (0.6.0) io-console (~> 0.5) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.1) - securerandom (0.3.1) + rspec-support (3.13.2) + securerandom (0.4.1) simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) - stringio (3.1.1) + stringio (3.1.2) thor (1.3.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unaccent (0.4.0) - useragent (0.16.10) - webrick (1.8.2) + useragent (0.16.11) zeitwerk (2.6.18) PLATFORMS aarch64-linux + aarch64-linux-gnu + aarch64-linux-musl arm-linux + arm-linux-gnu + arm-linux-musl arm64-darwin + ruby x86-linux x86_64-darwin x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl DEPENDENCIES actionpack (~> 7.2.0) country_select! - nokogiri (~> 1.16) + nokogiri (~> 1.18) pry (~> 0) railties (~> 7.2.0) rake (~> 13) @@ -154,4 +171,4 @@ DEPENDENCIES simplecov (~> 0.22) BUNDLED WITH - 2.5.18 + 2.6.2 diff --git a/gemfiles/actionpack-8.0.gemfile b/gemfiles/actionpack-8.0.gemfile new file mode 100644 index 0000000..7e2c05d --- /dev/null +++ b/gemfiles/actionpack-8.0.gemfile @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +gemspec path: '../' + +gem 'railties', '~> 8.0.0' +gem 'actionpack', '~> 8.0.0' +gem 'nokogiri', '~> 1.18' diff --git a/gemfiles/actionpack-8.0.gemfile.lock b/gemfiles/actionpack-8.0.gemfile.lock new file mode 100644 index 0000000..ae759b2 --- /dev/null +++ b/gemfiles/actionpack-8.0.gemfile.lock @@ -0,0 +1,167 @@ +PATH + remote: .. + specs: + country_select (10.0.0) + countries (> 5.0, < 8.0) + +GEM + remote: https://rubygems.org/ + specs: + actionpack (8.0.1) + actionview (= 8.0.1) + activesupport (= 8.0.1) + 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) + actionview (8.0.1) + activesupport (= 8.0.1) + builder (~> 3.1) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (8.0.1) + base64 + benchmark (>= 0.3) + 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) + uri (>= 0.13.1) + base64 (0.2.0) + benchmark (0.4.0) + bigdecimal (3.1.9) + builder (3.3.0) + coderay (1.1.3) + concurrent-ruby (1.3.4) + connection_pool (2.4.1) + countries (7.0.0) + unaccent (~> 0.3) + crass (1.0.6) + date (3.4.1) + diff-lcs (1.5.1) + docile (1.4.1) + drb (2.2.1) + erubi (1.13.1) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + io-console (0.8.0) + irb (1.14.3) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + logger (1.6.4) + loofah (2.24.0) + crass (~> 1.0.2) + nokogiri (>= 1.12.0) + method_source (1.1.0) + minitest (5.25.4) + nokogiri (1.18.1-aarch64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-aarch64-linux-musl) + racc (~> 1.4) + nokogiri (1.18.1-arm-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-arm-linux-musl) + racc (~> 1.4) + nokogiri (1.18.1-arm64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-gnu) + racc (~> 1.4) + nokogiri (1.18.1-x86_64-linux-musl) + racc (~> 1.4) + pry (0.15.2) + coderay (~> 1.1) + method_source (~> 1.0) + psych (5.2.2) + date + stringio + racc (1.8.1) + rack (3.1.8) + rack-session (2.0.0) + rack (>= 3.0.0) + rack-test (2.2.0) + rack (>= 1.3) + rackup (2.2.1) + rack (>= 3) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest + nokogiri (>= 1.6) + rails-html-sanitizer (1.6.2) + loofah (~> 2.21) + 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.0.1) + actionpack (= 8.0.1) + activesupport (= 8.0.1) + irb (~> 1.13) + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) + rake (13.2.1) + rdoc (6.10.0) + psych (>= 4.0.0) + reline (0.6.0) + io-console (~> 0.5) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.2) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.2) + securerandom (0.4.1) + simplecov (0.22.0) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + simplecov-html (0.13.1) + simplecov_json_formatter (0.1.4) + stringio (3.1.2) + thor (1.3.2) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + unaccent (0.4.0) + uri (1.0.2) + useragent (0.16.11) + zeitwerk (2.7.1) + +PLATFORMS + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-gnu + arm-linux-musl + arm64-darwin + x86_64-darwin + x86_64-linux + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + actionpack (~> 8.0.0) + country_select! + nokogiri (~> 1.18) + pry (~> 0) + railties (~> 8.0.0) + rake (~> 13) + rspec (~> 3) + simplecov (~> 0.22) + +BUNDLED WITH + 2.6.2 diff --git a/spec/country_select_spec.rb b/spec/country_select_spec.rb index 6503770..1bbedff 100644 --- a/spec/country_select_spec.rb +++ b/spec/country_select_spec.rb @@ -2,6 +2,7 @@ require 'spec_helper' +require 'uri' require 'action_view' require 'country_select'