country_select 6.1.0 → 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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/country_select.gemspec +1 -1
- data/gemfiles/actionpack-5.2.gemfile.lock +1 -1
- data/gemfiles/actionpack-6.0.gemfile.lock +1 -1
- data/gemfiles/actionpack-6.1.gemfile.lock +1 -1
- data/gemfiles/actionpack-7.0.gemfile.lock +1 -1
- data/gemfiles/actionpack-head.gemfile.lock +2 -2
- data/lib/country_select/tag_helper.rb +1 -1
- data/lib/country_select/version.rb +1 -1
- metadata +3 -3
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
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/rails/rails.git
|
|
3
|
-
revision:
|
|
3
|
+
revision: 10ef5321c1e0f783b58f26d238cd61145bc3cb96
|
|
4
4
|
specs:
|
|
5
5
|
actionpack (7.1.0.alpha)
|
|
6
6
|
actionview (= 7.1.0.alpha)
|
|
@@ -24,7 +24,7 @@ GIT
|
|
|
24
24
|
PATH
|
|
25
25
|
remote: ..
|
|
26
26
|
specs:
|
|
27
|
-
country_select (6.1.
|
|
27
|
+
country_select (6.1.1)
|
|
28
28
|
countries (~> 4.2)
|
|
29
29
|
sort_alphabetical (~> 1.1)
|
|
30
30
|
|
|
@@ -79,7 +79,7 @@ module CountrySelect
|
|
|
79
79
|
country_list = country_codes.map do |code_or_name|
|
|
80
80
|
if country = ISO3166::Country.new(code_or_name)
|
|
81
81
|
code = country.alpha2
|
|
82
|
-
elsif country = ISO3166::Country.
|
|
82
|
+
elsif country = ISO3166::Country.find_by_unofficial_names(code_or_name)
|
|
83
83
|
code = country.first
|
|
84
84
|
country = ISO3166::Country.new(code)
|
|
85
85
|
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: 6.1.
|
|
4
|
+
version: 6.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stefan Penner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-01-
|
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|
|
@@ -133,7 +133,7 @@ files:
|
|
|
133
133
|
- lib/country_select_without_sort_alphabetical.rb
|
|
134
134
|
- spec/country_select_spec.rb
|
|
135
135
|
- spec/spec_helper.rb
|
|
136
|
-
homepage: https://github.com/
|
|
136
|
+
homepage: https://github.com/countries/country_select
|
|
137
137
|
licenses:
|
|
138
138
|
- MIT
|
|
139
139
|
metadata: {}
|