localized_country_select 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d99659f08bcc782b281fb10a20cf41e46a0249a0a6d7a811e831505f1bbf758
4
- data.tar.gz: d180d2b3657226eb58e6b0b0d7a4ac49895a160d5766fdcd965edf0d7ef5e854
3
+ metadata.gz: 7ff1f5a996b282ec7a2493368727792702c0e4b48b8cdc0dcff579a726e42c1e
4
+ data.tar.gz: 8a7ca054c3d89883d6d683929ef7414065daf0be6c08a6a0f43bef38c818ebf9
5
5
  SHA512:
6
- metadata.gz: c497d965af1e14c3baa5a4725273a654df02ba2244adeb480276eb24d272cee4cbe6b11ef6138e230064e6441e8a3526230c0e7308ee4d01b0aa91da3dd99353
7
- data.tar.gz: 4d06428996b60c8253f641e4f0d5dccc6e7bd9fcf37adaedc4059feb7c80e940172dbb3b98113058a19d507f40a1cf7feb104a9a6b8aae2454833a08192c3901
6
+ metadata.gz: ae940269acba150b3316fd38d775e9aa008562c74e55cbc704469acb14d3f3f4e16f0807a55582e5bc59a40b6fbd3336a0a2657d3cfd60a1eb7585efd0f512ad
7
+ data.tar.gz: b91d5323de3696d3d449c515dc14795a87ceeb479b83a02b572d20aeb72c401c2ef58ddf6feeacae6349636c27641b3e2e222c05c712d84c220ba0d77959441b
@@ -1,3 +1,3 @@
1
1
  module LocalizedCountrySelect
2
- VERSION = '0.10.0'
2
+ VERSION = '0.10.1'
3
3
  end
@@ -4,7 +4,7 @@ require 'active_support/inflector'
4
4
  require 'csv'
5
5
 
6
6
  # Rake task for importing country names from Unicode.org's CLDR repository
7
- # (http://www.unicode.org/cldr/data/charts/summary/root.html).
7
+ # (https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html).
8
8
  #
9
9
  # It parses a HTML file from Unicode.org for given locale and saves the
10
10
  # Rails' I18n hash in the plugin +locale+ directory
@@ -34,7 +34,7 @@ namespace :import do
34
34
  # Setup variables
35
35
  locale = ENV['LOCALE']
36
36
  unless locale
37
- puts "\n[!] Usage: rake import:country_select LOCALE=de\n\n"
37
+ puts "\n[!] Usage: rails import:country_select LOCALE=de\n\n"
38
38
  exit 0
39
39
  end
40
40
 
@@ -47,7 +47,7 @@ namespace :import do
47
47
  # ----- Get the CLDR HTML --------------------------------------------------
48
48
  begin
49
49
  puts "... getting the HTML file for locale '#{web_locale}'"
50
- url = "http://www.unicode.org/cldr/data/charts/summary/#{web_locale}.html"
50
+ url = "https://unicode-org.github.io/cldr-staging/charts/37/summary/#{web_locale}.html"
51
51
  html = open(url).read
52
52
  rescue => e
53
53
  puts "[!] Invalid locale name '#{web_locale}'! Not found in CLDR (#{e})"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localized_country_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - karmi
@@ -11,10 +11,10 @@ authors:
11
11
  - Julien SANCHEZ
12
12
  - Herv\303\251 GAUCHER
13
13
  - RainerBlessing
14
- autorequire:
14
+ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-12-27 00:00:00.000000000 Z
17
+ date: 2020-06-16 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: actionpack
@@ -33,13 +33,13 @@ dependencies:
33
33
  description: ' Localized "country_select" helper with Rake task for downloading locales
34
34
  from Unicode.org''s CLDR '
35
35
  email:
36
- -
36
+ -
37
37
  - maciej@litwiniuk.net
38
- -
39
- -
40
- -
41
- -
42
- -
38
+ -
39
+ -
40
+ -
41
+ -
42
+ -
43
43
  executables: []
44
44
  extensions: []
45
45
  extra_rdoc_files: []
@@ -61,7 +61,7 @@ homepage: https://github.com/mlitwiniuk/localized_country_select
61
61
  licenses:
62
62
  - MIT
63
63
  metadata: {}
64
- post_install_message:
64
+ post_install_message:
65
65
  rdoc_options: []
66
66
  require_paths:
67
67
  - lib
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubygems_version: 3.0.3
80
- signing_key:
80
+ signing_key:
81
81
  specification_version: 4
82
82
  summary: Localized "country_select" helper with Rake task for downloading locales
83
83
  from Unicode.org's CLDR