catarse_compra_facil 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a7b86bda8851ecd2d4954782033fd059a508a54
4
- data.tar.gz: 4079b893a360db57f9d7911993fb6693adba4d95
3
+ metadata.gz: 36c5d1a7b95ddb0c4791d86f2c0506248682c329
4
+ data.tar.gz: 07e59d5f129e7135fdc6238d12562ccb70fee92b
5
5
  SHA512:
6
- metadata.gz: 9b51da794230b2e750b0a9348320100a528e361cadde4ff2a6f8a01055054dde657e9660194dfbab57a3e19872263f66c91fa8417e751f4e028f300ea4379bb4
7
- data.tar.gz: 346f9e78882c1f76040402aba91e82f2ef01cd1d6598a1daff91de2e1d88d99e8a6795bb794e3dca8b376ac2de14cbe917493192bfbf69d39266e6f13958acb2
6
+ metadata.gz: 0b0403a5fc51293275164ee04ebead6008ffb8b0af7b4f9dfaa3bce59650b1ecf9af62e782557dbe95aa4cd1964ba8a095327415a49a27636ecca4727b6a38c3
7
+ data.tar.gz: b2fe269da4673a255157b763ac80f8235646ef39c776589f9641bd0a19e0ba35fc992e216d10bd5e65759a7b415454fb0b5d18e8b1b120b140ea792da7d18844
@@ -1,3 +1,3 @@
1
1
  module CatarseCompraFacil
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -96,6 +96,11 @@ module CatarseCompraFacil
96
96
  if PaymentEngines.configuration[:comprafacil_CustomerID] and PaymentEngines.configuration[:comprafacil_password]
97
97
  self.user = PaymentEngines.configuration[:comprafacil_CustomerID]
98
98
  self.password = PaymentEngines.configuration[:comprafacil_password]
99
+ if Rails.env.development? || Rails.env.test?
100
+ self.user_type = 10241
101
+ else
102
+ self.user_type = 11249
103
+ end
99
104
  else
100
105
  puts "[PayPal] An API Certificate or API Signature is required to make requests to PayPal"
101
106
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_compra_facil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - EdgeInnovation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-20 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails