country_select 6.0.0 → 8.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/build.yml +25 -0
- data/.github/workflows/codeql-analysis.yml +70 -0
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +37 -49
- data/README.md +17 -10
- data/Rakefile +26 -2
- data/country_select.gemspec +8 -6
- data/gemfiles/actionpack-5.2.gemfile +6 -0
- data/gemfiles/actionpack-5.2.gemfile.lock +98 -0
- data/gemfiles/actionpack-6.0.gemfile +6 -0
- data/gemfiles/actionpack-6.0.gemfile.lock +100 -0
- data/gemfiles/actionpack-6.1.gemfile.lock +99 -0
- data/gemfiles/actionpack-7.0.gemfile +6 -0
- data/gemfiles/actionpack-7.0.gemfile.lock +99 -0
- data/lib/country_select/country_select_helper.rb +5 -0
- data/lib/country_select/defaults.rb +2 -1
- data/lib/country_select/formats.rb +1 -1
- data/lib/country_select/tag_helper.rb +6 -11
- data/lib/country_select/version.rb +1 -1
- data/lib/country_select.rb +0 -1
- data/spec/country_select_spec.rb +51 -22
- metadata +26 -51
- data/.travis.yml +0 -23
- data/gemfiles/actionpack.edge.gemfile +0 -9
- data/gemfiles/actionpack.edge.gemfile.lock +0 -105
- data/gemfiles/actionpack5.2.gemfile +0 -6
- data/gemfiles/actionpack5.2.gemfile.lock +0 -105
- data/gemfiles/actionpack6.0.gemfile +0 -6
- data/gemfiles/actionpack6.0.gemfile.lock +0 -107
- data/gemfiles/actionpack6.1.gemfile.lock +0 -106
- data/lib/country_select_without_sort_alphabetical.rb +0 -9
- /data/gemfiles/{actionpack6.1.gemfile → actionpack-6.1.gemfile} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2e998f6961d73f6b512f6f2a8346f5f1b971b2fd48795772b9f2553970c2a7d
|
4
|
+
data.tar.gz: 72ecc080ff6e7c161d7e09686b170363fc29be7090e2541c41be0c8ab10ffde9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f69921ae492051bdad6a71fab965e03c71f6446e4fbeb6da5b583b5d70d2136302f7eb726aca6fb6e1a803491855fa94928b28face16161f44437dbe93c23e09
|
7
|
+
data.tar.gz: 87530ffdd430818801590107cdf6314cc32deb8f1ec42444ce4e0f8848c4a175934e7e4dac3c495d16b66633e7d819422297213d120014aabefb646b5b9639f0
|
@@ -0,0 +1,25 @@
|
|
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.7, '3.0', 3.1]
|
16
|
+
gemfile: [5.2, '6.0', 6.1, '7.0']
|
17
|
+
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
18
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/actionpack-${{ matrix.gemfile }}.gemfile
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v2
|
21
|
+
- uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true
|
25
|
+
- run: bundle exec rake
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
2
|
+
# to commit it to your repository.
|
3
|
+
#
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
5
|
+
# or to provide custom queries or build logic.
|
6
|
+
#
|
7
|
+
# ******** NOTE ********
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
10
|
+
# supported CodeQL languages.
|
11
|
+
#
|
12
|
+
name: "CodeQL"
|
13
|
+
|
14
|
+
on:
|
15
|
+
push:
|
16
|
+
branches: [ master ]
|
17
|
+
pull_request:
|
18
|
+
# The branches below must be a subset of the branches above
|
19
|
+
branches: [ master ]
|
20
|
+
schedule:
|
21
|
+
- cron: '21 7 * * 5'
|
22
|
+
|
23
|
+
jobs:
|
24
|
+
analyze:
|
25
|
+
name: Analyze
|
26
|
+
runs-on: ubuntu-latest
|
27
|
+
permissions:
|
28
|
+
actions: read
|
29
|
+
contents: read
|
30
|
+
security-events: write
|
31
|
+
|
32
|
+
strategy:
|
33
|
+
fail-fast: false
|
34
|
+
matrix:
|
35
|
+
language: [ 'ruby' ]
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
37
|
+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
38
|
+
|
39
|
+
steps:
|
40
|
+
- name: Checkout repository
|
41
|
+
uses: actions/checkout@v3
|
42
|
+
|
43
|
+
# Initializes the CodeQL tools for scanning.
|
44
|
+
- name: Initialize CodeQL
|
45
|
+
uses: github/codeql-action/init@v1
|
46
|
+
with:
|
47
|
+
languages: ${{ matrix.language }}
|
48
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
49
|
+
# By default, queries listed here will override any specified in a config file.
|
50
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
51
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
52
|
+
|
53
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
54
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
55
|
+
- name: Autobuild
|
56
|
+
uses: github/codeql-action/autobuild@v1
|
57
|
+
|
58
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
59
|
+
# 📚 https://git.io/JvXDl
|
60
|
+
|
61
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
62
|
+
# and modify them (or add more) to build your code if your project
|
63
|
+
# uses a compiled language
|
64
|
+
|
65
|
+
#- run: |
|
66
|
+
# make bootstrap
|
67
|
+
# make release
|
68
|
+
|
69
|
+
- name: Perform CodeQL Analysis
|
70
|
+
uses: github/codeql-action/analyze@v1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
## 8.0.0 2022-06-30
|
2
|
+
|
3
|
+
* Update countries gem to 5.1.0 (@pmor)
|
4
|
+
* Add deprecation warning for old priority country syntax (@pmor)
|
5
|
+
* Allow option to preserve the sort order as inputted in the `only` array of countries (@pmor)
|
6
|
+
* Remove `sort_alphabetical` dependency (@pmor)
|
7
|
+
|
8
|
+
## 7.0.0 2022-04-03
|
9
|
+
|
10
|
+
* #200 - Drop support for Ruby 2.5 and 2.6 (@pmor)
|
11
|
+
* #201 - Upgrade countries gem to 5.0.0 (@pmor)
|
12
|
+
|
13
|
+
## 6.1.1 2022-01-20
|
14
|
+
|
15
|
+
* #195 - Fix deprecation warning on find_by_name (@filipemendespi)
|
16
|
+
|
17
|
+
## 6.1.0 2022-01-16
|
18
|
+
|
19
|
+
* #190 - Upgrade to countries 4.2 (@pmor)
|
20
|
+
* #191 - Add Rails 7 + Ruby 3.1 to build (@scudco)
|
21
|
+
|
1
22
|
## 6.0.0 2021-06-28
|
2
23
|
|
3
24
|
* #186 - Upgrade to countries 4.0.0 (@pmor)
|
data/Gemfile.lock
CHANGED
@@ -1,98 +1,86 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
country_select (
|
5
|
-
countries (~>
|
6
|
-
sort_alphabetical (~> 1.1)
|
4
|
+
country_select (7.0.0)
|
5
|
+
countries (~> 5.0)
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: https://rubygems.org/
|
10
9
|
specs:
|
11
|
-
actionpack (
|
12
|
-
actionview (=
|
13
|
-
activesupport (=
|
14
|
-
rack (~> 2.0, >= 2.0
|
10
|
+
actionpack (7.0.3)
|
11
|
+
actionview (= 7.0.3)
|
12
|
+
activesupport (= 7.0.3)
|
13
|
+
rack (~> 2.0, >= 2.2.0)
|
15
14
|
rack-test (>= 0.6.3)
|
16
15
|
rails-dom-testing (~> 2.0)
|
17
16
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
18
|
-
actionview (
|
19
|
-
activesupport (=
|
17
|
+
actionview (7.0.3)
|
18
|
+
activesupport (= 7.0.3)
|
20
19
|
builder (~> 3.1)
|
21
20
|
erubi (~> 1.4)
|
22
21
|
rails-dom-testing (~> 2.0)
|
23
22
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
24
|
-
activesupport (
|
23
|
+
activesupport (7.0.3)
|
25
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
26
25
|
i18n (>= 1.6, < 2)
|
27
26
|
minitest (>= 5.1)
|
28
27
|
tzinfo (~> 2.0)
|
29
|
-
zeitwerk (~> 2.3)
|
30
28
|
builder (3.2.4)
|
31
29
|
coderay (1.1.3)
|
32
|
-
concurrent-ruby (1.1.
|
33
|
-
countries (
|
34
|
-
i18n_data (~> 0.13.0)
|
30
|
+
concurrent-ruby (1.1.10)
|
31
|
+
countries (5.1.0)
|
35
32
|
sixarm_ruby_unaccent (~> 1.1)
|
36
33
|
crass (1.0.6)
|
37
|
-
diff-lcs (1.
|
34
|
+
diff-lcs (1.5.0)
|
38
35
|
erubi (1.10.0)
|
39
|
-
i18n (1.
|
36
|
+
i18n (1.10.0)
|
40
37
|
concurrent-ruby (~> 1.0)
|
41
|
-
|
42
|
-
loofah (2.9.0)
|
38
|
+
loofah (2.18.0)
|
43
39
|
crass (~> 1.0.2)
|
44
40
|
nokogiri (>= 1.5.9)
|
45
41
|
method_source (1.0.0)
|
46
|
-
|
47
|
-
|
48
|
-
nokogiri (1.11.1)
|
49
|
-
mini_portile2 (~> 2.5.0)
|
42
|
+
minitest (5.16.1)
|
43
|
+
nokogiri (1.13.6-x86_64-darwin)
|
50
44
|
racc (~> 1.4)
|
51
|
-
pry (0.14.
|
45
|
+
pry (0.14.1)
|
52
46
|
coderay (~> 1.1)
|
53
47
|
method_source (~> 1.0)
|
54
|
-
racc (1.
|
55
|
-
rack (2.2.3)
|
56
|
-
rack-test (
|
57
|
-
rack (>= 1.
|
48
|
+
racc (1.6.0)
|
49
|
+
rack (2.2.3.1)
|
50
|
+
rack-test (2.0.0)
|
51
|
+
rack (>= 1.3)
|
58
52
|
rails-dom-testing (2.0.3)
|
59
53
|
activesupport (>= 4.2.0)
|
60
54
|
nokogiri (>= 1.6)
|
61
|
-
rails-html-sanitizer (1.3
|
55
|
+
rails-html-sanitizer (1.4.3)
|
62
56
|
loofah (~> 2.3)
|
63
|
-
rake (13.0.
|
64
|
-
rspec (3.
|
65
|
-
rspec-core (~> 3.
|
66
|
-
rspec-expectations (~> 3.
|
67
|
-
rspec-mocks (~> 3.
|
68
|
-
rspec-core (3.
|
69
|
-
rspec-support (~> 3.
|
70
|
-
rspec-expectations (3.
|
57
|
+
rake (13.0.6)
|
58
|
+
rspec (3.11.0)
|
59
|
+
rspec-core (~> 3.11.0)
|
60
|
+
rspec-expectations (~> 3.11.0)
|
61
|
+
rspec-mocks (~> 3.11.0)
|
62
|
+
rspec-core (3.11.0)
|
63
|
+
rspec-support (~> 3.11.0)
|
64
|
+
rspec-expectations (3.11.0)
|
71
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
|
-
rspec-support (~> 3.
|
73
|
-
rspec-mocks (3.
|
66
|
+
rspec-support (~> 3.11.0)
|
67
|
+
rspec-mocks (3.11.1)
|
74
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
75
|
-
rspec-support (~> 3.
|
76
|
-
rspec-support (3.
|
69
|
+
rspec-support (~> 3.11.0)
|
70
|
+
rspec-support (3.11.0)
|
77
71
|
sixarm_ruby_unaccent (1.2.0)
|
78
|
-
sort_alphabetical (1.1.0)
|
79
|
-
unicode_utils (>= 1.2.2)
|
80
72
|
tzinfo (2.0.4)
|
81
73
|
concurrent-ruby (~> 1.0)
|
82
|
-
unicode_utils (1.4.0)
|
83
|
-
wwtd (1.4.1)
|
84
|
-
zeitwerk (2.4.2)
|
85
74
|
|
86
75
|
PLATFORMS
|
87
|
-
|
76
|
+
x86_64-darwin-21
|
88
77
|
|
89
78
|
DEPENDENCIES
|
90
|
-
actionpack (~>
|
79
|
+
actionpack (~> 7.0)
|
91
80
|
country_select!
|
92
81
|
pry (~> 0)
|
93
82
|
rake (~> 13)
|
94
83
|
rspec (~> 3)
|
95
|
-
wwtd (~> 1)
|
96
84
|
|
97
85
|
BUNDLED WITH
|
98
|
-
2.
|
86
|
+
2.3.10
|
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Rails – Country Select
|
2
|
-
[![
|
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/build.yml/badge.svg)](https://github.com/countries/country_select/actions/workflows/build.yml)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/countries/country_select.svg)](https://codeclimate.com/github/countries/country_select)
|
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
|
+
|
3
6
|
|
4
7
|
Provides a simple helper to get an HTML select list of countries using the
|
5
8
|
[ISO 3166-1 standard](https://en.wikipedia.org/wiki/ISO_3166-1).
|
@@ -14,7 +17,7 @@ to evaluate the suitability of this list given their user base.
|
|
14
17
|
|
15
18
|
## Reporting issues
|
16
19
|
|
17
|
-
Open an issue on the [issue tracker](https://github.com/
|
20
|
+
Open an issue on the [issue tracker](https://github.com/countries/country_select/issues/new). Ideally provide versions used, and code example that demonstrates the issue.
|
18
21
|
|
19
22
|
## Installation
|
20
23
|
|
@@ -26,7 +29,7 @@ gem install country_select
|
|
26
29
|
Or put the following in your Gemfile
|
27
30
|
|
28
31
|
```ruby
|
29
|
-
gem 'country_select', '~>
|
32
|
+
gem 'country_select', '~> 6.0'
|
30
33
|
```
|
31
34
|
|
32
35
|
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:
|
@@ -54,13 +57,17 @@ country_select("user", "country")
|
|
54
57
|
Supplying priority countries to be placed at the top of the list:
|
55
58
|
|
56
59
|
```ruby
|
57
|
-
country_select("user", "country", priority_countries: ["GB", "FR", "DE"])
|
60
|
+
country_select("user", "country", priority_countries: ["GB", "FR", "DE"]) # Countries will be sorted by name according to the current locale
|
61
|
+
# or
|
62
|
+
country_select("user", "country", priority_countries: ["GB", "FR", "DE"], sort_provided: false) # Countries will be displayed is the provided order
|
58
63
|
```
|
59
64
|
|
60
65
|
Supplying only certain countries:
|
61
66
|
|
62
67
|
```ruby
|
63
|
-
country_select("user", "country", only: ["GB", "FR", "DE"])
|
68
|
+
country_select("user", "country", only: ["GB", "FR", "DE"]) # Countries will be sorted by name according to the current locale
|
69
|
+
# or
|
70
|
+
country_select("user", "country", only: ["GB", "FR", "DE"], sort_provided: false) # Countries will be displayed is the provided order
|
64
71
|
```
|
65
72
|
|
66
73
|
Discarding certain countries:
|
@@ -95,19 +102,19 @@ country_select("user", "country", { priority_countries: ["GB", "FR"], selected:
|
|
95
102
|
### Using a custom formatter
|
96
103
|
|
97
104
|
You can define a custom formatter which will receive an
|
98
|
-
[`ISO3166::Country`](https://github.com/
|
105
|
+
[`ISO3166::Country`](https://github.com/countries/countries/blob/master/lib/countries/country.rb)
|
99
106
|
```ruby
|
100
107
|
# config/initializers/country_select.rb
|
101
108
|
|
102
109
|
# Return a string to customize the text in the <option> tag, `value` attribute will remain unchanged
|
103
110
|
CountrySelect::FORMATS[:with_alpha2] = lambda do |country|
|
104
|
-
"#{country.
|
111
|
+
"#{country.iso_short_name} (#{country.alpha2})"
|
105
112
|
end
|
106
113
|
|
107
114
|
# Return an array to customize <option> text, `value` and other HTML attributes
|
108
115
|
CountrySelect::FORMATS[:with_data_attrs] = lambda do |country|
|
109
116
|
[
|
110
|
-
country.
|
117
|
+
country.iso_short_name,
|
111
118
|
country.alpha2,
|
112
119
|
{
|
113
120
|
'data-country-code' => country.country_code,
|
@@ -142,7 +149,7 @@ names as display strings. For example, the United States would appear as
|
|
142
149
|
|
143
150
|
Country names are automatically localized based on the value of
|
144
151
|
`I18n.locale` thanks to the wonderful
|
145
|
-
[countries gem](https://github.com/
|
152
|
+
[countries gem](https://github.com/countries/countries/).
|
146
153
|
|
147
154
|
Current translations include:
|
148
155
|
|
@@ -177,7 +184,7 @@ class User < ActiveRecord::Base
|
|
177
184
|
# (usually English) name if no translation is available
|
178
185
|
def country_name
|
179
186
|
country = ISO3166::Country[country_code]
|
180
|
-
country.translations[I18n.locale.to_s] || country.
|
187
|
+
country.translations[I18n.locale.to_s] || country.common_name || country.iso_short_name
|
181
188
|
end
|
182
189
|
|
183
190
|
end
|
data/Rakefile
CHANGED
@@ -4,9 +4,33 @@ require 'bundler/setup'
|
|
4
4
|
require 'rake'
|
5
5
|
require 'bundler/gem_tasks'
|
6
6
|
|
7
|
-
require 'wwtd/tasks'
|
8
|
-
|
9
7
|
require 'rspec/core/rake_task'
|
10
8
|
RSpec::Core::RakeTask.new(:spec)
|
11
9
|
|
12
10
|
task default: 'spec'
|
11
|
+
|
12
|
+
|
13
|
+
task :update_gemfiles do
|
14
|
+
require 'pry'
|
15
|
+
Dir.glob('gemfiles/*.gemfile').each do |gemfile|
|
16
|
+
puts "Updating #{gemfile}...\n\n"
|
17
|
+
ENV['BUNDLE_GEMFILE']=gemfile
|
18
|
+
puts `bundle install --gemfile=#{gemfile} --no-cache`
|
19
|
+
puts `bundle update --gemfile=#{gemfile}`
|
20
|
+
|
21
|
+
lockfile = "#{gemfile}.lock"
|
22
|
+
|
23
|
+
if File.exists? lockfile
|
24
|
+
parsed_lockfile = Bundler::LockfileParser.new(Bundler.read_file(lockfile))
|
25
|
+
# Ensure lockfile has x86_64-linux
|
26
|
+
if parsed_lockfile.platforms.map(&:to_s).none? {|p| p == 'x86_64-linux' }
|
27
|
+
puts "Adding platform x86_64-linux to #{lockfile}\n\n"
|
28
|
+
puts `bundle lock --add-platform x86_64-linux --gemfile=#{gemfile}`
|
29
|
+
end
|
30
|
+
|
31
|
+
puts ""
|
32
|
+
else
|
33
|
+
raise StandardError.new("Expected #{lockfile} to exist.")
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/country_select.gemspec
CHANGED
@@ -8,23 +8,25 @@ 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
|
|
15
|
+
s.metadata = { 'bug_tracker_uri' => 'http://github.com/countries/country_select/issues',
|
16
|
+
'changelog_uri' => 'https://github.com/countries/country_select/blob/master/CHANGELOG.md',
|
17
|
+
'source_code_uri' => 'https://github.com/countries/country_select' }
|
18
|
+
|
15
19
|
s.files = `git ls-files`.split("\n")
|
16
20
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
21
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
22
|
s.require_paths = ['lib']
|
19
23
|
|
20
|
-
s.required_ruby_version = '>= 2.
|
24
|
+
s.required_ruby_version = '>= 2.7'
|
21
25
|
|
22
|
-
s.add_development_dependency 'actionpack', '~>
|
26
|
+
s.add_development_dependency 'actionpack', '~> 7.0'
|
23
27
|
s.add_development_dependency 'pry', '~> 0'
|
24
28
|
s.add_development_dependency 'rake', '~> 13'
|
25
29
|
s.add_development_dependency 'rspec', '~> 3'
|
26
|
-
s.add_development_dependency 'wwtd', '~> 1'
|
27
30
|
|
28
|
-
s.add_dependency 'countries', '~>
|
29
|
-
s.add_dependency 'sort_alphabetical', '~> 1.1'
|
31
|
+
s.add_dependency 'countries', '~> 5.0'
|
30
32
|
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
country_select (7.0.0)
|
5
|
+
countries (~> 5.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionpack (5.2.8)
|
11
|
+
actionview (= 5.2.8)
|
12
|
+
activesupport (= 5.2.8)
|
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)
|
18
|
+
activesupport (= 5.2.8)
|
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)
|
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.1.10)
|
31
|
+
countries (5.1.0)
|
32
|
+
sixarm_ruby_unaccent (~> 1.1)
|
33
|
+
crass (1.0.6)
|
34
|
+
diff-lcs (1.5.0)
|
35
|
+
erubi (1.10.0)
|
36
|
+
i18n (1.10.0)
|
37
|
+
concurrent-ruby (~> 1.0)
|
38
|
+
loofah (2.18.0)
|
39
|
+
crass (~> 1.0.2)
|
40
|
+
nokogiri (>= 1.5.9)
|
41
|
+
method_source (1.0.0)
|
42
|
+
minitest (5.16.1)
|
43
|
+
nokogiri (1.13.6-x86_64-darwin)
|
44
|
+
racc (~> 1.4)
|
45
|
+
nokogiri (1.13.6-x86_64-linux)
|
46
|
+
racc (~> 1.4)
|
47
|
+
pry (0.14.1)
|
48
|
+
coderay (~> 1.1)
|
49
|
+
method_source (~> 1.0)
|
50
|
+
racc (1.6.0)
|
51
|
+
rack (2.2.3.1)
|
52
|
+
rack-test (2.0.2)
|
53
|
+
rack (>= 1.3)
|
54
|
+
rails-dom-testing (2.0.3)
|
55
|
+
activesupport (>= 4.2.0)
|
56
|
+
nokogiri (>= 1.6)
|
57
|
+
rails-html-sanitizer (1.4.3)
|
58
|
+
loofah (~> 2.3)
|
59
|
+
railties (5.2.8)
|
60
|
+
actionpack (= 5.2.8)
|
61
|
+
activesupport (= 5.2.8)
|
62
|
+
method_source
|
63
|
+
rake (>= 0.8.7)
|
64
|
+
thor (>= 0.19.0, < 2.0)
|
65
|
+
rake (13.0.6)
|
66
|
+
rspec (3.11.0)
|
67
|
+
rspec-core (~> 3.11.0)
|
68
|
+
rspec-expectations (~> 3.11.0)
|
69
|
+
rspec-mocks (~> 3.11.0)
|
70
|
+
rspec-core (3.11.0)
|
71
|
+
rspec-support (~> 3.11.0)
|
72
|
+
rspec-expectations (3.11.0)
|
73
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
+
rspec-support (~> 3.11.0)
|
75
|
+
rspec-mocks (3.11.1)
|
76
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
+
rspec-support (~> 3.11.0)
|
78
|
+
rspec-support (3.11.0)
|
79
|
+
sixarm_ruby_unaccent (1.2.0)
|
80
|
+
thor (1.2.1)
|
81
|
+
thread_safe (0.3.6)
|
82
|
+
tzinfo (1.2.9)
|
83
|
+
thread_safe (~> 0.1)
|
84
|
+
|
85
|
+
PLATFORMS
|
86
|
+
x86_64-darwin-21
|
87
|
+
x86_64-linux
|
88
|
+
|
89
|
+
DEPENDENCIES
|
90
|
+
actionpack (~> 5.2.0)
|
91
|
+
country_select!
|
92
|
+
pry (~> 0)
|
93
|
+
railties (~> 5.2.0)
|
94
|
+
rake (~> 13)
|
95
|
+
rspec (~> 3)
|
96
|
+
|
97
|
+
BUNDLED WITH
|
98
|
+
2.3.10
|
@@ -0,0 +1,100 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
country_select (7.0.0)
|
5
|
+
countries (~> 5.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionpack (6.0.5)
|
11
|
+
actionview (= 6.0.5)
|
12
|
+
activesupport (= 6.0.5)
|
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.5)
|
18
|
+
activesupport (= 6.0.5)
|
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.5)
|
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.1.10)
|
32
|
+
countries (5.1.0)
|
33
|
+
sixarm_ruby_unaccent (~> 1.1)
|
34
|
+
crass (1.0.6)
|
35
|
+
diff-lcs (1.5.0)
|
36
|
+
erubi (1.10.0)
|
37
|
+
i18n (1.10.0)
|
38
|
+
concurrent-ruby (~> 1.0)
|
39
|
+
loofah (2.18.0)
|
40
|
+
crass (~> 1.0.2)
|
41
|
+
nokogiri (>= 1.5.9)
|
42
|
+
method_source (1.0.0)
|
43
|
+
minitest (5.16.1)
|
44
|
+
nokogiri (1.13.6-x86_64-darwin)
|
45
|
+
racc (~> 1.4)
|
46
|
+
nokogiri (1.13.6-x86_64-linux)
|
47
|
+
racc (~> 1.4)
|
48
|
+
pry (0.14.1)
|
49
|
+
coderay (~> 1.1)
|
50
|
+
method_source (~> 1.0)
|
51
|
+
racc (1.6.0)
|
52
|
+
rack (2.2.3.1)
|
53
|
+
rack-test (2.0.2)
|
54
|
+
rack (>= 1.3)
|
55
|
+
rails-dom-testing (2.0.3)
|
56
|
+
activesupport (>= 4.2.0)
|
57
|
+
nokogiri (>= 1.6)
|
58
|
+
rails-html-sanitizer (1.4.3)
|
59
|
+
loofah (~> 2.3)
|
60
|
+
railties (6.0.5)
|
61
|
+
actionpack (= 6.0.5)
|
62
|
+
activesupport (= 6.0.5)
|
63
|
+
method_source
|
64
|
+
rake (>= 0.8.7)
|
65
|
+
thor (>= 0.20.3, < 2.0)
|
66
|
+
rake (13.0.6)
|
67
|
+
rspec (3.11.0)
|
68
|
+
rspec-core (~> 3.11.0)
|
69
|
+
rspec-expectations (~> 3.11.0)
|
70
|
+
rspec-mocks (~> 3.11.0)
|
71
|
+
rspec-core (3.11.0)
|
72
|
+
rspec-support (~> 3.11.0)
|
73
|
+
rspec-expectations (3.11.0)
|
74
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
75
|
+
rspec-support (~> 3.11.0)
|
76
|
+
rspec-mocks (3.11.1)
|
77
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
78
|
+
rspec-support (~> 3.11.0)
|
79
|
+
rspec-support (3.11.0)
|
80
|
+
sixarm_ruby_unaccent (1.2.0)
|
81
|
+
thor (1.2.1)
|
82
|
+
thread_safe (0.3.6)
|
83
|
+
tzinfo (1.2.9)
|
84
|
+
thread_safe (~> 0.1)
|
85
|
+
zeitwerk (2.6.0)
|
86
|
+
|
87
|
+
PLATFORMS
|
88
|
+
x86_64-darwin-21
|
89
|
+
x86_64-linux
|
90
|
+
|
91
|
+
DEPENDENCIES
|
92
|
+
actionpack (~> 6.0.0)
|
93
|
+
country_select!
|
94
|
+
pry (~> 0)
|
95
|
+
railties (~> 6.0.0)
|
96
|
+
rake (~> 13)
|
97
|
+
rspec (~> 3)
|
98
|
+
|
99
|
+
BUNDLED WITH
|
100
|
+
2.3.10
|