dineromail 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module DineromailHelper
7
7
  form_options = options.delete(:form) || {}
8
8
  form_options[:action] = payment_url
9
9
  content_tag(:form, form_options ) do
10
- ''.tap do |html|
10
+ ''.html_safe.tap do |html|
11
11
  html << dineromail_inputs(item_name,amount,options)
12
12
  html << content_tag(:input,nil, :type => 'image', :src => button_image_url, :border => '0', :name=> 'submit', :alt=>'Pagar con Dineromail' )
13
13
  end
@@ -27,7 +27,7 @@ module DineromailHelper
27
27
  transaction_id = options[:transaction_id]
28
28
  item_number = options[:item_number]
29
29
 
30
- ''.tap do |html|
30
+ ''.html_safe.tap do |html|
31
31
  html << content_tag(:input,nil, :type => 'hidden', :name => 'NombreItem', :value =>item_name)
32
32
  html << content_tag(:input,nil, :type => 'hidden', :name => 'TipoMoneda', :value =>currency)
33
33
  html << content_tag(:input,nil, :type => 'hidden', :name => 'PrecioItem', :value =>amount)
@@ -1,3 +1,3 @@
1
1
  module Dineromail
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dineromail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nicolas Mosconi