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: 028c8665a7e08597e3ee81e05fdcbe9fd3f3d4ed
4
- data.tar.gz: d91a51f16c576ecf4466a97c8a039f49f6623b91
3
+ metadata.gz: d8562692fb90a88acb24002dd64a10b1e655b56d
4
+ data.tar.gz: 09676b6c556cdc4eb2535f30c8668da1785e10c1
5
5
  SHA512:
6
- metadata.gz: 396672d7f30555f95e9938e1fe1f57139ed916402f57a0ca97f2c86148f3a6b94d778ddd047c4c82f2ec8613916c3006d8fc04d7a964c8d4a42159590983e5d3
7
- data.tar.gz: 9654cc73ada7a5f7f7137284b65eabe568e732157a3984731783fa7783fa00ee997bf5990fe04e935f96db0302615ea18aef295b79d2e956258f7b12553c01cf
6
+ metadata.gz: 55df1aa4207c059b9d9377eea6445760aea6f5831ceba4946eea14b721b71bd7e15b15f39e35e5cfcefe83639b2081ebd1086ebf0ef0217030f21e3f3cf0de3a
7
+ data.tar.gz: 034814a5dbfd89be579e04ec968b0cf722aff7b948036d21cd01496899e7435f1008ce6b453f0cd6197fdff6b272aa31f6bbd86e5c51e5b69746f64d9217f28a
@@ -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
@@ -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::ActiveModelInstanceTag.send(:include, I18nCountrySelect::InstanceTag)
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
@@ -10,4 +10,4 @@ module I18nCountrySelect
10
10
  end
11
11
  end
12
12
  end
13
- end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module I18nCountrySelect
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  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
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: 2014-07-26 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n