country_select 8.0.2 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql-analysis.yml +1 -1
- data/.github/workflows/test.yml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +60 -38
- data/README.md +2 -2
- data/country_select.gemspec +2 -2
- data/gemfiles/actionpack-6.1.gemfile.lock +42 -42
- data/gemfiles/actionpack-7.0.gemfile +1 -1
- data/gemfiles/actionpack-7.0.gemfile.lock +47 -44
- data/gemfiles/actionpack-7.1.gemfile +3 -3
- data/gemfiles/actionpack-7.1.gemfile.lock +77 -63
- data/lib/country_select/country_select_helper.rb +3 -16
- data/lib/country_select/tag_helper.rb +2 -2
- data/lib/country_select/version.rb +1 -1
- data/spec/country_select_spec.rb +4 -66
- metadata +12 -10
- data/gemfiles/actionpack-5.2.gemfile +0 -9
- data/gemfiles/actionpack-5.2.gemfile.lock +0 -110
- data/gemfiles/actionpack-6.0.gemfile +0 -9
- data/gemfiles/actionpack-6.0.gemfile.lock +0 -112
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: facd6ce42fd150f9e08a26dd2aeceb5f4d7d160839de3f27ea20d422825aa2f9
|
4
|
+
data.tar.gz: b6d83bdb9c22f4a3b9df1a3e3a4b1be2d810ada9425fa5182f142a08d038aa1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75597d9af0f7672a1b11be02c26a7ab1eeea508d1364bbcc963785b35c539d07e2bcf39dcd43069fd956c21a0d7181c764533ea3e20a8d23cc805846423bed51
|
7
|
+
data.tar.gz: 4e48666ead80c190fe3810b28c173bad21a24aaf502243afb64c5b0011868ab9f2ca3c4ffdf8598f44703d58b39e0fecbc24294456adb05309034d2a846725f5
|
data/.github/workflows/test.yml
CHANGED
@@ -16,13 +16,13 @@ jobs:
|
|
16
16
|
strategy:
|
17
17
|
fail-fast: false
|
18
18
|
matrix:
|
19
|
-
ruby: [
|
20
|
-
gemfile: [
|
19
|
+
ruby: ['3.0', 3.1, 3.2, 3.3]
|
20
|
+
gemfile: [6.1, '7.0', 7.1]
|
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
|
24
24
|
steps:
|
25
|
-
- uses: actions/checkout@
|
25
|
+
- uses: actions/checkout@v4
|
26
26
|
- name: Set up Ruby ${{ matrix.ruby-version }}
|
27
27
|
uses: ruby/setup-ruby@v1
|
28
28
|
with:
|
@@ -32,5 +32,5 @@ jobs:
|
|
32
32
|
|
33
33
|
run: bundle exec rake
|
34
34
|
- name: Publish code coverage
|
35
|
-
uses: paambaati/codeclimate-action@
|
35
|
+
uses: paambaati/codeclimate-action@v5.0.0
|
36
36
|
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 9.0.0 2024-02-17
|
2
|
+
|
3
|
+
* Drop support for Ruby 2.7, Rails 5.2 and 6.0 (@pmor)
|
4
|
+
* Remove support for deprecated 1.x syntax (@pmor)
|
5
|
+
|
6
|
+
## 8.0.3 2023-10-07
|
7
|
+
|
8
|
+
* Fix when country name is nil. (@zerobearing2)
|
9
|
+
|
1
10
|
## 8.0.2 2023-08-01
|
2
11
|
|
3
12
|
* Code cleanup (@pmor)
|
data/Gemfile.lock
CHANGED
@@ -1,80 +1,101 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
country_select (8.0.
|
5
|
-
countries (
|
4
|
+
country_select (8.0.3)
|
5
|
+
countries (> 5.0, < 7.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (7.
|
11
|
-
actionview (= 7.
|
12
|
-
activesupport (= 7.
|
13
|
-
|
10
|
+
actionpack (7.1.3)
|
11
|
+
actionview (= 7.1.3)
|
12
|
+
activesupport (= 7.1.3)
|
13
|
+
nokogiri (>= 1.8.5)
|
14
|
+
racc
|
15
|
+
rack (>= 2.2.4)
|
16
|
+
rack-session (>= 1.0.1)
|
14
17
|
rack-test (>= 0.6.3)
|
15
|
-
rails-dom-testing (~> 2.
|
16
|
-
rails-html-sanitizer (~> 1.
|
17
|
-
actionview (7.
|
18
|
-
activesupport (= 7.
|
18
|
+
rails-dom-testing (~> 2.2)
|
19
|
+
rails-html-sanitizer (~> 1.6)
|
20
|
+
actionview (7.1.3)
|
21
|
+
activesupport (= 7.1.3)
|
19
22
|
builder (~> 3.1)
|
20
|
-
erubi (~> 1.
|
21
|
-
rails-dom-testing (~> 2.
|
22
|
-
rails-html-sanitizer (~> 1.
|
23
|
-
activesupport (7.
|
23
|
+
erubi (~> 1.11)
|
24
|
+
rails-dom-testing (~> 2.2)
|
25
|
+
rails-html-sanitizer (~> 1.6)
|
26
|
+
activesupport (7.1.3)
|
27
|
+
base64
|
28
|
+
bigdecimal
|
24
29
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
30
|
+
connection_pool (>= 2.2.5)
|
31
|
+
drb
|
25
32
|
i18n (>= 1.6, < 2)
|
26
33
|
minitest (>= 5.1)
|
34
|
+
mutex_m
|
27
35
|
tzinfo (~> 2.0)
|
36
|
+
base64 (0.2.0)
|
37
|
+
bigdecimal (3.1.6)
|
28
38
|
builder (3.2.4)
|
29
39
|
coderay (1.1.3)
|
30
|
-
concurrent-ruby (1.2.
|
31
|
-
|
40
|
+
concurrent-ruby (1.2.3)
|
41
|
+
connection_pool (2.4.1)
|
42
|
+
countries (6.0.0)
|
32
43
|
unaccent (~> 0.3)
|
33
44
|
crass (1.0.6)
|
34
|
-
diff-lcs (1.5.
|
45
|
+
diff-lcs (1.5.1)
|
35
46
|
docile (1.4.0)
|
47
|
+
drb (2.2.0)
|
48
|
+
ruby2_keywords
|
36
49
|
erubi (1.12.0)
|
37
50
|
i18n (1.14.1)
|
38
51
|
concurrent-ruby (~> 1.0)
|
39
|
-
loofah (2.
|
52
|
+
loofah (2.22.0)
|
40
53
|
crass (~> 1.0.2)
|
41
54
|
nokogiri (>= 1.12.0)
|
42
55
|
method_source (1.0.0)
|
43
|
-
|
44
|
-
|
56
|
+
mini_portile2 (2.8.5)
|
57
|
+
minitest (5.22.2)
|
58
|
+
mutex_m (0.2.0)
|
59
|
+
nokogiri (1.16.2)
|
60
|
+
mini_portile2 (~> 2.8.2)
|
45
61
|
racc (~> 1.4)
|
46
|
-
nokogiri (1.
|
62
|
+
nokogiri (1.16.2-arm64-darwin)
|
47
63
|
racc (~> 1.4)
|
48
|
-
nokogiri (1.
|
64
|
+
nokogiri (1.16.2-x86_64-darwin)
|
65
|
+
racc (~> 1.4)
|
66
|
+
nokogiri (1.16.2-x86_64-linux)
|
49
67
|
racc (~> 1.4)
|
50
68
|
pry (0.14.2)
|
51
69
|
coderay (~> 1.1)
|
52
70
|
method_source (~> 1.0)
|
53
|
-
racc (1.7.
|
54
|
-
rack (
|
71
|
+
racc (1.7.3)
|
72
|
+
rack (3.0.9)
|
73
|
+
rack-session (2.0.0)
|
74
|
+
rack (>= 3.0.0)
|
55
75
|
rack-test (2.1.0)
|
56
76
|
rack (>= 1.3)
|
57
|
-
rails-dom-testing (2.
|
77
|
+
rails-dom-testing (2.2.0)
|
58
78
|
activesupport (>= 5.0.0)
|
59
79
|
minitest
|
60
80
|
nokogiri (>= 1.6)
|
61
81
|
rails-html-sanitizer (1.6.0)
|
62
82
|
loofah (~> 2.21)
|
63
83
|
nokogiri (~> 1.14)
|
64
|
-
rake (13.0
|
65
|
-
rspec (3.
|
66
|
-
rspec-core (~> 3.
|
67
|
-
rspec-expectations (~> 3.
|
68
|
-
rspec-mocks (~> 3.
|
69
|
-
rspec-core (3.
|
70
|
-
rspec-support (~> 3.
|
71
|
-
rspec-expectations (3.
|
84
|
+
rake (13.1.0)
|
85
|
+
rspec (3.13.0)
|
86
|
+
rspec-core (~> 3.13.0)
|
87
|
+
rspec-expectations (~> 3.13.0)
|
88
|
+
rspec-mocks (~> 3.13.0)
|
89
|
+
rspec-core (3.13.0)
|
90
|
+
rspec-support (~> 3.13.0)
|
91
|
+
rspec-expectations (3.13.0)
|
72
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
-
rspec-support (~> 3.
|
74
|
-
rspec-mocks (3.
|
93
|
+
rspec-support (~> 3.13.0)
|
94
|
+
rspec-mocks (3.13.0)
|
75
95
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-support (3.
|
96
|
+
rspec-support (~> 3.13.0)
|
97
|
+
rspec-support (3.13.0)
|
98
|
+
ruby2_keywords (0.0.5)
|
78
99
|
simplecov (0.22.0)
|
79
100
|
docile (~> 1.1)
|
80
101
|
simplecov-html (~> 0.11)
|
@@ -87,6 +108,7 @@ GEM
|
|
87
108
|
|
88
109
|
PLATFORMS
|
89
110
|
arm64-darwin-22
|
111
|
+
ruby
|
90
112
|
x86_64-darwin-22
|
91
113
|
x86_64-linux
|
92
114
|
|
@@ -99,4 +121,4 @@ DEPENDENCIES
|
|
99
121
|
simplecov (~> 0.22)
|
100
122
|
|
101
123
|
BUNDLED WITH
|
102
|
-
2.4.
|
124
|
+
2.4.19
|
data/README.md
CHANGED
@@ -187,8 +187,8 @@ end
|
|
187
187
|
## Example Application
|
188
188
|
|
189
189
|
An example Rails application demonstrating the different options is
|
190
|
-
available at [
|
191
|
-
The relevant view files live [here](https://github.com/
|
190
|
+
available at [countries/country_select_demo](https://github.com/countries/country_select_demo) and deployed to [country-select-demo.onrender.com](https://country-select-demo.onrender.com).
|
191
|
+
The relevant view files live [here](https://github.com/countries/country_select_demo/tree/master/app/views/demo).
|
192
192
|
|
193
193
|
## Contributing
|
194
194
|
|
data/country_select.gemspec
CHANGED
@@ -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 = '>=
|
27
|
+
s.required_ruby_version = '>= 3.0'
|
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', '
|
35
|
+
s.add_dependency 'countries', '> 5.0', '< 7.0'
|
36
36
|
end
|
@@ -1,26 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
country_select (8.0.
|
5
|
-
countries (
|
4
|
+
country_select (8.0.3)
|
5
|
+
countries (> 5.0, < 7.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (6.1.7.
|
11
|
-
actionview (= 6.1.7.
|
12
|
-
activesupport (= 6.1.7.
|
10
|
+
actionpack (6.1.7.6)
|
11
|
+
actionview (= 6.1.7.6)
|
12
|
+
activesupport (= 6.1.7.6)
|
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.
|
18
|
-
activesupport (= 6.1.7.
|
17
|
+
actionview (6.1.7.6)
|
18
|
+
activesupport (= 6.1.7.6)
|
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.
|
23
|
+
activesupport (6.1.7.6)
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
25
|
i18n (>= 1.6, < 2)
|
26
26
|
minitest (>= 5.1)
|
@@ -28,72 +28,72 @@ GEM
|
|
28
28
|
zeitwerk (~> 2.3)
|
29
29
|
builder (3.2.4)
|
30
30
|
coderay (1.1.3)
|
31
|
-
concurrent-ruby (1.2.
|
32
|
-
countries (
|
31
|
+
concurrent-ruby (1.2.3)
|
32
|
+
countries (6.0.0)
|
33
33
|
unaccent (~> 0.3)
|
34
34
|
crass (1.0.6)
|
35
|
-
diff-lcs (1.5.
|
35
|
+
diff-lcs (1.5.1)
|
36
36
|
docile (1.4.0)
|
37
37
|
erubi (1.12.0)
|
38
|
-
i18n (1.
|
38
|
+
i18n (1.14.1)
|
39
39
|
concurrent-ruby (~> 1.0)
|
40
|
-
loofah (2.
|
40
|
+
loofah (2.22.0)
|
41
41
|
crass (~> 1.0.2)
|
42
|
-
nokogiri (>= 1.
|
42
|
+
nokogiri (>= 1.12.0)
|
43
43
|
method_source (1.0.0)
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
racc (~> 1.4)
|
49
|
-
nokogiri (1.14.0.rc1-x86_64-linux)
|
44
|
+
mini_portile2 (2.8.5)
|
45
|
+
minitest (5.22.2)
|
46
|
+
nokogiri (1.14.0.rc1)
|
47
|
+
mini_portile2 (~> 2.8.0)
|
50
48
|
racc (~> 1.4)
|
51
49
|
pry (0.14.2)
|
52
50
|
coderay (~> 1.1)
|
53
51
|
method_source (~> 1.0)
|
54
|
-
racc (1.
|
55
|
-
rack (2.2.
|
52
|
+
racc (1.7.3)
|
53
|
+
rack (2.2.8)
|
56
54
|
rack-test (2.1.0)
|
57
55
|
rack (>= 1.3)
|
58
|
-
rails-dom-testing (2.0
|
59
|
-
activesupport (>=
|
56
|
+
rails-dom-testing (2.2.0)
|
57
|
+
activesupport (>= 5.0.0)
|
58
|
+
minitest
|
60
59
|
nokogiri (>= 1.6)
|
61
60
|
rails-html-sanitizer (1.5.0)
|
62
61
|
loofah (~> 2.19, >= 2.19.1)
|
63
|
-
railties (6.1.7.
|
64
|
-
actionpack (= 6.1.7.
|
65
|
-
activesupport (= 6.1.7.
|
62
|
+
railties (6.1.7.6)
|
63
|
+
actionpack (= 6.1.7.6)
|
64
|
+
activesupport (= 6.1.7.6)
|
66
65
|
method_source
|
67
66
|
rake (>= 12.2)
|
68
67
|
thor (~> 1.0)
|
69
|
-
rake (13.0
|
70
|
-
rspec (3.
|
71
|
-
rspec-core (~> 3.
|
72
|
-
rspec-expectations (~> 3.
|
73
|
-
rspec-mocks (~> 3.
|
74
|
-
rspec-core (3.
|
75
|
-
rspec-support (~> 3.
|
76
|
-
rspec-expectations (3.
|
68
|
+
rake (13.1.0)
|
69
|
+
rspec (3.13.0)
|
70
|
+
rspec-core (~> 3.13.0)
|
71
|
+
rspec-expectations (~> 3.13.0)
|
72
|
+
rspec-mocks (~> 3.13.0)
|
73
|
+
rspec-core (3.13.0)
|
74
|
+
rspec-support (~> 3.13.0)
|
75
|
+
rspec-expectations (3.13.0)
|
77
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
78
|
-
rspec-support (~> 3.
|
79
|
-
rspec-mocks (3.
|
77
|
+
rspec-support (~> 3.13.0)
|
78
|
+
rspec-mocks (3.13.0)
|
80
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
-
rspec-support (~> 3.
|
82
|
-
rspec-support (3.
|
80
|
+
rspec-support (~> 3.13.0)
|
81
|
+
rspec-support (3.13.0)
|
83
82
|
simplecov (0.22.0)
|
84
83
|
docile (~> 1.1)
|
85
84
|
simplecov-html (~> 0.11)
|
86
85
|
simplecov_json_formatter (~> 0.1)
|
87
86
|
simplecov-html (0.12.3)
|
88
87
|
simplecov_json_formatter (0.1.4)
|
89
|
-
thor (1.
|
88
|
+
thor (1.3.0)
|
90
89
|
tzinfo (2.0.6)
|
91
90
|
concurrent-ruby (~> 1.0)
|
92
91
|
unaccent (0.4.0)
|
93
|
-
zeitwerk (2.6.
|
92
|
+
zeitwerk (2.6.13)
|
94
93
|
|
95
94
|
PLATFORMS
|
96
95
|
arm64-darwin-22
|
96
|
+
arm64-darwin-23
|
97
97
|
x86_64-darwin-22
|
98
98
|
x86_64-linux
|
99
99
|
|
@@ -108,4 +108,4 @@ DEPENDENCIES
|
|
108
108
|
simplecov (~> 0.22)
|
109
109
|
|
110
110
|
BUNDLED WITH
|
111
|
-
2.4.
|
111
|
+
2.4.19
|
@@ -1,106 +1,109 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
country_select (8.0.
|
5
|
-
countries (
|
4
|
+
country_select (8.0.3)
|
5
|
+
countries (> 5.0, < 7.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (7.0.
|
11
|
-
actionview (= 7.0.
|
12
|
-
activesupport (= 7.0.
|
13
|
-
rack (~> 2.0, >= 2.2.
|
10
|
+
actionpack (7.0.8)
|
11
|
+
actionview (= 7.0.8)
|
12
|
+
activesupport (= 7.0.8)
|
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.
|
18
|
-
activesupport (= 7.0.
|
17
|
+
actionview (7.0.8)
|
18
|
+
activesupport (= 7.0.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 (7.0.
|
23
|
+
activesupport (7.0.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
|
builder (3.2.4)
|
29
29
|
coderay (1.1.3)
|
30
|
-
concurrent-ruby (1.2.
|
31
|
-
countries (
|
30
|
+
concurrent-ruby (1.2.3)
|
31
|
+
countries (6.0.0)
|
32
32
|
unaccent (~> 0.3)
|
33
33
|
crass (1.0.6)
|
34
|
-
diff-lcs (1.5.
|
34
|
+
diff-lcs (1.5.1)
|
35
35
|
docile (1.4.0)
|
36
36
|
erubi (1.12.0)
|
37
|
-
i18n (1.
|
37
|
+
i18n (1.14.1)
|
38
38
|
concurrent-ruby (~> 1.0)
|
39
|
-
loofah (2.
|
39
|
+
loofah (2.22.0)
|
40
40
|
crass (~> 1.0.2)
|
41
|
-
nokogiri (>= 1.
|
41
|
+
nokogiri (>= 1.12.0)
|
42
42
|
method_source (1.0.0)
|
43
|
-
minitest (5.
|
44
|
-
nokogiri (1.
|
43
|
+
minitest (5.22.2)
|
44
|
+
nokogiri (1.16.2-arm64-darwin)
|
45
45
|
racc (~> 1.4)
|
46
|
-
nokogiri (1.
|
46
|
+
nokogiri (1.16.2-x86_64-darwin)
|
47
47
|
racc (~> 1.4)
|
48
|
-
nokogiri (1.
|
48
|
+
nokogiri (1.16.2-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.
|
54
|
-
rack (2.2.
|
53
|
+
racc (1.7.3)
|
54
|
+
rack (2.2.8)
|
55
55
|
rack-test (2.1.0)
|
56
56
|
rack (>= 1.3)
|
57
|
-
rails-dom-testing (2.0
|
58
|
-
activesupport (>=
|
57
|
+
rails-dom-testing (2.2.0)
|
58
|
+
activesupport (>= 5.0.0)
|
59
|
+
minitest
|
59
60
|
nokogiri (>= 1.6)
|
60
|
-
rails-html-sanitizer (1.
|
61
|
-
loofah (~> 2.
|
62
|
-
|
63
|
-
|
64
|
-
|
61
|
+
rails-html-sanitizer (1.6.0)
|
62
|
+
loofah (~> 2.21)
|
63
|
+
nokogiri (~> 1.14)
|
64
|
+
railties (7.0.8)
|
65
|
+
actionpack (= 7.0.8)
|
66
|
+
activesupport (= 7.0.8)
|
65
67
|
method_source
|
66
68
|
rake (>= 12.2)
|
67
69
|
thor (~> 1.0)
|
68
70
|
zeitwerk (~> 2.5)
|
69
|
-
rake (13.0
|
70
|
-
rspec (3.
|
71
|
-
rspec-core (~> 3.
|
72
|
-
rspec-expectations (~> 3.
|
73
|
-
rspec-mocks (~> 3.
|
74
|
-
rspec-core (3.
|
75
|
-
rspec-support (~> 3.
|
76
|
-
rspec-expectations (3.
|
71
|
+
rake (13.1.0)
|
72
|
+
rspec (3.13.0)
|
73
|
+
rspec-core (~> 3.13.0)
|
74
|
+
rspec-expectations (~> 3.13.0)
|
75
|
+
rspec-mocks (~> 3.13.0)
|
76
|
+
rspec-core (3.13.0)
|
77
|
+
rspec-support (~> 3.13.0)
|
78
|
+
rspec-expectations (3.13.0)
|
77
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
78
|
-
rspec-support (~> 3.
|
79
|
-
rspec-mocks (3.
|
80
|
+
rspec-support (~> 3.13.0)
|
81
|
+
rspec-mocks (3.13.0)
|
80
82
|
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
-
rspec-support (~> 3.
|
82
|
-
rspec-support (3.
|
83
|
+
rspec-support (~> 3.13.0)
|
84
|
+
rspec-support (3.13.0)
|
83
85
|
simplecov (0.22.0)
|
84
86
|
docile (~> 1.1)
|
85
87
|
simplecov-html (~> 0.11)
|
86
88
|
simplecov_json_formatter (~> 0.1)
|
87
89
|
simplecov-html (0.12.3)
|
88
90
|
simplecov_json_formatter (0.1.4)
|
89
|
-
thor (1.
|
91
|
+
thor (1.3.0)
|
90
92
|
tzinfo (2.0.6)
|
91
93
|
concurrent-ruby (~> 1.0)
|
92
94
|
unaccent (0.4.0)
|
93
|
-
zeitwerk (2.6.
|
95
|
+
zeitwerk (2.6.13)
|
94
96
|
|
95
97
|
PLATFORMS
|
96
98
|
arm64-darwin-22
|
99
|
+
arm64-darwin-23
|
97
100
|
x86_64-darwin-22
|
98
101
|
x86_64-linux
|
99
102
|
|
100
103
|
DEPENDENCIES
|
101
104
|
actionpack (~> 7.0.0)
|
102
105
|
country_select!
|
103
|
-
nokogiri (
|
106
|
+
nokogiri (~> 1.15)
|
104
107
|
pry (~> 0)
|
105
108
|
railties (~> 7.0.0)
|
106
109
|
rake (~> 13)
|
@@ -108,4 +111,4 @@ DEPENDENCIES
|
|
108
111
|
simplecov (~> 0.22)
|
109
112
|
|
110
113
|
BUNDLED WITH
|
111
|
-
2.4.
|
114
|
+
2.4.19
|
@@ -4,6 +4,6 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
gemspec path: '../'
|
6
6
|
|
7
|
-
gem 'railties', '~> 7.1.0
|
8
|
-
gem 'actionpack', '~> 7.1.0
|
9
|
-
gem 'nokogiri', '~> 1.
|
7
|
+
gem 'railties', '~> 7.1.0'
|
8
|
+
gem 'actionpack', '~> 7.1.0'
|
9
|
+
gem 'nokogiri', '~> 1.15'
|
@@ -1,77 +1,77 @@
|
|
1
|
-
|
2
|
-
remote:
|
3
|
-
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
country_select (8.0.3)
|
5
|
+
countries (> 5.0, < 7.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
4
9
|
specs:
|
5
|
-
actionpack (7.1.
|
6
|
-
actionview (= 7.1.
|
7
|
-
activesupport (= 7.1.
|
10
|
+
actionpack (7.1.3)
|
11
|
+
actionview (= 7.1.3)
|
12
|
+
activesupport (= 7.1.3)
|
8
13
|
nokogiri (>= 1.8.5)
|
14
|
+
racc
|
9
15
|
rack (>= 2.2.4)
|
10
16
|
rack-session (>= 1.0.1)
|
11
17
|
rack-test (>= 0.6.3)
|
12
|
-
rails-dom-testing (~> 2.
|
18
|
+
rails-dom-testing (~> 2.2)
|
13
19
|
rails-html-sanitizer (~> 1.6)
|
14
|
-
actionview (7.1.
|
15
|
-
activesupport (= 7.1.
|
20
|
+
actionview (7.1.3)
|
21
|
+
activesupport (= 7.1.3)
|
16
22
|
builder (~> 3.1)
|
17
23
|
erubi (~> 1.11)
|
18
|
-
rails-dom-testing (~> 2.
|
24
|
+
rails-dom-testing (~> 2.2)
|
19
25
|
rails-html-sanitizer (~> 1.6)
|
20
|
-
activesupport (7.1.
|
26
|
+
activesupport (7.1.3)
|
27
|
+
base64
|
28
|
+
bigdecimal
|
21
29
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
22
30
|
connection_pool (>= 2.2.5)
|
31
|
+
drb
|
23
32
|
i18n (>= 1.6, < 2)
|
24
33
|
minitest (>= 5.1)
|
34
|
+
mutex_m
|
25
35
|
tzinfo (~> 2.0)
|
26
|
-
|
27
|
-
|
28
|
-
activesupport (= 7.1.0.alpha)
|
29
|
-
irb
|
30
|
-
rackup (>= 1.0.0)
|
31
|
-
rake (>= 12.2)
|
32
|
-
thor (~> 1.0, >= 1.2.2)
|
33
|
-
zeitwerk (~> 2.6)
|
34
|
-
|
35
|
-
PATH
|
36
|
-
remote: ..
|
37
|
-
specs:
|
38
|
-
country_select (8.0.1)
|
39
|
-
countries (~> 5.0)
|
40
|
-
|
41
|
-
GEM
|
42
|
-
remote: https://rubygems.org/
|
43
|
-
specs:
|
36
|
+
base64 (0.2.0)
|
37
|
+
bigdecimal (3.1.6)
|
44
38
|
builder (3.2.4)
|
45
39
|
coderay (1.1.3)
|
46
|
-
concurrent-ruby (1.2.
|
40
|
+
concurrent-ruby (1.2.3)
|
47
41
|
connection_pool (2.4.1)
|
48
|
-
countries (
|
42
|
+
countries (6.0.0)
|
49
43
|
unaccent (~> 0.3)
|
50
44
|
crass (1.0.6)
|
51
|
-
diff-lcs (1.5.
|
45
|
+
diff-lcs (1.5.1)
|
52
46
|
docile (1.4.0)
|
47
|
+
drb (2.2.0)
|
48
|
+
ruby2_keywords
|
53
49
|
erubi (1.12.0)
|
54
50
|
i18n (1.14.1)
|
55
51
|
concurrent-ruby (~> 1.0)
|
56
|
-
io-console (0.
|
57
|
-
irb (1.
|
58
|
-
|
59
|
-
|
52
|
+
io-console (0.7.2)
|
53
|
+
irb (1.11.2)
|
54
|
+
rdoc
|
55
|
+
reline (>= 0.4.2)
|
56
|
+
loofah (2.22.0)
|
60
57
|
crass (~> 1.0.2)
|
61
58
|
nokogiri (>= 1.12.0)
|
62
59
|
method_source (1.0.0)
|
63
|
-
minitest (5.
|
64
|
-
|
60
|
+
minitest (5.22.2)
|
61
|
+
mutex_m (0.2.0)
|
62
|
+
nokogiri (1.16.2-arm64-darwin)
|
65
63
|
racc (~> 1.4)
|
66
|
-
nokogiri (1.
|
64
|
+
nokogiri (1.16.2-x86_64-darwin)
|
67
65
|
racc (~> 1.4)
|
68
|
-
nokogiri (1.
|
66
|
+
nokogiri (1.16.2-x86_64-linux)
|
69
67
|
racc (~> 1.4)
|
70
68
|
pry (0.14.2)
|
71
69
|
coderay (~> 1.1)
|
72
70
|
method_source (~> 1.0)
|
73
|
-
|
74
|
-
|
71
|
+
psych (5.1.2)
|
72
|
+
stringio
|
73
|
+
racc (1.7.3)
|
74
|
+
rack (3.0.9)
|
75
75
|
rack-session (2.0.0)
|
76
76
|
rack (>= 3.0.0)
|
77
77
|
rack-test (2.1.0)
|
@@ -79,55 +79,69 @@ GEM
|
|
79
79
|
rackup (2.1.0)
|
80
80
|
rack (>= 3)
|
81
81
|
webrick (~> 1.8)
|
82
|
-
rails-dom-testing (2.0
|
83
|
-
activesupport (>=
|
82
|
+
rails-dom-testing (2.2.0)
|
83
|
+
activesupport (>= 5.0.0)
|
84
|
+
minitest
|
84
85
|
nokogiri (>= 1.6)
|
85
86
|
rails-html-sanitizer (1.6.0)
|
86
87
|
loofah (~> 2.21)
|
87
88
|
nokogiri (~> 1.14)
|
88
|
-
|
89
|
-
|
89
|
+
railties (7.1.3)
|
90
|
+
actionpack (= 7.1.3)
|
91
|
+
activesupport (= 7.1.3)
|
92
|
+
irb
|
93
|
+
rackup (>= 1.0.0)
|
94
|
+
rake (>= 12.2)
|
95
|
+
thor (~> 1.0, >= 1.2.2)
|
96
|
+
zeitwerk (~> 2.6)
|
97
|
+
rake (13.1.0)
|
98
|
+
rdoc (6.6.2)
|
99
|
+
psych (>= 4.0.0)
|
100
|
+
reline (0.4.2)
|
90
101
|
io-console (~> 0.5)
|
91
|
-
rspec (3.
|
92
|
-
rspec-core (~> 3.
|
93
|
-
rspec-expectations (~> 3.
|
94
|
-
rspec-mocks (~> 3.
|
95
|
-
rspec-core (3.
|
96
|
-
rspec-support (~> 3.
|
97
|
-
rspec-expectations (3.
|
102
|
+
rspec (3.13.0)
|
103
|
+
rspec-core (~> 3.13.0)
|
104
|
+
rspec-expectations (~> 3.13.0)
|
105
|
+
rspec-mocks (~> 3.13.0)
|
106
|
+
rspec-core (3.13.0)
|
107
|
+
rspec-support (~> 3.13.0)
|
108
|
+
rspec-expectations (3.13.0)
|
98
109
|
diff-lcs (>= 1.2.0, < 2.0)
|
99
|
-
rspec-support (~> 3.
|
100
|
-
rspec-mocks (3.
|
110
|
+
rspec-support (~> 3.13.0)
|
111
|
+
rspec-mocks (3.13.0)
|
101
112
|
diff-lcs (>= 1.2.0, < 2.0)
|
102
|
-
rspec-support (~> 3.
|
103
|
-
rspec-support (3.
|
113
|
+
rspec-support (~> 3.13.0)
|
114
|
+
rspec-support (3.13.0)
|
115
|
+
ruby2_keywords (0.0.5)
|
104
116
|
simplecov (0.22.0)
|
105
117
|
docile (~> 1.1)
|
106
118
|
simplecov-html (~> 0.11)
|
107
119
|
simplecov_json_formatter (~> 0.1)
|
108
120
|
simplecov-html (0.12.3)
|
109
121
|
simplecov_json_formatter (0.1.4)
|
110
|
-
|
122
|
+
stringio (3.1.0)
|
123
|
+
thor (1.3.0)
|
111
124
|
tzinfo (2.0.6)
|
112
125
|
concurrent-ruby (~> 1.0)
|
113
126
|
unaccent (0.4.0)
|
114
127
|
webrick (1.8.1)
|
115
|
-
zeitwerk (2.6.
|
128
|
+
zeitwerk (2.6.13)
|
116
129
|
|
117
130
|
PLATFORMS
|
118
131
|
arm64-darwin-22
|
132
|
+
arm64-darwin-23
|
119
133
|
x86_64-darwin-22
|
120
134
|
x86_64-linux
|
121
135
|
|
122
136
|
DEPENDENCIES
|
123
|
-
actionpack (~> 7.1.0
|
137
|
+
actionpack (~> 7.1.0)
|
124
138
|
country_select!
|
125
|
-
nokogiri (~> 1.
|
139
|
+
nokogiri (~> 1.15)
|
126
140
|
pry (~> 0)
|
127
|
-
railties (~> 7.1.0
|
141
|
+
railties (~> 7.1.0)
|
128
142
|
rake (~> 13)
|
129
143
|
rspec (~> 3)
|
130
144
|
simplecov (~> 0.22)
|
131
145
|
|
132
146
|
BUNDLED WITH
|
133
|
-
2.4.
|
147
|
+
2.4.19
|
@@ -3,22 +3,9 @@
|
|
3
3
|
module ActionView
|
4
4
|
module Helpers
|
5
5
|
class FormBuilder
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
def country_select(method, priority_or_options = {}, options = {}, html_options = {})
|
10
|
-
if priority_or_options.is_a? Hash
|
11
|
-
html_options = options
|
12
|
-
options = priority_or_options
|
13
|
-
else
|
14
|
-
if RUBY_VERSION =~ /^3\.\d\.\d/
|
15
|
-
warn 'DEPRECATION WARNING: Setting priority countries with the 1.x syntax is deprecated. \
|
16
|
-
Please use the `priority_countries:` option.', uplevel: 1, category: :deprecated
|
17
|
-
else
|
18
|
-
warn 'DEPRECATION WARNING: Setting priority countries with the 1.x syntax is deprecated. \
|
19
|
-
Please use the `priority_countries:` option.', uplevel: 1
|
20
|
-
end
|
21
|
-
options[:priority_countries] = priority_or_options
|
6
|
+
def country_select(method, options = {}, html_options = {})
|
7
|
+
unless options.is_a?(Hash)
|
8
|
+
raise ArgumentError, 'Invalid syntax for country_select method. options must be a hash'
|
22
9
|
end
|
23
10
|
|
24
11
|
@template.country_select(@object_name, method, objectify_options(options), @default_options.merge(html_options))
|
@@ -73,11 +73,11 @@ module CountrySelect
|
|
73
73
|
country_options_for(codes, sorted: sort)
|
74
74
|
end
|
75
75
|
|
76
|
-
def country_options_for(country_codes, sorted:
|
76
|
+
def country_options_for(country_codes, sorted: true)
|
77
77
|
I18n.with_locale(locale) do
|
78
78
|
country_list = country_codes.map { |code_or_name| get_formatted_country(code_or_name) }
|
79
79
|
|
80
|
-
country_list.sort_by! { |name, _| [I18n.transliterate(name), name] } if sorted
|
80
|
+
country_list.sort_by! { |name, _| [I18n.transliterate(name.to_s), name] } if sorted
|
81
81
|
country_list
|
82
82
|
end
|
83
83
|
end
|
data/spec/country_select_spec.rb
CHANGED
@@ -223,73 +223,11 @@ describe 'CountrySelect' do
|
|
223
223
|
end
|
224
224
|
|
225
225
|
context 'using old 1.x syntax' do
|
226
|
-
it '
|
227
|
-
tag = options_for_select(
|
228
|
-
[
|
229
|
-
['Denmark', 'DK'],
|
230
|
-
['Latvia', 'LV'],
|
231
|
-
['United States', 'US'],
|
232
|
-
['-' * 15, '-' * 15]
|
233
|
-
],
|
234
|
-
selected: 'US',
|
235
|
-
disabled: '-' * 15
|
236
|
-
)
|
237
|
-
|
238
|
-
walrus.country_code = 'US'
|
239
|
-
t = builder.country_select(:country_code, %w[LV US DK])
|
240
|
-
expect(t).to include(tag)
|
241
|
-
end
|
242
|
-
|
243
|
-
it 'selects only the first matching option' do
|
244
|
-
tag = options_for_select([['United States', 'US'], ['Uruguay', 'UY']], 'US')
|
226
|
+
it 'raises ArgumentError' do
|
245
227
|
walrus.country_code = 'US'
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
it 'supports the country names as provided by default in Formtastic' do
|
251
|
-
tag = options_for_select([['Australia', 'AU'],
|
252
|
-
['Canada', 'CA'],
|
253
|
-
['United Kingdom', 'GB'],
|
254
|
-
['United States', 'US']])
|
255
|
-
country_names = ['Australia', 'Canada', 'United Kingdom', 'United States']
|
256
|
-
t = builder.country_select(:country_code, country_names)
|
257
|
-
expect(t).to include(tag)
|
258
|
-
end
|
259
|
-
|
260
|
-
it 'raises an error when a country code or name is not found' do
|
261
|
-
country_names = [
|
262
|
-
'United States',
|
263
|
-
'Canada',
|
264
|
-
'United Kingdom',
|
265
|
-
'Mexico',
|
266
|
-
'Australia',
|
267
|
-
'Freedonia'
|
268
|
-
]
|
269
|
-
error_msg = "Could not find Country with string 'Freedonia'"
|
270
|
-
|
271
|
-
expect do
|
272
|
-
builder.country_select(:country_code, country_names)
|
273
|
-
end.to raise_error(CountrySelect::CountryNotFoundError, error_msg)
|
274
|
-
end
|
275
|
-
|
276
|
-
it 'supports the select prompt' do
|
277
|
-
tag = '<option value="">Select your country</option>'
|
278
|
-
t = builder.country_select(:country_code, prompt: 'Select your country')
|
279
|
-
expect(t).to include(tag)
|
280
|
-
end
|
281
|
-
|
282
|
-
it 'supports the include_blank option' do
|
283
|
-
# Rails 6.1 more closely follows the HTML spec for
|
284
|
-
# empty option tags.
|
285
|
-
# https://github.com/rails/rails/pull/39808
|
286
|
-
tag = if ActionView::VERSION::STRING >= '6.1'
|
287
|
-
'<option value="" label=" "></option>'
|
288
|
-
else
|
289
|
-
'<option value=""></option>'
|
290
|
-
end
|
291
|
-
t = builder.country_select(:country_code, include_blank: true)
|
292
|
-
expect(t).to include(tag)
|
228
|
+
expect {
|
229
|
+
builder.country_select(:country_code, %w[LV US DK])
|
230
|
+
}.to raise_error(ArgumentError, 'Invalid syntax for country_select method. options must be a hash')
|
293
231
|
end
|
294
232
|
end
|
295
233
|
|
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:
|
4
|
+
version: 9.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:
|
11
|
+
date: 2024-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -84,16 +84,22 @@ dependencies:
|
|
84
84
|
name: countries
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '5.0'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '7.0'
|
90
93
|
type: :runtime
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
93
96
|
requirements:
|
94
|
-
- - "
|
97
|
+
- - ">"
|
95
98
|
- !ruby/object:Gem::Version
|
96
99
|
version: '5.0'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '7.0'
|
97
103
|
description: |-
|
98
104
|
Provides a simple helper to get an HTML select list of countries. \
|
99
105
|
The list of countries comes from the ISO 3166 standard. \
|
@@ -118,10 +124,6 @@ files:
|
|
118
124
|
- Rakefile
|
119
125
|
- UPGRADING.md
|
120
126
|
- country_select.gemspec
|
121
|
-
- gemfiles/actionpack-5.2.gemfile
|
122
|
-
- gemfiles/actionpack-5.2.gemfile.lock
|
123
|
-
- gemfiles/actionpack-6.0.gemfile
|
124
|
-
- gemfiles/actionpack-6.0.gemfile.lock
|
125
127
|
- gemfiles/actionpack-6.1.gemfile
|
126
128
|
- gemfiles/actionpack-6.1.gemfile.lock
|
127
129
|
- gemfiles/actionpack-7.0.gemfile
|
@@ -152,14 +154,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
152
154
|
requirements:
|
153
155
|
- - ">="
|
154
156
|
- !ruby/object:Gem::Version
|
155
|
-
version: '
|
157
|
+
version: '3.0'
|
156
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
159
|
requirements:
|
158
160
|
- - ">="
|
159
161
|
- !ruby/object:Gem::Version
|
160
162
|
version: '0'
|
161
163
|
requirements: []
|
162
|
-
rubygems_version: 3.4
|
164
|
+
rubygems_version: 3.5.4
|
163
165
|
signing_key:
|
164
166
|
specification_version: 4
|
165
167
|
summary: Country Select Plugin
|
@@ -1,110 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
country_select (8.0.1)
|
5
|
-
countries (~> 5.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionpack (5.2.8.1)
|
11
|
-
actionview (= 5.2.8.1)
|
12
|
-
activesupport (= 5.2.8.1)
|
13
|
-
rack (~> 2.0, >= 2.0.8)
|
14
|
-
rack-test (>= 0.6.3)
|
15
|
-
rails-dom-testing (~> 2.0)
|
16
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
-
actionview (5.2.8.1)
|
18
|
-
activesupport (= 5.2.8.1)
|
19
|
-
builder (~> 3.1)
|
20
|
-
erubi (~> 1.4)
|
21
|
-
rails-dom-testing (~> 2.0)
|
22
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
-
activesupport (5.2.8.1)
|
24
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
-
i18n (>= 0.7, < 2)
|
26
|
-
minitest (~> 5.1)
|
27
|
-
tzinfo (~> 1.1)
|
28
|
-
builder (3.2.4)
|
29
|
-
coderay (1.1.3)
|
30
|
-
concurrent-ruby (1.2.2)
|
31
|
-
countries (5.4.0)
|
32
|
-
unaccent (~> 0.3)
|
33
|
-
crass (1.0.6)
|
34
|
-
diff-lcs (1.5.0)
|
35
|
-
docile (1.4.0)
|
36
|
-
erubi (1.12.0)
|
37
|
-
i18n (1.13.0)
|
38
|
-
concurrent-ruby (~> 1.0)
|
39
|
-
loofah (2.20.0)
|
40
|
-
crass (~> 1.0.2)
|
41
|
-
nokogiri (>= 1.5.9)
|
42
|
-
method_source (1.0.0)
|
43
|
-
minitest (5.18.0)
|
44
|
-
nokogiri (1.14.0.rc1-arm64-darwin)
|
45
|
-
racc (~> 1.4)
|
46
|
-
nokogiri (1.14.0.rc1-x86_64-darwin)
|
47
|
-
racc (~> 1.4)
|
48
|
-
nokogiri (1.14.0.rc1-x86_64-linux)
|
49
|
-
racc (~> 1.4)
|
50
|
-
pry (0.14.2)
|
51
|
-
coderay (~> 1.1)
|
52
|
-
method_source (~> 1.0)
|
53
|
-
racc (1.6.2)
|
54
|
-
rack (2.2.7)
|
55
|
-
rack-test (2.1.0)
|
56
|
-
rack (>= 1.3)
|
57
|
-
rails-dom-testing (2.0.3)
|
58
|
-
activesupport (>= 4.2.0)
|
59
|
-
nokogiri (>= 1.6)
|
60
|
-
rails-html-sanitizer (1.5.0)
|
61
|
-
loofah (~> 2.19, >= 2.19.1)
|
62
|
-
railties (5.2.8.1)
|
63
|
-
actionpack (= 5.2.8.1)
|
64
|
-
activesupport (= 5.2.8.1)
|
65
|
-
method_source
|
66
|
-
rake (>= 0.8.7)
|
67
|
-
thor (>= 0.19.0, < 2.0)
|
68
|
-
rake (13.0.6)
|
69
|
-
rspec (3.12.0)
|
70
|
-
rspec-core (~> 3.12.0)
|
71
|
-
rspec-expectations (~> 3.12.0)
|
72
|
-
rspec-mocks (~> 3.12.0)
|
73
|
-
rspec-core (3.12.2)
|
74
|
-
rspec-support (~> 3.12.0)
|
75
|
-
rspec-expectations (3.12.3)
|
76
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.12.0)
|
78
|
-
rspec-mocks (3.12.5)
|
79
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
-
rspec-support (~> 3.12.0)
|
81
|
-
rspec-support (3.12.0)
|
82
|
-
simplecov (0.22.0)
|
83
|
-
docile (~> 1.1)
|
84
|
-
simplecov-html (~> 0.11)
|
85
|
-
simplecov_json_formatter (~> 0.1)
|
86
|
-
simplecov-html (0.12.3)
|
87
|
-
simplecov_json_formatter (0.1.4)
|
88
|
-
thor (1.2.1)
|
89
|
-
thread_safe (0.3.6)
|
90
|
-
tzinfo (1.2.11)
|
91
|
-
thread_safe (~> 0.1)
|
92
|
-
unaccent (0.4.0)
|
93
|
-
|
94
|
-
PLATFORMS
|
95
|
-
arm64-darwin-22
|
96
|
-
x86_64-darwin-22
|
97
|
-
x86_64-linux
|
98
|
-
|
99
|
-
DEPENDENCIES
|
100
|
-
actionpack (~> 5.2.0)
|
101
|
-
country_select!
|
102
|
-
nokogiri (= 1.14.0.rc1)
|
103
|
-
pry (~> 0)
|
104
|
-
railties (~> 5.2.0)
|
105
|
-
rake (~> 13)
|
106
|
-
rspec (~> 3)
|
107
|
-
simplecov (~> 0.22)
|
108
|
-
|
109
|
-
BUNDLED WITH
|
110
|
-
2.4.2
|
@@ -1,112 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
country_select (8.0.1)
|
5
|
-
countries (~> 5.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionpack (6.0.6.1)
|
11
|
-
actionview (= 6.0.6.1)
|
12
|
-
activesupport (= 6.0.6.1)
|
13
|
-
rack (~> 2.0, >= 2.0.8)
|
14
|
-
rack-test (>= 0.6.3)
|
15
|
-
rails-dom-testing (~> 2.0)
|
16
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
17
|
-
actionview (6.0.6.1)
|
18
|
-
activesupport (= 6.0.6.1)
|
19
|
-
builder (~> 3.1)
|
20
|
-
erubi (~> 1.4)
|
21
|
-
rails-dom-testing (~> 2.0)
|
22
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
23
|
-
activesupport (6.0.6.1)
|
24
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
-
i18n (>= 0.7, < 2)
|
26
|
-
minitest (~> 5.1)
|
27
|
-
tzinfo (~> 1.1)
|
28
|
-
zeitwerk (~> 2.2, >= 2.2.2)
|
29
|
-
builder (3.2.4)
|
30
|
-
coderay (1.1.3)
|
31
|
-
concurrent-ruby (1.2.2)
|
32
|
-
countries (5.4.0)
|
33
|
-
unaccent (~> 0.3)
|
34
|
-
crass (1.0.6)
|
35
|
-
diff-lcs (1.5.0)
|
36
|
-
docile (1.4.0)
|
37
|
-
erubi (1.12.0)
|
38
|
-
i18n (1.13.0)
|
39
|
-
concurrent-ruby (~> 1.0)
|
40
|
-
loofah (2.20.0)
|
41
|
-
crass (~> 1.0.2)
|
42
|
-
nokogiri (>= 1.5.9)
|
43
|
-
method_source (1.0.0)
|
44
|
-
minitest (5.18.0)
|
45
|
-
nokogiri (1.14.0.rc1-arm64-darwin)
|
46
|
-
racc (~> 1.4)
|
47
|
-
nokogiri (1.14.0.rc1-x86_64-darwin)
|
48
|
-
racc (~> 1.4)
|
49
|
-
nokogiri (1.14.0.rc1-x86_64-linux)
|
50
|
-
racc (~> 1.4)
|
51
|
-
pry (0.14.2)
|
52
|
-
coderay (~> 1.1)
|
53
|
-
method_source (~> 1.0)
|
54
|
-
racc (1.6.2)
|
55
|
-
rack (2.2.7)
|
56
|
-
rack-test (2.1.0)
|
57
|
-
rack (>= 1.3)
|
58
|
-
rails-dom-testing (2.0.3)
|
59
|
-
activesupport (>= 4.2.0)
|
60
|
-
nokogiri (>= 1.6)
|
61
|
-
rails-html-sanitizer (1.5.0)
|
62
|
-
loofah (~> 2.19, >= 2.19.1)
|
63
|
-
railties (6.0.6.1)
|
64
|
-
actionpack (= 6.0.6.1)
|
65
|
-
activesupport (= 6.0.6.1)
|
66
|
-
method_source
|
67
|
-
rake (>= 0.8.7)
|
68
|
-
thor (>= 0.20.3, < 2.0)
|
69
|
-
rake (13.0.6)
|
70
|
-
rspec (3.12.0)
|
71
|
-
rspec-core (~> 3.12.0)
|
72
|
-
rspec-expectations (~> 3.12.0)
|
73
|
-
rspec-mocks (~> 3.12.0)
|
74
|
-
rspec-core (3.12.2)
|
75
|
-
rspec-support (~> 3.12.0)
|
76
|
-
rspec-expectations (3.12.3)
|
77
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
78
|
-
rspec-support (~> 3.12.0)
|
79
|
-
rspec-mocks (3.12.5)
|
80
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
-
rspec-support (~> 3.12.0)
|
82
|
-
rspec-support (3.12.0)
|
83
|
-
simplecov (0.22.0)
|
84
|
-
docile (~> 1.1)
|
85
|
-
simplecov-html (~> 0.11)
|
86
|
-
simplecov_json_formatter (~> 0.1)
|
87
|
-
simplecov-html (0.12.3)
|
88
|
-
simplecov_json_formatter (0.1.4)
|
89
|
-
thor (1.2.1)
|
90
|
-
thread_safe (0.3.6)
|
91
|
-
tzinfo (1.2.11)
|
92
|
-
thread_safe (~> 0.1)
|
93
|
-
unaccent (0.4.0)
|
94
|
-
zeitwerk (2.6.8)
|
95
|
-
|
96
|
-
PLATFORMS
|
97
|
-
arm64-darwin-22
|
98
|
-
x86_64-darwin-22
|
99
|
-
x86_64-linux
|
100
|
-
|
101
|
-
DEPENDENCIES
|
102
|
-
actionpack (~> 6.0.0)
|
103
|
-
country_select!
|
104
|
-
nokogiri (= 1.14.0.rc1)
|
105
|
-
pry (~> 0)
|
106
|
-
railties (~> 6.0.0)
|
107
|
-
rake (~> 13)
|
108
|
-
rspec (~> 3)
|
109
|
-
simplecov (~> 0.22)
|
110
|
-
|
111
|
-
BUNDLED WITH
|
112
|
-
2.4.2
|