0.0
No commit activity in last 3 years
No release in over 3 years
Gemified collection of country flags. See homepage for details: https://github.com/alexander-lazarov/country_flags
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.11

Runtime

 Project Readme

Readme

Gem Version

Gemified collection of country flags.

Usage

Add to your Gemfile:

gem 'country_flags'

Run:

bundle install

In views:

# using helper
country_flag 'bg'
country_flag 'bg', format: 'gif'

image_tag country_flag_path 'bg'
image_tag country_flag_path 'bg', :gif

# gif version
image_tag 'country_flags/gif/bg.gif'

# png version
image_tag 'country_flags/png/bg.gif'

Testing

Use rspec to run the tests.

bundle exec rspec

Credit

Country flags are made by famfamfam.

Contributing

Your contributions are welcome. Please fork the project, make a new branch and send me a pull request.