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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71ba22546abd291ceafd67c542882513e11e5778a0cf4e51e0afbfbd8d89e8ad
4
- data.tar.gz: 3d7d7c6cac8302237b651ef47ce0344cb337da19f240cc674e223238099eaa70
3
+ metadata.gz: ca4f63875164172c98c1b54c7c4aef325ab363a0d8e863fcb49b2878320dfca5
4
+ data.tar.gz: 6b5830267c05073fd5aa040894e6d0405777112d598260efabc29fee8ae5c44d
5
5
  SHA512:
6
- metadata.gz: 599f0e30a41591ded1d11103887341ad9c374250eeee5a6f3e7a6a86f5fb5fa4178a0acdba62ea187527ba9dc1c2c2b08a34bccd3a73534d6717adafe7816981
7
- data.tar.gz: 37cd7561ad08e569fa3133fcb9e740dce8dcef6c44cebbc26f6348808515e884af430073d5a911482df9695f7ec5867af28ddb4b5c1c578c5eb32dfadfbec470
6
+ metadata.gz: d749348579f486f25978eb5dce669bc316e7741061ed2296bf1ff6be7ca42a2a13a8d746b51bc36fb229570b61374296b7e15cd8c553d3468c47bd5d7b06c44a
7
+ data.tar.gz: 683b72dffbe2de310f34be6b220f5773d70a196f11e8a1e0da639d7c19f5cc26fe4893502c339246984c4cdfbad30ac10cea202b95d0e6dcf343d845ad3843e5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 6.1.1 2022-01-20
2
+
3
+ * #195 - Fix deprecation warning on find_by_name (@filipemendespi)
4
+
1
5
  ## 6.1.0 2022-01-16
2
6
 
3
7
  * #190 - Upgrade to countries 4.2 (@pmor)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- country_select (6.1.0)
4
+ country_select (6.1.1)
5
5
  countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
@@ -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/stefanpenner/country_select'
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,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (6.1.0)
4
+ country_select (6.1.1)
5
5
  countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (6.1.0)
4
+ country_select (6.1.1)
5
5
  countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (6.1.0)
4
+ country_select (6.1.1)
5
5
  countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- country_select (6.1.0)
4
+ country_select (6.1.1)
5
5
  countries (~> 4.2)
6
6
  sort_alphabetical (~> 1.1)
7
7
 
@@ -1,6 +1,6 @@
1
1
  GIT
2
2
  remote: https://github.com/rails/rails.git
3
- revision: 83a4fa414bc9e5008825f47857fdd80e85c82033
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.0)
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.find_by_name(code_or_name)
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
@@ -1,3 +1,3 @@
1
1
  module CountrySelect
2
- VERSION = '6.1.0'
2
+ VERSION = '6.1.1'
3
3
  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.0
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-17 00:00:00.000000000 Z
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/stefanpenner/country_select
136
+ homepage: https://github.com/countries/country_select
137
137
  licenses:
138
138
  - MIT
139
139
  metadata: {}