forked from jamesds/country-select
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
CountrySelect | ||
============= | ||
# Country-Select | ||
|
||
Provides a simple helper to get an HTML select list of countries. The list of countries comes from the ISO 3166 standard. While it is a relatively neutral source of country names, it will still offend some users. | ||
|
||
Users are strongly advised to evaluate the suitability of this list given their user base. | ||
|
||
Example | ||
======= | ||
## Installation | ||
|
||
country_select("user", "country_name") | ||
Install as a gem using | ||
|
||
gem install country-select | ||
|
||
Or put the following in your Gemfile | ||
|
||
gem 'country-select' | ||
|
||
## Example | ||
|
||
country_select("user", "country_name") | ||
|
||
Copyright (c) 2008 Michael Koziarski, released under the MIT license |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Gem::Specification.new do |s| | ||
s.name = 'country-select' | ||
s.version = '1.0.2' | ||
s.date = '2011-09-22' | ||
s.summary = 'Country select box' | ||
s.description = 'Provides a form helper to insert a country select box using the ISO 3166 country list' | ||
s.authors = [ 'Michael Koziarski', 'James Dean Shepherd' ] | ||
s.email = 'jamesds2007@gmail.com' | ||
s.files = [ 'lib/country_select.rb' ] | ||
s.homepage = 'http://github.com/jamesds/iso-3166-country-select' | ||
end |