acvwilson-currency 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/currency.gemspec +1 -1
- data/lib/currency/exception.rb +1 -1
- data/lib/currency/money_helper.rb +4 -4
- metadata +2 -2
data/currency.gemspec
CHANGED
data/lib/currency/exception.rb
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
# See LICENSE.txt for details.
|
3
3
|
|
4
4
|
module ActionView::Helpers::MoneyHelper
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
# Creates a suitable HTML element for a Money value field.
|
6
|
+
def money_field(object, method, options = {})
|
7
|
+
InstanceTag.new(object, method, self).to_input_field_tag("text", options)
|
8
|
+
end
|
9
9
|
end
|
10
10
|
|
11
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acvwilson-currency
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Asa Wilson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-01-23 04:22:08.879031 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|