country_select 5.0.1 → 6.1.1
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 +4 -4
- data/.github/workflows/build.yml +30 -0
- data/CHANGELOG.md +18 -0
- data/Gemfile.lock +33 -33
- data/README.md +20 -7
- data/Rakefile +0 -2
- data/country_select.gemspec +3 -4
- data/gemfiles/actionpack-5.2.gemfile +6 -0
- data/gemfiles/{actionpack5.2.gemfile.lock → actionpack-5.2.gemfile.lock} +40 -35
- data/gemfiles/actionpack-6.0.gemfile +6 -0
- data/gemfiles/{actionpack6.1.gemfile.lock → actionpack-6.0.gemfile.lock} +42 -37
- data/gemfiles/actionpack-6.1.gemfile +6 -0
- data/gemfiles/actionpack-6.1.gemfile.lock +112 -0
- data/gemfiles/actionpack-7.0.gemfile +6 -0
- data/gemfiles/{actionpack6.0.gemfile.lock → actionpack-7.0.gemfile.lock} +50 -46
- data/gemfiles/{actionpack.edge.gemfile → actionpack-head.gemfile} +0 -0
- data/gemfiles/{actionpack.edge.gemfile.lock → actionpack-head.gemfile.lock} +36 -33
- data/lib/country_select/defaults.rb +10 -0
- data/lib/country_select/formats.rb +1 -1
- data/lib/country_select/tag_helper.rb +7 -7
- data/lib/country_select/version.rb +1 -1
- data/lib/country_select.rb +1 -0
- data/lib/country_select_without_sort_alphabetical.rb +1 -0
- data/spec/country_select_spec.rb +21 -4
- metadata +23 -34
- data/.travis.yml +0 -23
- data/gemfiles/actionpack5.2.gemfile +0 -6
- data/gemfiles/actionpack6.0.gemfile +0 -6
- data/gemfiles/actionpack6.1.gemfile +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca4f63875164172c98c1b54c7c4aef325ab363a0d8e863fcb49b2878320dfca5
|
|
4
|
+
data.tar.gz: 6b5830267c05073fd5aa040894e6d0405777112d598260efabc29fee8ae5c44d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d749348579f486f25978eb5dce669bc316e7741061ed2296bf1ff6be7ca42a2a13a8d746b51bc36fb229570b61374296b7e15cd8c553d3468c47bd5d7b06c44a
|
|
7
|
+
data.tar.gz: 683b72dffbe2de310f34be6b220f5773d70a196f11e8a1e0da639d7c19f5cc26fe4893502c339246984c4cdfbad30ac10cea202b95d0e6dcf343d845ad3843e5
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: build
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
branches:
|
|
5
|
+
- '*'
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- master
|
|
9
|
+
jobs:
|
|
10
|
+
build:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
fail-fast: false
|
|
14
|
+
matrix:
|
|
15
|
+
ruby: [2.6, 2.7, '3.0', 3.1]
|
|
16
|
+
gemfile: [5.2, '6.0', 6.1, '7.0']
|
|
17
|
+
exclude:
|
|
18
|
+
- ruby: 2.6
|
|
19
|
+
gemfile: head
|
|
20
|
+
- ruby: 2.6
|
|
21
|
+
gemfile: '7.0'
|
|
22
|
+
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
|
23
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v2
|
|
26
|
+
- uses: ruby/setup-ruby@v1
|
|
27
|
+
with:
|
|
28
|
+
ruby-version: ${{ matrix.ruby }}
|
|
29
|
+
bundler-cache: true
|
|
30
|
+
- run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 6.1.1 2022-01-20
|
|
2
|
+
|
|
3
|
+
* #195 - Fix deprecation warning on find_by_name (@filipemendespi)
|
|
4
|
+
|
|
5
|
+
## 6.1.0 2022-01-16
|
|
6
|
+
|
|
7
|
+
* #190 - Upgrade to countries 4.2 (@pmor)
|
|
8
|
+
* #191 - Add Rails 7 + Ruby 3.1 to build (@scudco)
|
|
9
|
+
|
|
10
|
+
## 6.0.0 2021-06-28
|
|
11
|
+
|
|
12
|
+
* #186 - Upgrade to countries 4.0.0 (@pmor)
|
|
13
|
+
|
|
14
|
+
## 5.1.0 2021-05-18
|
|
15
|
+
|
|
16
|
+
* #184 - Add ability to configure defaults (@p-wall)
|
|
17
|
+
* Upgrade to countries 3.1.0
|
|
18
|
+
|
|
1
19
|
## 5.0.1 2021-03-08
|
|
2
20
|
|
|
3
21
|
* #181 - Fix i18n fallback in country translations (@lavaturtle)
|
data/Gemfile.lock
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
country_select (
|
|
5
|
-
countries (~>
|
|
4
|
+
country_select (6.1.1)
|
|
5
|
+
countries (~> 4.2)
|
|
6
6
|
sort_alphabetical (~> 1.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionpack (
|
|
12
|
-
actionview (=
|
|
13
|
-
activesupport (=
|
|
14
|
-
rack (~> 2.0, >= 2.0
|
|
11
|
+
actionpack (7.0.1)
|
|
12
|
+
actionview (= 7.0.1)
|
|
13
|
+
activesupport (= 7.0.1)
|
|
14
|
+
rack (~> 2.0, >= 2.2.0)
|
|
15
15
|
rack-test (>= 0.6.3)
|
|
16
16
|
rails-dom-testing (~> 2.0)
|
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
18
|
-
actionview (
|
|
19
|
-
activesupport (=
|
|
18
|
+
actionview (7.0.1)
|
|
19
|
+
activesupport (= 7.0.1)
|
|
20
20
|
builder (~> 3.1)
|
|
21
21
|
erubi (~> 1.4)
|
|
22
22
|
rails-dom-testing (~> 2.0)
|
|
23
23
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
24
|
-
activesupport (
|
|
24
|
+
activesupport (7.0.1)
|
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
26
26
|
i18n (>= 1.6, < 2)
|
|
27
27
|
minitest (>= 5.1)
|
|
28
28
|
tzinfo (~> 2.0)
|
|
29
|
-
zeitwerk (~> 2.3)
|
|
30
29
|
builder (3.2.4)
|
|
31
30
|
coderay (1.1.3)
|
|
32
|
-
concurrent-ruby (1.1.
|
|
33
|
-
countries (
|
|
34
|
-
i18n_data (~> 0.
|
|
31
|
+
concurrent-ruby (1.1.9)
|
|
32
|
+
countries (4.2.1)
|
|
33
|
+
i18n_data (~> 0.15.0)
|
|
35
34
|
sixarm_ruby_unaccent (~> 1.1)
|
|
36
|
-
unicode_utils (~> 1.4)
|
|
37
35
|
crass (1.0.6)
|
|
38
|
-
diff-lcs (1.
|
|
36
|
+
diff-lcs (1.5.0)
|
|
39
37
|
erubi (1.10.0)
|
|
40
|
-
i18n (1.8.
|
|
38
|
+
i18n (1.8.11)
|
|
41
39
|
concurrent-ruby (~> 1.0)
|
|
42
|
-
i18n_data (0.
|
|
43
|
-
|
|
40
|
+
i18n_data (0.15.0)
|
|
41
|
+
simple_po_parser (~> 1.1)
|
|
42
|
+
loofah (2.13.0)
|
|
44
43
|
crass (~> 1.0.2)
|
|
45
44
|
nokogiri (>= 1.5.9)
|
|
46
45
|
method_source (1.0.0)
|
|
47
|
-
mini_portile2 (2.
|
|
48
|
-
minitest (5.
|
|
49
|
-
nokogiri (1.
|
|
50
|
-
mini_portile2 (~> 2.
|
|
46
|
+
mini_portile2 (2.7.1)
|
|
47
|
+
minitest (5.15.0)
|
|
48
|
+
nokogiri (1.13.1)
|
|
49
|
+
mini_portile2 (~> 2.7.0)
|
|
51
50
|
racc (~> 1.4)
|
|
52
|
-
|
|
51
|
+
nokogiri (1.13.1-x86_64-linux)
|
|
52
|
+
racc (~> 1.4)
|
|
53
|
+
pry (0.14.1)
|
|
53
54
|
coderay (~> 1.1)
|
|
54
55
|
method_source (~> 1.0)
|
|
55
|
-
racc (1.
|
|
56
|
+
racc (1.6.0)
|
|
56
57
|
rack (2.2.3)
|
|
57
58
|
rack-test (1.1.0)
|
|
58
59
|
rack (>= 1.0, < 3)
|
|
59
60
|
rails-dom-testing (2.0.3)
|
|
60
61
|
activesupport (>= 4.2.0)
|
|
61
62
|
nokogiri (>= 1.6)
|
|
62
|
-
rails-html-sanitizer (1.
|
|
63
|
+
rails-html-sanitizer (1.4.2)
|
|
63
64
|
loofah (~> 2.3)
|
|
64
|
-
rake (13.0.
|
|
65
|
+
rake (13.0.6)
|
|
65
66
|
rspec (3.10.0)
|
|
66
67
|
rspec-core (~> 3.10.0)
|
|
67
68
|
rspec-expectations (~> 3.10.0)
|
|
68
69
|
rspec-mocks (~> 3.10.0)
|
|
69
70
|
rspec-core (3.10.1)
|
|
70
71
|
rspec-support (~> 3.10.0)
|
|
71
|
-
rspec-expectations (3.10.
|
|
72
|
+
rspec-expectations (3.10.2)
|
|
72
73
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
73
74
|
rspec-support (~> 3.10.0)
|
|
74
75
|
rspec-mocks (3.10.2)
|
|
75
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
76
77
|
rspec-support (~> 3.10.0)
|
|
77
|
-
rspec-support (3.10.
|
|
78
|
+
rspec-support (3.10.3)
|
|
79
|
+
simple_po_parser (1.1.5)
|
|
78
80
|
sixarm_ruby_unaccent (1.2.0)
|
|
79
81
|
sort_alphabetical (1.1.0)
|
|
80
82
|
unicode_utils (>= 1.2.2)
|
|
81
83
|
tzinfo (2.0.4)
|
|
82
84
|
concurrent-ruby (~> 1.0)
|
|
83
85
|
unicode_utils (1.4.0)
|
|
84
|
-
wwtd (1.4.1)
|
|
85
|
-
zeitwerk (2.4.2)
|
|
86
86
|
|
|
87
87
|
PLATFORMS
|
|
88
88
|
ruby
|
|
89
|
+
x86_64-linux
|
|
89
90
|
|
|
90
91
|
DEPENDENCIES
|
|
91
|
-
actionpack (~>
|
|
92
|
+
actionpack (~> 7.0)
|
|
92
93
|
country_select!
|
|
93
94
|
pry (~> 0)
|
|
94
95
|
rake (~> 13)
|
|
95
96
|
rspec (~> 3)
|
|
96
|
-
wwtd (~> 1)
|
|
97
97
|
|
|
98
98
|
BUNDLED WITH
|
|
99
|
-
2.
|
|
99
|
+
2.3.3
|
data/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Rails – Country Select
|
|
2
|
-
[](https://github.com/stefanpenner/country_select/actions/workflows/build.yml)
|
|
3
3
|
|
|
4
4
|
Provides a simple helper to get an HTML select list of countries using the
|
|
5
5
|
[ISO 3166-1 standard](https://en.wikipedia.org/wiki/ISO_3166-1).
|
|
@@ -26,7 +26,7 @@ gem install country_select
|
|
|
26
26
|
Or put the following in your Gemfile
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem 'country_select', '~>
|
|
29
|
+
gem 'country_select', '~> 6.0'
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
If you don't want to require `sort_alphabetical` (it depends on `unicode_utils` which is known to use lots of memory) you can opt out of using it as follows:
|
|
@@ -95,19 +95,19 @@ country_select("user", "country", { priority_countries: ["GB", "FR"], selected:
|
|
|
95
95
|
### Using a custom formatter
|
|
96
96
|
|
|
97
97
|
You can define a custom formatter which will receive an
|
|
98
|
-
[`ISO3166::Country`](https://github.com/
|
|
98
|
+
[`ISO3166::Country`](https://github.com/countries/countries/blob/master/lib/countries/country.rb)
|
|
99
99
|
```ruby
|
|
100
100
|
# config/initializers/country_select.rb
|
|
101
101
|
|
|
102
102
|
# Return a string to customize the text in the <option> tag, `value` attribute will remain unchanged
|
|
103
103
|
CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
|
|
104
|
-
"#{country.
|
|
104
|
+
"#{country.iso_short_name} (#{country.alpha2})"
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
# Return an array to customize <option> text, `value` and other HTML attributes
|
|
108
108
|
CountrySelect::FORMATS[:with_data_attrs] = lambda do |country|
|
|
109
109
|
[
|
|
110
|
-
country.
|
|
110
|
+
country.iso_short_name,
|
|
111
111
|
country.alpha2,
|
|
112
112
|
{
|
|
113
113
|
'data-country-code' => country.country_code,
|
|
@@ -122,6 +122,19 @@ country_select("user", "country", format: :with_alpha2)
|
|
|
122
122
|
country_select("user", "country", format: :with_data_attrs)
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
+
### Using customized defaults
|
|
126
|
+
|
|
127
|
+
You can configure overridable defaults for `except`, `format`, `locale`,
|
|
128
|
+
`only`, `priority_countries` and `priority_countries_divider` in an initializer.
|
|
129
|
+
|
|
130
|
+
````ruby
|
|
131
|
+
# config/initializers/country_select.rb
|
|
132
|
+
|
|
133
|
+
CountrySelect::DEFAULTS[:except] = [ "ZZ" ]
|
|
134
|
+
````
|
|
135
|
+
|
|
136
|
+
The example would exclude "ZZ" from every `country_select` tag, where no `except` option is given.
|
|
137
|
+
|
|
125
138
|
### ISO 3166-1 alpha-2 codes
|
|
126
139
|
The `option` tags use ISO 3166-1 alpha-2 codes as values and the country
|
|
127
140
|
names as display strings. For example, the United States would appear as
|
|
@@ -129,7 +142,7 @@ names as display strings. For example, the United States would appear as
|
|
|
129
142
|
|
|
130
143
|
Country names are automatically localized based on the value of
|
|
131
144
|
`I18n.locale` thanks to the wonderful
|
|
132
|
-
[countries gem](https://github.com/
|
|
145
|
+
[countries gem](https://github.com/countries/countries/).
|
|
133
146
|
|
|
134
147
|
Current translations include:
|
|
135
148
|
|
|
@@ -164,7 +177,7 @@ class User < ActiveRecord::Base
|
|
|
164
177
|
# (usually English) name if no translation is available
|
|
165
178
|
def country_name
|
|
166
179
|
country = ISO3166::Country[country_code]
|
|
167
|
-
country.translations[I18n.locale.to_s] || country.
|
|
180
|
+
country.translations[I18n.locale.to_s] || country.iso_short_name
|
|
168
181
|
end
|
|
169
182
|
|
|
170
183
|
end
|
data/Rakefile
CHANGED
data/country_select.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.licenses = ['MIT']
|
|
9
9
|
s.authors = ['Stefan Penner']
|
|
10
10
|
s.email = ['stefan.penner@gmail.com']
|
|
11
|
-
s.homepage = 'https://github.com/
|
|
11
|
+
s.homepage = 'https://github.com/countries/country_select'
|
|
12
12
|
s.summary = %q{Country Select Plugin}
|
|
13
13
|
s.description = %q{Provides a simple helper to get an HTML select list of countries. The list of countries comes from the ISO 3166 standard. While it is a relatively neutral source of country names, it will still offend some users.}
|
|
14
14
|
|
|
@@ -19,12 +19,11 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
|
|
20
20
|
s.required_ruby_version = '>= 2.5'
|
|
21
21
|
|
|
22
|
-
s.add_development_dependency 'actionpack', '~>
|
|
22
|
+
s.add_development_dependency 'actionpack', '~> 7.0'
|
|
23
23
|
s.add_development_dependency 'pry', '~> 0'
|
|
24
24
|
s.add_development_dependency 'rake', '~> 13'
|
|
25
25
|
s.add_development_dependency 'rspec', '~> 3'
|
|
26
|
-
s.add_development_dependency 'wwtd', '~> 1'
|
|
27
26
|
|
|
28
|
-
s.add_dependency 'countries', '~>
|
|
27
|
+
s.add_dependency 'countries', '~> 4.2'
|
|
29
28
|
s.add_dependency 'sort_alphabetical', '~> 1.1'
|
|
30
29
|
end
|
|
@@ -1,106 +1,111 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ..
|
|
3
3
|
specs:
|
|
4
|
-
country_select (
|
|
5
|
-
countries (~>
|
|
4
|
+
country_select (6.1.1)
|
|
5
|
+
countries (~> 4.2)
|
|
6
6
|
sort_alphabetical (~> 1.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionpack (5.2.
|
|
12
|
-
actionview (= 5.2.
|
|
13
|
-
activesupport (= 5.2.
|
|
11
|
+
actionpack (5.2.6)
|
|
12
|
+
actionview (= 5.2.6)
|
|
13
|
+
activesupport (= 5.2.6)
|
|
14
14
|
rack (~> 2.0, >= 2.0.8)
|
|
15
15
|
rack-test (>= 0.6.3)
|
|
16
16
|
rails-dom-testing (~> 2.0)
|
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
18
|
-
actionview (5.2.
|
|
19
|
-
activesupport (= 5.2.
|
|
18
|
+
actionview (5.2.6)
|
|
19
|
+
activesupport (= 5.2.6)
|
|
20
20
|
builder (~> 3.1)
|
|
21
21
|
erubi (~> 1.4)
|
|
22
22
|
rails-dom-testing (~> 2.0)
|
|
23
23
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
24
|
-
activesupport (5.2.
|
|
24
|
+
activesupport (5.2.6)
|
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
26
26
|
i18n (>= 0.7, < 2)
|
|
27
27
|
minitest (~> 5.1)
|
|
28
28
|
tzinfo (~> 1.1)
|
|
29
29
|
builder (3.2.4)
|
|
30
30
|
coderay (1.1.3)
|
|
31
|
-
concurrent-ruby (1.1.
|
|
32
|
-
countries (
|
|
33
|
-
i18n_data (~> 0.
|
|
31
|
+
concurrent-ruby (1.1.9)
|
|
32
|
+
countries (4.2.1)
|
|
33
|
+
i18n_data (~> 0.15.0)
|
|
34
34
|
sixarm_ruby_unaccent (~> 1.1)
|
|
35
|
-
unicode_utils (~> 1.4)
|
|
36
35
|
crass (1.0.6)
|
|
37
|
-
diff-lcs (1.
|
|
36
|
+
diff-lcs (1.5.0)
|
|
38
37
|
erubi (1.10.0)
|
|
39
|
-
i18n (1.8.
|
|
38
|
+
i18n (1.8.11)
|
|
40
39
|
concurrent-ruby (~> 1.0)
|
|
41
|
-
i18n_data (0.
|
|
42
|
-
|
|
40
|
+
i18n_data (0.15.0)
|
|
41
|
+
simple_po_parser (~> 1.1)
|
|
42
|
+
loofah (2.13.0)
|
|
43
43
|
crass (~> 1.0.2)
|
|
44
44
|
nokogiri (>= 1.5.9)
|
|
45
45
|
method_source (1.0.0)
|
|
46
|
-
mini_portile2 (2.
|
|
47
|
-
minitest (5.
|
|
48
|
-
nokogiri (1.
|
|
49
|
-
mini_portile2 (~> 2.
|
|
46
|
+
mini_portile2 (2.7.1)
|
|
47
|
+
minitest (5.15.0)
|
|
48
|
+
nokogiri (1.13.1)
|
|
49
|
+
mini_portile2 (~> 2.7.0)
|
|
50
50
|
racc (~> 1.4)
|
|
51
|
-
|
|
51
|
+
nokogiri (1.13.1-arm64-darwin)
|
|
52
|
+
racc (~> 1.4)
|
|
53
|
+
nokogiri (1.13.1-x86_64-linux)
|
|
54
|
+
racc (~> 1.4)
|
|
55
|
+
pry (0.14.1)
|
|
52
56
|
coderay (~> 1.1)
|
|
53
57
|
method_source (~> 1.0)
|
|
54
|
-
racc (1.
|
|
58
|
+
racc (1.6.0)
|
|
55
59
|
rack (2.2.3)
|
|
56
60
|
rack-test (1.1.0)
|
|
57
61
|
rack (>= 1.0, < 3)
|
|
58
62
|
rails-dom-testing (2.0.3)
|
|
59
63
|
activesupport (>= 4.2.0)
|
|
60
64
|
nokogiri (>= 1.6)
|
|
61
|
-
rails-html-sanitizer (1.
|
|
65
|
+
rails-html-sanitizer (1.4.2)
|
|
62
66
|
loofah (~> 2.3)
|
|
63
|
-
railties (5.2.
|
|
64
|
-
actionpack (= 5.2.
|
|
65
|
-
activesupport (= 5.2.
|
|
67
|
+
railties (5.2.6)
|
|
68
|
+
actionpack (= 5.2.6)
|
|
69
|
+
activesupport (= 5.2.6)
|
|
66
70
|
method_source
|
|
67
71
|
rake (>= 0.8.7)
|
|
68
72
|
thor (>= 0.19.0, < 2.0)
|
|
69
|
-
rake (13.0.
|
|
73
|
+
rake (13.0.6)
|
|
70
74
|
rspec (3.10.0)
|
|
71
75
|
rspec-core (~> 3.10.0)
|
|
72
76
|
rspec-expectations (~> 3.10.0)
|
|
73
77
|
rspec-mocks (~> 3.10.0)
|
|
74
78
|
rspec-core (3.10.1)
|
|
75
79
|
rspec-support (~> 3.10.0)
|
|
76
|
-
rspec-expectations (3.10.
|
|
80
|
+
rspec-expectations (3.10.2)
|
|
77
81
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
78
82
|
rspec-support (~> 3.10.0)
|
|
79
83
|
rspec-mocks (3.10.2)
|
|
80
84
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
81
85
|
rspec-support (~> 3.10.0)
|
|
82
|
-
rspec-support (3.10.
|
|
86
|
+
rspec-support (3.10.3)
|
|
87
|
+
simple_po_parser (1.1.5)
|
|
83
88
|
sixarm_ruby_unaccent (1.2.0)
|
|
84
89
|
sort_alphabetical (1.1.0)
|
|
85
90
|
unicode_utils (>= 1.2.2)
|
|
86
|
-
thor (1.1
|
|
91
|
+
thor (1.2.1)
|
|
87
92
|
thread_safe (0.3.6)
|
|
88
93
|
tzinfo (1.2.9)
|
|
89
94
|
thread_safe (~> 0.1)
|
|
90
95
|
unicode_utils (1.4.0)
|
|
91
|
-
wwtd (1.4.1)
|
|
92
96
|
|
|
93
97
|
PLATFORMS
|
|
98
|
+
arm64-darwin-21
|
|
94
99
|
ruby
|
|
100
|
+
x86_64-linux
|
|
95
101
|
|
|
96
102
|
DEPENDENCIES
|
|
97
|
-
actionpack (~> 5.2
|
|
103
|
+
actionpack (~> 5.2)
|
|
98
104
|
country_select!
|
|
99
105
|
pry (~> 0)
|
|
100
|
-
railties (~> 5.2
|
|
106
|
+
railties (~> 5.2)
|
|
101
107
|
rake (~> 13)
|
|
102
108
|
rspec (~> 3)
|
|
103
|
-
wwtd (~> 1)
|
|
104
109
|
|
|
105
110
|
BUNDLED WITH
|
|
106
|
-
2.
|
|
111
|
+
2.3.3
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ..
|
|
3
3
|
specs:
|
|
4
|
-
country_select (
|
|
5
|
-
countries (~>
|
|
4
|
+
country_select (6.1.1)
|
|
5
|
+
countries (~> 4.2)
|
|
6
6
|
sort_alphabetical (~> 1.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actionpack (6.1.
|
|
12
|
-
actionview (= 6.1.
|
|
13
|
-
activesupport (= 6.1.
|
|
11
|
+
actionpack (6.1.4.4)
|
|
12
|
+
actionview (= 6.1.4.4)
|
|
13
|
+
activesupport (= 6.1.4.4)
|
|
14
14
|
rack (~> 2.0, >= 2.0.9)
|
|
15
15
|
rack-test (>= 0.6.3)
|
|
16
16
|
rails-dom-testing (~> 2.0)
|
|
17
17
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
18
|
-
actionview (6.1.
|
|
19
|
-
activesupport (= 6.1.
|
|
18
|
+
actionview (6.1.4.4)
|
|
19
|
+
activesupport (= 6.1.4.4)
|
|
20
20
|
builder (~> 3.1)
|
|
21
21
|
erubi (~> 1.4)
|
|
22
22
|
rails-dom-testing (~> 2.0)
|
|
23
23
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
24
|
-
activesupport (6.1.
|
|
24
|
+
activesupport (6.1.4.4)
|
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
26
26
|
i18n (>= 1.6, < 2)
|
|
27
27
|
minitest (>= 5.1)
|
|
@@ -29,79 +29,84 @@ GEM
|
|
|
29
29
|
zeitwerk (~> 2.3)
|
|
30
30
|
builder (3.2.4)
|
|
31
31
|
coderay (1.1.3)
|
|
32
|
-
concurrent-ruby (1.1.
|
|
33
|
-
countries (
|
|
34
|
-
i18n_data (~> 0.
|
|
32
|
+
concurrent-ruby (1.1.9)
|
|
33
|
+
countries (4.2.1)
|
|
34
|
+
i18n_data (~> 0.15.0)
|
|
35
35
|
sixarm_ruby_unaccent (~> 1.1)
|
|
36
|
-
unicode_utils (~> 1.4)
|
|
37
36
|
crass (1.0.6)
|
|
38
|
-
diff-lcs (1.
|
|
37
|
+
diff-lcs (1.5.0)
|
|
39
38
|
erubi (1.10.0)
|
|
40
|
-
i18n (1.8.
|
|
39
|
+
i18n (1.8.11)
|
|
41
40
|
concurrent-ruby (~> 1.0)
|
|
42
|
-
i18n_data (0.
|
|
43
|
-
|
|
41
|
+
i18n_data (0.15.0)
|
|
42
|
+
simple_po_parser (~> 1.1)
|
|
43
|
+
loofah (2.13.0)
|
|
44
44
|
crass (~> 1.0.2)
|
|
45
45
|
nokogiri (>= 1.5.9)
|
|
46
46
|
method_source (1.0.0)
|
|
47
|
-
mini_portile2 (2.
|
|
48
|
-
minitest (5.
|
|
49
|
-
nokogiri (1.
|
|
50
|
-
mini_portile2 (~> 2.
|
|
47
|
+
mini_portile2 (2.7.1)
|
|
48
|
+
minitest (5.15.0)
|
|
49
|
+
nokogiri (1.13.1)
|
|
50
|
+
mini_portile2 (~> 2.7.0)
|
|
51
51
|
racc (~> 1.4)
|
|
52
|
-
|
|
52
|
+
nokogiri (1.13.1-arm64-darwin)
|
|
53
|
+
racc (~> 1.4)
|
|
54
|
+
nokogiri (1.13.1-x86_64-linux)
|
|
55
|
+
racc (~> 1.4)
|
|
56
|
+
pry (0.14.1)
|
|
53
57
|
coderay (~> 1.1)
|
|
54
58
|
method_source (~> 1.0)
|
|
55
|
-
racc (1.
|
|
59
|
+
racc (1.6.0)
|
|
56
60
|
rack (2.2.3)
|
|
57
61
|
rack-test (1.1.0)
|
|
58
62
|
rack (>= 1.0, < 3)
|
|
59
63
|
rails-dom-testing (2.0.3)
|
|
60
64
|
activesupport (>= 4.2.0)
|
|
61
65
|
nokogiri (>= 1.6)
|
|
62
|
-
rails-html-sanitizer (1.
|
|
66
|
+
rails-html-sanitizer (1.4.2)
|
|
63
67
|
loofah (~> 2.3)
|
|
64
|
-
railties (6.1.
|
|
65
|
-
actionpack (= 6.1.
|
|
66
|
-
activesupport (= 6.1.
|
|
68
|
+
railties (6.1.4.4)
|
|
69
|
+
actionpack (= 6.1.4.4)
|
|
70
|
+
activesupport (= 6.1.4.4)
|
|
67
71
|
method_source
|
|
68
|
-
rake (>= 0.
|
|
72
|
+
rake (>= 0.13)
|
|
69
73
|
thor (~> 1.0)
|
|
70
|
-
rake (13.0.
|
|
74
|
+
rake (13.0.6)
|
|
71
75
|
rspec (3.10.0)
|
|
72
76
|
rspec-core (~> 3.10.0)
|
|
73
77
|
rspec-expectations (~> 3.10.0)
|
|
74
78
|
rspec-mocks (~> 3.10.0)
|
|
75
79
|
rspec-core (3.10.1)
|
|
76
80
|
rspec-support (~> 3.10.0)
|
|
77
|
-
rspec-expectations (3.10.
|
|
81
|
+
rspec-expectations (3.10.2)
|
|
78
82
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
79
83
|
rspec-support (~> 3.10.0)
|
|
80
84
|
rspec-mocks (3.10.2)
|
|
81
85
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
82
86
|
rspec-support (~> 3.10.0)
|
|
83
|
-
rspec-support (3.10.
|
|
87
|
+
rspec-support (3.10.3)
|
|
88
|
+
simple_po_parser (1.1.5)
|
|
84
89
|
sixarm_ruby_unaccent (1.2.0)
|
|
85
90
|
sort_alphabetical (1.1.0)
|
|
86
91
|
unicode_utils (>= 1.2.2)
|
|
87
|
-
thor (1.1
|
|
92
|
+
thor (1.2.1)
|
|
88
93
|
tzinfo (2.0.4)
|
|
89
94
|
concurrent-ruby (~> 1.0)
|
|
90
95
|
unicode_utils (1.4.0)
|
|
91
|
-
|
|
92
|
-
zeitwerk (2.4.2)
|
|
96
|
+
zeitwerk (2.5.3)
|
|
93
97
|
|
|
94
98
|
PLATFORMS
|
|
99
|
+
arm64-darwin-21
|
|
95
100
|
ruby
|
|
101
|
+
x86_64-linux
|
|
96
102
|
|
|
97
103
|
DEPENDENCIES
|
|
98
|
-
actionpack (~> 6.
|
|
104
|
+
actionpack (~> 6.0)
|
|
99
105
|
country_select!
|
|
100
106
|
pry (~> 0)
|
|
101
|
-
railties (~> 6.
|
|
107
|
+
railties (~> 6.0)
|
|
102
108
|
rake (~> 13)
|
|
103
109
|
rspec (~> 3)
|
|
104
|
-
wwtd (~> 1)
|
|
105
110
|
|
|
106
111
|
BUNDLED WITH
|
|
107
|
-
2.
|
|
112
|
+
2.3.3
|