i18n_country_select 1.1.4 → 1.1.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8562692fb90a88acb24002dd64a10b1e655b56d
|
4
|
+
data.tar.gz: 09676b6c556cdc4eb2535f30c8668da1785e10c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55df1aa4207c059b9d9377eea6445760aea6f5831ceba4946eea14b721b71bd7e15b15f39e35e5cfcefe83639b2081ebd1086ebf0ef0217030f21e3f3cf0de3a
|
7
|
+
data.tar.gz: 034814a5dbfd89be579e04ec968b0cf722aff7b948036d21cd01496899e7435f1008ce6b453f0cd6197fdff6b272aa31f6bbd86e5c51e5b69746f64d9217f28a
|
data/README.rdoc
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
{<img src="https://travis-ci.org/onomojo/i18n_country_select.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/onomojo/i18n_country_select]
|
2
|
+
|
3
|
+
|
1
4
|
== Country Code Select
|
2
5
|
|
3
6
|
A simple country code select helper with I18n translations for the countries. Works exactly the same as country_select but uses country codes instead and has i18n translations for the country names.
|
@@ -40,10 +43,13 @@ Supplying priority countries to be placed at the top of the list:
|
|
40
43
|
* https://github.com/durandom
|
41
44
|
* Stefan Slaveykov (https://github.com/wizardone)
|
42
45
|
* Leonardo D. Schlossmacher (https://github.com/leods92)
|
46
|
+
* Monica Giambitto - https://github.com/nirnaeth
|
47
|
+
* Marat Galiev - https://github.com/maratgaliev
|
43
48
|
|
44
49
|
Based on the deprecated country_code_select by: Russ Smith (russ@bashme.org) and Frank Wambutt (frank@mo-stud.io)
|
45
50
|
|
46
51
|
== Version History
|
52
|
+
* 1.1.5 - Fixing support for Rails 4.2. Adding Kosovo country code
|
47
53
|
* 1.1.4 - Fixed options being ignored when running Rails 4
|
48
54
|
* 1.1.3 - Removed Netherlands Antilles. Added Bonaire, Curacao, Sint Maarten, and South Sudan
|
49
55
|
* 1.1.2 - Adding Thread variable to speed up rendering
|
data/lib/i18n_country_select.rb
CHANGED
@@ -9,8 +9,8 @@ require "i18n_country_select/instance_tag"
|
|
9
9
|
|
10
10
|
ActionView::Base.send(:include, I18nCountrySelect::FormHelpers)
|
11
11
|
if Rails::VERSION::MAJOR >= 4
|
12
|
-
ActionView::Helpers::
|
12
|
+
ActionView::Helpers::Tags::Select.send(:include, I18nCountrySelect::InstanceTag)
|
13
13
|
else
|
14
14
|
ActionView::Helpers::InstanceTag.send(:include, I18nCountrySelect::InstanceTag)
|
15
15
|
end
|
16
|
-
ActionView::Helpers::FormBuilder.send(:include, I18nCountrySelect::FormBuilder)
|
16
|
+
ActionView::Helpers::FormBuilder.send(:include, I18nCountrySelect::FormBuilder)
|
@@ -23,6 +23,6 @@ module I18nCountrySelect
|
|
23
23
|
'SZ','SE','CH','SY','TJ','TW','TZ','TH','TG','TK',
|
24
24
|
'TO','TT','TN','TR','TM','TC','TV','UG','UA','AE',
|
25
25
|
'US','UY','UM','UZ','VU','VA','VE','VN','VG','VI',
|
26
|
-
'WF','EH','YE','ZM','ZW','CW','SX','SS'
|
26
|
+
'WF','EH','YE','ZM','ZW','CW','SX','SS','ME','XK'
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n_country_select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian McQuay (brian@onomojo.com)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|