localized_country_select 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ See http://github.com/rails/country_select/tree/master/lib/country_select.rb
22
22
 
23
23
  In your Gemfile add:
24
24
 
25
- gem 'localized_country_select', '>= 0.9.9'
25
+ gem 'localized_country_select', '>= 0.9.11'
26
26
 
27
27
  == Rails 2.3
28
28
 
@@ -1,3 +1,3 @@
1
1
  module LocalizedCountrySelect
2
- VERSION = '0.9.10'
2
+ VERSION = '0.9.11'
3
3
  end
@@ -142,7 +142,7 @@ TAIL
142
142
  document.search("//tr").inject({}) do |hash, row|
143
143
  n = row.search("td[@class='n']")
144
144
  g = row.search("td")
145
- if n.inner_html =~ /Locale Display Names/ && g.count >= 6 && g[4].inner_html =~ /^[A-Z]{2}/
145
+ if n.inner_html =~ /Locale Display Names/ && g.count >= 6 && g[4].inner_html =~ /^[A-Z]{2}$/
146
146
  code = g[4].inner_text
147
147
  code = code[-code.size, 2].to_sym
148
148
  name = row.search("td[@class='v']:not([@title])").inner_text
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.9.10
4
+ version: 0.9.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2015-03-15 00:00:00.000000000 Z
18
+ date: 2015-03-16 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: actionpack