country_select 9.0.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: facd6ce42fd150f9e08a26dd2aeceb5f4d7d160839de3f27ea20d422825aa2f9
4
- data.tar.gz: b6d83bdb9c22f4a3b9df1a3e3a4b1be2d810ada9425fa5182f142a08d038aa1a
3
+ metadata.gz: ad1367d0d5496b47fad1f2952b50ea69c3debd17fccfa78ba0614d146ac5739f
4
+ data.tar.gz: cedbc815ad549d03c5b8c84c7595b17dc8ca317a20225955f4e87a372e3a03ed
5
5
  SHA512:
6
- metadata.gz: 75597d9af0f7672a1b11be02c26a7ab1eeea508d1364bbcc963785b35c539d07e2bcf39dcd43069fd956c21a0d7181c764533ea3e20a8d23cc805846423bed51
7
- data.tar.gz: 4e48666ead80c190fe3810b28c173bad21a24aaf502243afb64c5b0011868ab9f2ca3c4ffdf8598f44703d58b39e0fecbc24294456adb05309034d2a846725f5
6
+ metadata.gz: 9698b322475af128513c1aa5ca91afcfc8764830b8e5e8e8f2c86892aede617f88218045a63da8ea794d8587bb68427608e3746dbcd8dc6c84177245922304f4
7
+ data.tar.gz: f12aff843e0e7a1f8df6d51b2c3373c983be5b6f98012647f439ea6d34cbec69a9a2ea87885f02949903353eef9a639fc82e48ffbfd08fc2575e7ff8217fb43a
@@ -16,8 +16,8 @@ jobs:
16
16
  strategy:
17
17
  fail-fast: false
18
18
  matrix:
19
- ruby: ['3.0', 3.1, 3.2, 3.3]
20
- gemfile: [6.1, '7.0', 7.1]
19
+ ruby: [3.1, 3.2, 3.3]
20
+ gemfile: [6.1, '7.0', 7.1, 7.2]
21
21
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
22
22
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile
23
23
  CC_TEST_REPORTER_ID: 0d09e6611c01dedd75511b1c60f62329d01729289e06375cfe67cefe67013d9f
@@ -28,6 +28,7 @@ jobs:
28
28
  with:
29
29
  ruby-version: ${{ matrix.ruby }}
30
30
  bundler-cache: true
31
+ cache-version: 9
31
32
  - name: Run tests
32
33
 
33
34
  run: bundle exec rake
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
- TargetRubyVersion: 3.0
3
+ TargetRubyVersion: 3.1
4
4
 
5
5
  Metrics/MethodLength:
6
6
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 10.0.0 2024-09-29
2
+
3
+ * Drop support for Ruby 3.0 (EOL 2024-04-23) (@pmor)
4
+ * Add Rails 7.2 to the test matrix (@pmor)
5
+ * Update countries gem to 7.0.0 (@pmor)
6
+
1
7
  ## 9.0.0 2024-02-17
2
8
 
3
9
  * Drop support for Ruby 2.7, Rails 5.2 and 6.0 (@pmor)
data/Gemfile.lock CHANGED
@@ -1,75 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (8.0.3)
5
- countries (> 5.0, < 7.0)
4
+ country_select (9.0.0)
5
+ countries (> 5.0, < 8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (7.1.3)
11
- actionview (= 7.1.3)
12
- activesupport (= 7.1.3)
10
+ actionpack (7.2.1)
11
+ actionview (= 7.2.1)
12
+ activesupport (= 7.2.1)
13
13
  nokogiri (>= 1.8.5)
14
14
  racc
15
- rack (>= 2.2.4)
15
+ rack (>= 2.2.4, < 3.2)
16
16
  rack-session (>= 1.0.1)
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.2)
19
19
  rails-html-sanitizer (~> 1.6)
20
- actionview (7.1.3)
21
- activesupport (= 7.1.3)
20
+ useragent (~> 0.16)
21
+ actionview (7.2.1)
22
+ activesupport (= 7.2.1)
22
23
  builder (~> 3.1)
23
24
  erubi (~> 1.11)
24
25
  rails-dom-testing (~> 2.2)
25
26
  rails-html-sanitizer (~> 1.6)
26
- activesupport (7.1.3)
27
+ activesupport (7.2.1)
27
28
  base64
28
29
  bigdecimal
29
- concurrent-ruby (~> 1.0, >= 1.0.2)
30
+ concurrent-ruby (~> 1.0, >= 1.3.1)
30
31
  connection_pool (>= 2.2.5)
31
32
  drb
32
33
  i18n (>= 1.6, < 2)
