catarse_dineromail 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -30,6 +30,14 @@ In Rails console, run this:
30
30
  Configuration.create!(name: "dineromail_merchant", value: "123456")
31
31
  Configuration.create!(name: "dineromail_country_id", value: "2")
32
32
  Configuration.create!(name: "dineromail_ipn_password", value: "ipn_password")
33
+ Configuration.create!(name: "dineromail_currency", value: "clp")
34
+
35
+ Currencies:
36
+ "ars"
37
+ "mxn"
38
+ "clp"
39
+ "brl"
40
+ "usd"
33
41
 
34
42
  ## Development environment setup
35
43
 
@@ -80,7 +80,7 @@ module CatarseDineromail
80
80
  config.payment_method = 'all'
81
81
  config.merchant = (::Configuration[:dineromail_merchant] || nil)
82
82
  config.logo_url = "#{request.protocol}#{request.host_with_port}/assets/logo.png"
83
- config.currency = DineroMailCheckout::Configuration::Currency::USD
83
+ config.currency = ::Configuration[:dineromail_currency]
84
84
  config.country_id = ::Configuration[:dineromail_country_id]
85
85
  end
86
86
  end
@@ -1,3 +1,3 @@
1
1
  module CatarseDineromail
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_dineromail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-02 00:00:00.000000000 Z
12
+ date: 2012-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails