kid80-biggs 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.textile +5 -0
- data/VERSION.yml +1 -1
- data/lib/biggs/formatter.rb +1 -0
- metadata +1 -1
data/CHANGES.textile
CHANGED
data/VERSION.yml
CHANGED
data/lib/biggs/formatter.rb
CHANGED
@@ -29,6 +29,7 @@ module Biggs
|
|
29
29
|
values.symbolize_keys! if values.respond_to?(:symbolize_keys!)
|
30
30
|
country_code = country_code.dup.to_s.downcase
|
31
31
|
country_entry = (Biggs.formats[country_code])
|
32
|
+
return [] if country_entry.nil?
|
32
33
|
country_format = (country_entry["format"].dup || "").to_s
|
33
34
|
|
34
35
|
form_fields = country_format.scan(/\{\{(\w+)\}\}/)
|