34
+ logger (>= 1.4.2)
33
35
  minitest (>= 5.1)
34
- mutex_m
35
- tzinfo (~> 2.0)
36
+ securerandom (>= 0.3)
37
+ tzinfo (~> 2.0, >= 2.0.5)
36
38
  base64 (0.2.0)
37
- bigdecimal (3.1.6)
38
- builder (3.2.4)
39
+ bigdecimal (3.1.8)
40
+ builder (3.3.0)
39
41
  coderay (1.1.3)
40
- concurrent-ruby (1.2.3)
42
+ concurrent-ruby (1.3.4)
41
43
  connection_pool (2.4.1)
42
- countries (6.0.0)
44
+ countries (7.0.0)
43
45
  unaccent (~> 0.3)
44
46
  crass (1.0.6)
45
47
  diff-lcs (1.5.1)
46
- docile (1.4.0)
47
- drb (2.2.0)
48
- ruby2_keywords
49
- erubi (1.12.0)
50
- i18n (1.14.1)
48
+ docile (1.4.1)
49
+ drb (2.2.1)
50
+ erubi (1.13.0)
51
+ i18n (1.14.6)
51
52
  concurrent-ruby (~> 1.0)
53
+ logger (1.6.1)
52
54
  loofah (2.22.0)
53
55
  crass (~> 1.0.2)
54
56
  nokogiri (>= 1.12.0)
55
- method_source (1.0.0)
56
- mini_portile2 (2.8.5)
57
- minitest (5.22.2)
58
- mutex_m (0.2.0)
59
- nokogiri (1.16.2)
57
+ method_source (1.1.0)
58
+ mini_portile2 (2.8.7)
59
+ minitest (5.25.1)
60
+ nokogiri (1.16.7)
60
61
  mini_portile2 (~> 2.8.2)
61
62
  racc (~> 1.4)
62
- nokogiri (1.16.2-arm64-darwin)
63
+ nokogiri (1.16.7-arm64-darwin)
63
64
  racc (~> 1.4)
64
- nokogiri (1.16.2-x86_64-darwin)
65
+ nokogiri (1.16.7-x86_64-darwin)
65
66
  racc (~> 1.4)
66
- nokogiri (1.16.2-x86_64-linux)
67
+ nokogiri (1.16.7-x86_64-linux)
67
68
  racc (~> 1.4)
68
69
  pry (0.14.2)
69
70
  coderay (~> 1.1)
70
71
  method_source (~> 1.0)
71
- racc (1.7.3)
72
- rack (3.0.9)
72
+ racc (1.8.1)
73
+ rack (3.1.7)
73
74
  rack-session (2.0.0)
74
75
  rack (>= 3.0.0)
75
76
  rack-test (2.1.0)
@@ -81,30 +82,31 @@ GEM
81
82
  rails-html-sanitizer (1.6.0)
82
83
  loofah (~> 2.21)
83
84
  nokogiri (~> 1.14)
84
- rake (13.1.0)
85
+ rake (13.2.1)
85
86
  rspec (3.13.0)
86
87
  rspec-core (~> 3.13.0)
87
88
  rspec-expectations (~> 3.13.0)
88
89
  rspec-mocks (~> 3.13.0)
89
- rspec-core (3.13.0)
90
+ rspec-core (3.13.1)
90
91
  rspec-support (~> 3.13.0)
91
- rspec-expectations (3.13.0)
92
+ rspec-expectations (3.13.3)
92
93
  diff-lcs (>= 1.2.0, < 2.0)
93
94
  rspec-support (~> 3.13.0)
94
- rspec-mocks (3.13.0)
95
+ rspec-mocks (3.13.1)
95
96
  diff-lcs (>= 1.2.0, < 2.0)
96
97
  rspec-support (~> 3.13.0)
97
- rspec-support (3.13.0)
98
- ruby2_keywords (0.0.5)
98
+ rspec-support (3.13.1)
99
+ securerandom (0.3.1)
99
100
  simplecov (0.22.0)
100
101
  docile (~> 1.1)
101
102
  simplecov-html (~> 0.11)
102
103
  simplecov_json_formatter (~> 0.1)
103
- simplecov-html (0.12.3)
104
+ simplecov-html (0.13.1)
104
105
  simplecov_json_formatter (0.1.4)
105
106
  tzinfo (2.0.6)
106
107
  concurrent-ruby (~> 1.0)
107
108
  unaccent (0.4.0)
109
+ useragent (0.16.10)
108
110
 
109
111
  PLATFORMS
110
112
  arm64-darwin-22
@@ -121,4 +123,4 @@ DEPENDENCIES
121
123
  simplecov (~> 0.22)
