countries 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module ISO3166
6
6
  # to `pt` to prevent from showing nil values
7
7
  class Translations < Hash
8
8
  def [](locale)
9
- super(locale) || super(locale.sub(/-.*/, ''))
9
+ super(locale) || super(locale.to_s.sub(/-.*/, ''))
10
10
  end
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Countries
2
- VERSION = '4.0.0'.freeze
2
+ VERSION = '4.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countries
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Robinson
8
8
  - Joe Corcoran
9
9
  - Russell Osborne
10
10
  - Pedro Moreira
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-06-11 00:00:00.000000000 Z
14
+ date: 2021-07-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n_data
@@ -768,7 +768,7 @@ metadata:
768
768
  changelog_uri: https://github.com/countries/countries/blob/master/CHANGELOG.md
769
769
  source_code_uri: https://github.com/countries/countries
770
770
  wiki_uri: https://github.com/countries/countries/wiki
771
- post_install_message:
771
+ post_install_message:
772
772
  rdoc_options: []
773
773
  require_paths:
774
774
  - lib
@@ -776,15 +776,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
776
776
  requirements:
777
777
  - - ">="
778
778
  - !ruby/object:Gem::Version
779
- version: '0'
779
+ version: '2.5'
780
780
  required_rubygems_version: !ruby/object:Gem::Requirement
781
781
  requirements:
782
782
  - - ">="
783
783
  - !ruby/object:Gem::Version
784
784
  version: '0'
785
785
  requirements: []
786
- rubygems_version: 3.1.6
787
- signing_key:
786
+ rubygems_version: 3.2.22
787
+ signing_key:
788
788
  specification_version: 4
789
789
  summary: Gives you a country object full of all sorts of useful information.
790
790
  test_files: