Permalink
Browse files

Fix for country_code_select.

  • Loading branch information...
1 parent cfdb49f commit 38b83098624ac699cbde643280d1c386c2c774c9 @joost committed Oct 25, 2012
Showing with 17 additions and 4 deletions.
  1. +15 −2 admin_interface.gemspec
  2. +1 −1 app/inputs/country_code_input.rb
  3. +1 −1 lib/admin_interface/version.rb
View
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = "admin_interface"
- s.version = "2.2.2"
+ s.version = "2.2.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Joost Hietbrink"]
- s.date = "2012-06-20"
+ s.date = "2012-10-25"
s.description = "A Rails admin interface generator. Theme stolen from Redmine. Similar to web-app-theme but better ;)."
s.extra_rdoc_files = [
"README.rdoc"
@@ -118,6 +118,7 @@ Gem::Specification.new do |s|
"vendor/assets/images/admin/feed.png",
"vendor/assets/images/admin/files/c.png",
"vendor/assets/images/admin/files/csharp.png",
+ "vendor/assets/images/admin/files/csv.png",
"vendor/assets/images/admin/files/default.png",
"vendor/assets/images/admin/files/image.png",
"vendor/assets/images/admin/files/pdf.png",
@@ -274,6 +275,10 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<geminabox>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<geminabox>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<geminabox>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_development_dependency(%q<geminabox>, [">= 0"])
s.add_runtime_dependency(%q<kaminari>, [">= 0.12.4"])
s.add_runtime_dependency(%q<ransack>, [">= 0"])
s.add_runtime_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -334,6 +339,10 @@ Gem::Specification.new do |s|
s.add_dependency(%q<geminabox>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<geminabox>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<geminabox>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<geminabox>, [">= 0"])
s.add_dependency(%q<kaminari>, [">= 0.12.4"])
s.add_dependency(%q<ransack>, [">= 0"])
s.add_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -395,6 +404,10 @@ Gem::Specification.new do |s|
s.add_dependency(%q<geminabox>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<geminabox>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<geminabox>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<geminabox>, [">= 0"])
s.add_dependency(%q<kaminari>, [">= 0.12.4"])
s.add_dependency(%q<ransack>, [">= 0"])
s.add_dependency(%q<inherited_resources>, [">= 1.2.2"])
@@ -5,6 +5,6 @@
#
class CountryCodeInput < SimpleForm::Inputs::Base
def input
- @builder.country_code_select(attribute_name, input_options.delete(:priority), input_html_options) #, priority_countries, options)
+ @builder.country_code_select(attribute_name, input_options.delete(:priority) || SimpleForm.country_priority, input_html_options) #, priority_countries, options)
end
end
@@ -3,7 +3,7 @@ module AdminInterface
module Version
MAJOR = 2
MINOR = 2
- PATCH = 2
+ PATCH = 3
BUILD = nil
STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')

0 comments on commit 38b8309

Please sign in to comment.