122
124
 
123
125
  BUNDLED WITH
124
- 2.4.19
126
+ 2.5.11
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Rails – Country Select
2
- [![Gem Version](https://badge.fury.io/rb/country_select.svg)](https://badge.fury.io/rb/countries) [![build](https://github.com/countries/country_select/actions/workflows/test.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/test.yml)
2
+ [![Gem Version](https://badge.fury.io/rb/country_select.svg)](https://badge.fury.io/rb/country_select) [![build](https://github.com/countries/country_select/actions/workflows/test.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/test.yml)
3
3
  [![Code Climate](https://codeclimate.com/github/countries/country_select.svg)](https://codeclimate.com/github/countries/country_select)
4
4
  [![CodeQL](https://github.com/countries/country_select/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/codeql-analysis.yml)
5
5
 
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
25
25
  s.require_paths = ['lib']
26
26
 
27
- s.required_ruby_version = '>= 3.0'
27
+ s.required_ruby_version = '>= 3.1'
28
28
 
29
29
  s.add_development_dependency 'actionpack', '~> 7.0'
30
30
  s.add_development_dependency 'pry', '~> 0'
@@ -32,5 +32,5 @@ Gem::Specification.new do |s|
32
32
  s.add_development_dependency 'rspec', '~> 3'
33
33
  s.add_development_dependency 'simplecov', '~> 0.22'
34
34
 
35
- s.add_dependency 'countries', '> 5.0', '< 7.0'
35
+ s.add_dependency 'countries', '> 5.0', '< 8.0'
36
36
  end
@@ -1,56 +1,56 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (8.0.3)
5
- countries (> 5.0, < 7.0)
4
+ country_select (10.0.0)
5
+ countries (> 5.0, < 8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.1.7.6)
11
- actionview (= 6.1.7.6)
12
- activesupport (= 6.1.7.6)
10
+ actionpack (6.1.7.8)
11
+ actionview (= 6.1.7.8)
12
+ activesupport (= 6.1.7.8)
13
13
  rack (~> 2.0, >= 2.0.9)
14
14
  rack-test (>= 0.6.3)
15
15
  rails-dom-testing (~> 2.0)
16
16
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (6.1.7.6)
18
- activesupport (= 6.1.7.6)
17
+ actionview (6.1.7.8)
18
+ activesupport (= 6.1.7.8)
19
19
  builder (~> 3.1)
20
20
  erubi (~> 1.4)
21
21
  rails-dom-testing (~> 2.0)
22
22
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activesupport (6.1.7.6)
23
+ activesupport (6.1.7.8)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
27
27
  tzinfo (~> 2.0)
28
28
  zeitwerk (~> 2.3)
29
- builder (3.2.4)
29
+ builder (3.3.0)
30
30
  coderay (1.1.3)
31
- concurrent-ruby (1.2.3)
32
- countries (6.0.0)
31
+ concurrent-ruby (1.3.4)
32
+ countries (7.0.0)
33
33
  unaccent (~> 0.3)
34
34
  crass (1.0.6)
35
35
  diff-lcs (1.5.1)
36
- docile (1.4.0)
37
- erubi (1.12.0)
38
- i18n (1.14.1)
36
+ docile (1.4.1)
37
+ erubi (1.13.0)
38
+ i18n (1.14.6)
39
39
  concurrent-ruby (~> 1.0)
40
40
  loofah (2.22.0)
41
41
  crass (~> 1.0.2)
42
42
  nokogiri (>= 1.12.0)
43
- method_source (1.0.0)
44
- mini_portile2 (2.8.5)
45
- minitest (5.22.2)
43
+ method_source (1.1.0)
44
+ mini_portile2 (2.8.7)
45
+ minitest (5.25.1)
46
46
  nokogiri (1.14.0.rc1)
47
47
  mini_portile2 (~> 2.8.0)
48
48
  racc (~> 1.4)
49
49
  pry (0.14.2)
50
50
  coderay (~> 1.1)
51
51
  method_source (~> 1.0)
52
- racc (1.7.3)
53
- rack (2.2.8)
52
+ racc (1.8.1)
53
+ rack (2.2.9)
54
54
  rack-test (2.1.0)
55
55
  rack (>= 1.3)
56
56
  rails-dom-testing (2.2.0)
@@ -59,37 +59,37 @@ GEM
59
59
  nokogiri (>= 1.6)
60
60
  rails-html-sanitizer (1.5.0)
61
61
  loofah (~> 2.19, >= 2.19.1)
62
- railties (6.1.7.6)
63
- actionpack (= 6.1.7.6)
64
- activesupport (= 6.1.7.6)
62
+ railties (6.1.7.8)
63
+ actionpack (= 6.1.7.8)
64
+ activesupport (= 6.1.7.8)
65
65
  method_source
66
66
  rake (>= 12.2)
67
67
  thor (~> 1.0)
68
- rake (13.1.0)
68
+ rake (13.2.1)
69
69
  rspec (3.13.0)
70
70
  rspec-core (~> 3.13.0)
71
71
  rspec-expectations (~> 3.13.0)
72
72
  rspec-mocks (~> 3.13.0)
73
- rspec-core (3.13.0)
73
+ rspec-core (3.13.1)
74
74
  rspec-support (~> 3.13.0)
75
- rspec-expectations (3.13.0)
75
+ rspec-expectations (3.13.3)
76
76
  diff-lcs (>= 1.2.0, < 2.0)
77
77
  rspec-support (~> 3.13.0)
78
- rspec-mocks (3.13.0)
78
+ rspec-mocks (3.13.1)
79
79
  diff-lcs (>= 1.2.0, < 2.0)
80
80
  rspec-support (~> 3.13.0)
81
- rspec-support (3.13.0)
81
+ rspec-support (3.13.1)
82
82
  simplecov (0.22.0)
83
83
  docile (~> 1.1)
84
84
  simplecov-html (~> 0.11)
85
85
  simplecov_json_formatter (~> 0.1)
86
- simplecov-html (0.12.3)
86
+ simplecov-html (0.13.1)
87
87
  simplecov_json_formatter (0.1.4)
88
- thor (1.3.0)
88
+ thor (1.3.2)
89
89
  tzinfo (2.0.6)
90
90
  concurrent-ruby (~> 1.0)
91
91
  unaccent (0.4.0)
92
- zeitwerk (2.6.13)
92
+ zeitwerk (2.6.18)
93
93
 
94
94
  PLATFORMS
95
95
  arm64-darwin-22
@@ -108,4 +108,4 @@ DEPENDENCIES
108
108
  simplecov (~> 0.22)
109
109
 
110
110
  BUNDLED WITH
111
- 2.4.19
111
+ 2.5.18
@@ -1,57 +1,57 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (8.0.3)
5
- countries (> 5.0, < 7.0)
4
+ country_select (10.0.0)
5
+ countries (> 5.0, < 8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (7.0.8)
11
- actionview (= 7.0.8)
12
- activesupport (= 7.0.8)
10
+ actionpack (7.0.8.4)
11
+ actionview (= 7.0.8.4)
12
+ activesupport (= 7.0.8.4)
13
13
  rack (~> 2.0, >= 2.2.4)
14
14
  rack-test (>= 0.6.3)
15
15
  rails-dom-testing (~> 2.0)
16
16
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (7.0.8)
18
- activesupport (= 7.0.8)
17
+ actionview (7.0.8.4)
18
+ activesupport (= 7.0.8.4)
19
19
  builder (~> 3.1)
20
20
  erubi (~> 1.4)
21
21
  rails-dom-testing (~> 2.0)
22
22
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activesupport (7.0.8)
23
+ activesupport (7.0.8.4)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
27
27
  tzinfo (~> 2.0)
28
- builder (3.2.4)
28
+ builder (3.3.0)
29
29
  coderay (1.1.3)
30
- concurrent-ruby (1.2.3)
31
- countries (6.0.0)
30
+ concurrent-ruby (1.3.4)
31
+ countries (7.0.0)
32
32
  unaccent (~> 0.3)
33
33
  crass (1.0.6)
34
34
  diff-lcs (1.5.1)
35
- docile (1.4.0)
36
- erubi (1.12.0)
37
- i18n (1.14.1)
35
+ docile (1.4.1)
36
+ erubi (1.13.0)
37
+ i18n (1.14.6)
38
38
  concurrent-ruby (~> 1.0)
39
39
  loofah (2.22.0)
40
40
  crass (~> 1.0.2)
41
41
  nokogiri (>= 1.12.0)
42
- method_source (1.0.0)
43
- minitest (5.22.2)
44
- nokogiri (1.16.2-arm64-darwin)
42
+ method_source (1.1.0)
43
+ minitest (5.25.1)
44
+ nokogiri (1.16.7-arm64-darwin)
45
45
  racc (~> 1.4)
46
- nokogiri (1.16.2-x86_64-darwin)
46
+ nokogiri (1.16.7-x86_64-darwin)
47
47
  racc (~> 1.4)
48
- nokogiri (1.16.2-x86_64-linux)
48
+ nokogiri (1.16.7-x86_64-linux)
49
49
  racc (~> 1.4)
50
50
  pry (0.14.2)
51
51
  coderay (~> 1.1)
52
52
  method_source (~> 1.0)
53
- racc (1.7.3)
54
- rack (2.2.8)
53
+ racc (1.8.1)
54
+ rack (2.2.9)
55
55
  rack-test (2.1.0)
56
56
  rack (>= 1.3)
57
57
  rails-dom-testing (2.2.0)
@@ -61,38 +61,38 @@ GEM
61
61
  rails-html-sanitizer (1.6.0)
62
62
  loofah (~> 2.21)
63
63
  nokogiri (~> 1.14)
64
- railties (7.0.8)
65
- actionpack (= 7.0.8)
66
- activesupport (= 7.0.8)
64
+ railties (7.0.8.4)
65
+ actionpack (= 7.0.8.4)
66
+ activesupport (= 7.0.8.4)
67
67
  method_source
68
68
  rake (>= 12.2)
69
69
  thor (~> 1.0)
70
70
  zeitwerk (~> 2.5)
71
- rake (13.1.0)
71
+ rake (13.2.1)
72
72
  rspec (3.13.0)
73
73
  rspec-core (~> 3.13.0)
74
74
  rspec-expectations (~> 3.13.0)
75
75
  rspec-mocks (~> 3.13.0)
76
- rspec-core (3.13.0)
76
+ rspec-core (3.13.1)
77
77
  rspec-support (~> 3.13.0)
78
- rspec-expectations (3.13.0)
78
+ rspec-expectations (3.13.3)
79
79
  diff-lcs (>= 1.2.0, < 2.0)
80
80
  rspec-support (~> 3.13.0)
81
- rspec-mocks (3.13.0)
81
+ rspec-mocks (3.13.1)
82
82
  diff-lcs (>= 1.2.0, < 2.0)
83
83
  rspec-support (~> 3.13.0)
84
- rspec-support (3.13.0)
84
+ rspec-support (3.13.1)
85
85
  simplecov (0.22.0)
86
86
  docile (~> 1.1)
87
87
  simplecov-html (~> 0.11)
88
88
  simplecov_json_formatter (~> 0.1)
89
- simplecov-html (0.12.3)
89
+ simplecov-html (0.13.1)
90
90
  simplecov_json_formatter (0.1.4)
91
- thor (1.3.0)
91
+ thor (1.3.2)
92
92
  tzinfo (2.0.6)
93
93
  concurrent-ruby (~> 1.0)
94
94
  unaccent (0.4.0)
95
- zeitwerk (2.6.13)
95
+ zeitwerk (2.6.18)
96
96
 
97
97
  PLATFORMS
98
98
  arm64-darwin-22
@@ -111,4 +111,4 @@ DEPENDENCIES
111
111
  simplecov (~> 0.22)
112
112
 
113
113
  BUNDLED WITH
114
- 2.4.19
114
+ 2.5.18
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (8.0.3)
5
- countries (> 5.0, < 7.0)
4
+ country_select (10.0.0)
5
+ countries (> 5.0, < 8.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (7.1.3)
11
- actionview (= 7.1.3)
12
- activesupport (= 7.1.3)
10
+ actionpack (7.1.4)
11
+ actionview (= 7.1.4)
12
+ activesupport (= 7.1.4)
13
13
  nokogiri (>= 1.8.5)
14
14
  racc
15
15
  rack (>= 2.2.4)
@@ -17,13 +17,13 @@ GEM
17
17
  rack-test (>= 0.6.3)
18
18
  rails-dom-testing (~> 2.2)
19
19
  rails-html-sanitizer (~> 1.6)
20
- actionview (7.1.3)
21
- activesupport (= 7.1.3)
20
+ actionview (7.1.4)
21
+ activesupport (= 7.1.4)
22
22
  builder (~> 3.1)
23
23
  erubi (~> 1.11)
24
24
  rails-dom-testing (~> 2.2)
25
25
  rails-html-sanitizer (~> 1.6)
26
- activesupport (7.1.3)
26
+ activesupport (7.1.4)
27
27
  base64
28
28
  bigdecimal
29
29
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -34,44 +34,43 @@ GEM
34
34
  mutex_m
35
35
  tzinfo (~> 2.0)
36
36
  base64 (0.2.0)
37
- bigdecimal (3.1.6)
38
- builder (3.2.4)
37
+ bigdecimal (3.1.8)
38
+ builder (3.3.0)
39
39
  coderay (1.1.3)
40
- concurrent-ruby (1.2.3)
40
+ concurrent-ruby (1.3.4)
41
41
  connection_pool (2.4.1)
42
- countries (6.0.0)
42
+ countries (7.0.0)
43
43
  unaccent (~> 0.3)
44
44
  crass (1.0.6)
45
45
  diff-lcs (1.5.1)
46
- docile (1.4.0)
47
- drb (2.2.0)
48
- ruby2_keywords
49
- erubi (1.12.0)
50
- i18n (1.14.1)
46
+ docile (1.4.1)
47
+ drb (2.2.1)
48
+ erubi (1.13.0)
49
+ i18n (1.14.6)
51
50
  concurrent-ruby (~> 1.0)
52
51
  io-console (0.7.2)
53
- irb (1.11.2)
54
- rdoc
52
+ irb (1.14.1)
53
+ rdoc (>= 4.0.0)
55
54
  reline (>= 0.4.2)
56
55
  loofah (2.22.0)
57
56
  crass (~> 1.0.2)
58
57
  nokogiri (>= 1.12.0)
59
- method_source (1.0.0)
60
- minitest (5.22.2)
58
+ method_source (1.1.0)
59
+ minitest (5.25.1)
61
60
  mutex_m (0.2.0)
62
- nokogiri (1.16.2-arm64-darwin)
61
+ nokogiri (1.16.7-arm64-darwin)
63
62
  racc (~> 1.4)
64
- nokogiri (1.16.2-x86_64-darwin)
63
+ nokogiri (1.16.7-x86_64-darwin)
65
64
  racc (~> 1.4)
66
- nokogiri (1.16.2-x86_64-linux)
65
+ nokogiri (1.16.7-x86_64-linux)
67
66
  racc (~> 1.4)
68
67
  pry (0.14.2)
69
68
  coderay (~> 1.1)
70
69
  method_source (~> 1.0)
71
70
  psych (5.1.2)
72
71
  stringio
73
- racc (1.7.3)
74
- rack (3.0.9)
72
+ racc (1.8.1)
73
+ rack (3.1.7)
75
74
  rack-session (2.0.0)
76
75
  rack (>= 3.0.0)
77
76
  rack-test (2.1.0)
@@ -86,46 +85,45 @@ GEM
86
85
  rails-html-sanitizer (1.6.0)
87
86
  loofah (~> 2.21)
88
87
  nokogiri (~> 1.14)
89
- railties (7.1.3)
90
- actionpack (= 7.1.3)
91
- activesupport (= 7.1.3)
88
+ railties (7.1.4)
89
+ actionpack (= 7.1.4)
90
+ activesupport (= 7.1.4)
92
91
  irb
93
92
  rackup (>= 1.0.0)
94
93
  rake (>= 12.2)
95
94
  thor (~> 1.0, >= 1.2.2)
96
95
  zeitwerk (~> 2.6)
97
- rake (13.1.0)
98
- rdoc (6.6.2)
96
+ rake (13.2.1)
97
+ rdoc (6.7.0)
99
98
  psych (>= 4.0.0)
100
- reline (0.4.2)
99
+ reline (0.5.10)
101
100
  io-console (~> 0.5)
102
101
  rspec (3.13.0)
103
102
  rspec-core (~> 3.13.0)
104
103
  rspec-expectations (~> 3.13.0)
105
104
  rspec-mocks (~> 3.13.0)
106
- rspec-core (3.13.0)
105
+ rspec-core (3.13.1)
107
106
  rspec-support (~> 3.13.0)
108
- rspec-expectations (3.13.0)
107
+ rspec-expectations (3.13.3)
109
108
  diff-lcs (>= 1.2.0, < 2.0)
110
109
  rspec-support (~> 3.13.0)
111
- rspec-mocks (3.13.0)
110
+ rspec-mocks (3.13.1)
112
111
  diff-lcs (>= 1.2.0, < 2.0)
113
112
  rspec-support (~> 3.13.0)
114
- rspec-support (3.13.0)
115
- ruby2_keywords (0.0.5)
113
+ rspec-support (3.13.1)
116
114
  simplecov (0.22.0)
117
115
  docile (~> 1.1)
118
116
  simplecov-html (~> 0.11)
119
117
  simplecov_json_formatter (~> 0.1)
120
- simplecov-html (0.12.3)
118
+ simplecov-html (0.13.1)
121
119
  simplecov_json_formatter (0.1.4)
122
- stringio (3.1.0)
123
- thor (1.3.0)
120
+ stringio (3.1.1)
121
+ thor (1.3.2)
124
122
  tzinfo (2.0.6)
125
123
  concurrent-ruby (~> 1.0)
126
124
  unaccent (0.4.0)
127
- webrick (1.8.1)
128
- zeitwerk (2.6.13)
125
+ webrick (1.8.2)
126
+ zeitwerk (2.6.18)
129
127
 
130
128
  PLATFORMS
131
129
  arm64-darwin-22
@@ -144,4 +142,4 @@ DEPENDENCIES
144
142
  simplecov (~> 0.22)
145
143
 
146
144
  BUNDLED WITH
147
- 2.4.19
145
+ 2.5.18
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec path: '../'
6
+
7
+ gem 'railties', '~> 7.2.0'
8
+ gem 'actionpack', '~> 7.2.0'
9
+ gem 'nokogiri', '~> 1.16'
@@ -0,0 +1,157 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ country_select (10.0.0)
5
+ countries (> 5.0, < 8.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionpack (7.2.1)
11
+ actionview (= 7.2.1)
12
+ activesupport (= 7.2.1)
13
+ nokogiri (>= 1.8.5)
14
+ racc
15
+ rack (>= 2.2.4, < 3.2)
16
+ rack-session (>= 1.0.1)
17
+ rack-test (>= 0.6.3)
18
+ rails-dom-testing (~> 2.2)
19
+ rails-html-sanitizer (~> 1.6)
20
+ useragent (~> 0.16)
21
+ actionview (7.2.1)
22
+ activesupport (= 7.2.1)
23
+ builder (~> 3.1)
24
+ erubi (~> 1.11)
25
+ rails-dom-testing (~> 2.2)
26
+ rails-html-sanitizer (~> 1.6)
27
+ activesupport (7.2.1)
28
+ base64
29
+ bigdecimal
30
+ concurrent-ruby (~> 1.0, >= 1.3.1)
31
+ connection_pool (>= 2.2.5)
32
+ drb
33
+ i18n (>= 1.6, < 2)
34
+ logger (>= 1.4.2)
35
+ minitest (>= 5.1)
36
+ securerandom (>= 0.3)
37
+ tzinfo (~> 2.0, >= 2.0.5)
38
+ base64 (0.2.0)
39
+ bigdecimal (3.1.8)
40
+ builder (3.3.0)
41
+ coderay (1.1.3)
42
+ concurrent-ruby (1.3.4)
43
+ connection_pool (2.4.1)
44
+ countries (7.0.0)
45
+ unaccent (~> 0.3)
46
+ crass (1.0.6)
47
+ diff-lcs (1.5.1)
48
+ docile (1.4.1)
49
+ drb (2.2.1)
50
+ erubi (1.13.0)
51
+ i18n (1.14.6)
52
+ concurrent-ruby (~> 1.0)
53
+ io-console (0.7.2)
54
+ irb (1.14.1)
55
+ rdoc (>= 4.0.0)
56
+ reline (>= 0.4.2)
57
+ logger (1.6.1)
58
+ loofah (2.22.0)
59
+ crass (~> 1.0.2)
60
+ nokogiri (>= 1.12.0)
61
+ method_source (1.1.0)
62
+ minitest (5.25.1)
63
+ nokogiri (1.16.7-aarch64-linux)
64
+ racc (~> 1.4)
65
+ nokogiri (1.16.7-arm-linux)
66
+ racc (~> 1.4)
67
+ nokogiri (1.16.7-arm64-darwin)
68
+ racc (~> 1.4)
69
+ nokogiri (1.16.7-x86-linux)
70
+ racc (~> 1.4)
71
+ nokogiri (1.16.7-x86_64-darwin)
72
+ racc (~> 1.4)
73
+ nokogiri (1.16.7-x86_64-linux)
74
+ racc (~> 1.4)
75
+ pry (0.14.2)
76
+ coderay (~> 1.1)
77
+ method_source (~> 1.0)
78
+ psych (5.1.2)
79
+ stringio
80
+ racc (1.8.1)
81
+ rack (3.1.7)
82
+ rack-session (2.0.0)
83
+ rack (>= 3.0.0)
84
+ rack-test (2.1.0)
85
+ rack (>= 1.3)
86
+ rackup (2.1.0)
87
+ rack (>= 3)
88
+ webrick (~> 1.8)
89
+ rails-dom-testing (2.2.0)
90
+ activesupport (>= 5.0.0)
91
+ minitest
92
+ nokogiri (>= 1.6)
93
+ rails-html-sanitizer (1.6.0)
94
+ loofah (~> 2.21)
95
+ nokogiri (~> 1.14)
96
+ railties (7.2.1)
97
+ actionpack (= 7.2.1)
98
+ activesupport (= 7.2.1)
99
+ irb (~> 1.13)
100
+ rackup (>= 1.0.0)
101
+ rake (>= 12.2)
102
+ thor (~> 1.0, >= 1.2.2)
103
+ zeitwerk (~> 2.6)
104
+ rake (13.2.1)
105
+ rdoc (6.7.0)
106
+ psych (>= 4.0.0)
107
+ reline (0.5.10)
108
+ io-console (~> 0.5)
109
+ rspec (3.13.0)
110
+ rspec-core (~> 3.13.0)
111
+ rspec-expectations (~> 3.13.0)
112
+ rspec-mocks (~> 3.13.0)
113
+ rspec-core (3.13.1)
114
+ rspec-support (~> 3.13.0)
115
+ rspec-expectations (3.13.3)
116
+ diff-lcs (>= 1.2.0, < 2.0)
117
+ rspec-support (~> 3.13.0)
118
+ rspec-mocks (3.13.1)
119
+ diff-lcs (>= 1.2.0, < 2.0)
120
+ rspec-support (~> 3.13.0)
121
+ rspec-support (3.13.1)
122
+ securerandom (0.3.1)
123
+ simplecov (0.22.0)
124
+ docile (~> 1.1)
125
+ simplecov-html (~> 0.11)
126
+ simplecov_json_formatter (~> 0.1)
127
+ simplecov-html (0.13.1)
128
+ simplecov_json_formatter (0.1.4)
129
+ stringio (3.1.1)
130
+ thor (1.3.2)
131
+ tzinfo (2.0.6)
132
+ concurrent-ruby (~> 1.0)
133
+ unaccent (0.4.0)
134
+ useragent (0.16.10)
135
+ webrick (1.8.2)
136
+ zeitwerk (2.6.18)
137
+
138
+ PLATFORMS
139
+ aarch64-linux
140
+ arm-linux
141
+ arm64-darwin
142
+ x86-linux
143
+ x86_64-darwin
144
+ x86_64-linux
145
+
146
+ DEPENDENCIES
147
+ actionpack (~> 7.2.0)
148
+ country_select!
149
+ nokogiri (~> 1.16)
150
+ pry (~> 0)
151
+ railties (~> 7.2.0)
152
+ rake (~> 13)
153
+ rspec (~> 3)
154
+ simplecov (~> 0.22)
155
+
156
+ BUNDLED WITH
157
+ 2.5.18
@@ -84,7 +84,7 @@ module CountrySelect
84
84
 
85
85
  def options_for_select_with_priority_countries(country_options, tags_options)
86
86
  sorted = @options.fetch(:sort_provided, ::CountrySelect::DEFAULTS[:sort_provided])
87
- priority_countries_options = country_options_for(priority_countries, sorted: sorted)
87
+ priority_countries_options = country_options_for(priority_countries, sorted:)
88
88
 
89
89
  option_tags = priority_options_for_select(priority_countries_options, tags_options)
90
90
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CountrySelect
4
- VERSION = '9.0.0'
4
+ VERSION = '10.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: country_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0
4
+ version: 10.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Penner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-17 00:00:00.000000000 Z
11
+ date: 2024-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '5.0'
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
- version: '7.0'
92
+ version: '8.0'
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: '5.0'
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
- version: '7.0'
102
+ version: '8.0'
103
103
  description: |-
104
104
  Provides a simple helper to get an HTML select list of countries. \
105
105
  The list of countries comes from the ISO 3166 standard. \
@@ -130,6 +130,8 @@ files:
130
130
  - gemfiles/actionpack-7.0.gemfile.lock
131
131
  - gemfiles/actionpack-7.1.gemfile
132
132
  - gemfiles/actionpack-7.1.gemfile.lock
133
+ - gemfiles/actionpack-7.2.gemfile
134
+ - gemfiles/actionpack-7.2.gemfile.lock
133
135
  - lib/country_select.rb
134
136
  - lib/country_select/country_select_helper.rb
135
137
  - lib/country_select/defaults.rb
@@ -154,14 +156,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
156
  requirements:
155
157
  - - ">="
156
158
  - !ruby/object:Gem::Version
157
- version: '3.0'
159
+ version: '3.1'
158
160
  required_rubygems_version: !ruby/object:Gem::Requirement
159
161
  requirements:
160
162
  - - ">="
161
163
  - !ruby/object:Gem::Version
162
164
  version: '0'
163
165
  requirements: []
164
- rubygems_version: 3.5.4
166
+ rubygems_version: 3.5.16
165
167
  signing_key:
166
168
  specification_version: 4
167
169
  summary: Country Select Plugin