currency_select 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{currency_select}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Trond Arve Nordheim"]
12
- s.date = %q{2010-10-29}
12
+ s.date = %q{2010-11-02}
13
13
  s.description = %q{Adds a currency_select helper to Ruby on Rails projects}
14
14
  s.email = %q{tanordheim@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -4,7 +4,7 @@ module CurrencySelect
4
4
  class << self
5
5
 
6
6
  CURRENCIES = Money::Currency::TABLE.inject([]) do |array, (id, currency)|
7
- array << [ "#{currency[:name]} - #{currency[:iso_code]}", currency[:iso_code] ]
7
+ array << [ "#{currency[:name]} - #{currency[:iso_code]}", id ]
8
8
  end.sort_by { |currency| currency.first.parameterize } unless const_defined?("CURRENCIES")
9
9
 
10
10
  # Returns an array with ISO codes and currency names for <tt>option</tt>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Trond Arve Nordheim
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-29 00:00:00 +02:00
17
+ date: 2010-11-02 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency