catarse_moip 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a303201200c88bb87b69dbeef2fb5c3260580408
4
- data.tar.gz: 48376c06cd160dc931e6cd3be6d583c3cfb2a2a3
3
+ metadata.gz: 142863c200d1d3be6c1020d2a52c373ad2c03148
4
+ data.tar.gz: d71309cbc85db385fcb09b242d728068bb83b700
5
5
  SHA512:
6
- metadata.gz: b042bad1301f0990563fd9417d392982e5091b9fb193c081f13347f7d4c4814130f97762677f3d315786e4722ceb8ae6aeeae37fb42789a4dd389be31b995287
7
- data.tar.gz: a9164d7b06956aadb95d88a06b833338a2c9dccdea1ed1ce663846c614c240f4dac2cc3bf4907d352bf01d17e1da3814e90a93d6f7649db06b0e02916bdb7da2
6
+ metadata.gz: a17421ace9c3d857a722c838c556ead06c2f8ed250fd2c37b5505f827c44b8d7741aacde3a119d4c2ff160b413748212221a17509de4e08643ceddf5fc19648e
7
+ data.tar.gz: 4c52820066263aae9d4f92ea04d6a55ad439787ac66b3e2e2d6e1f370e58e1f7decd2f4229e2cc3c35b0dea27acbbbf1065e9a029a603096d3eec4744641fa2f
data/Gemfile.lock CHANGED
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- catarse_moip (2.3.1)
13
+ catarse_moip (2.3.2)
14
14
  enumerate_it
15
15
  libxml-ruby (~> 2.6.0)
16
16
  rails (~> 4.0)
@@ -123,6 +123,7 @@ module CatarseMoip
123
123
 
124
124
  def process_moip_message
125
125
  contribution.with_lock do
126
+ first_update_contribution if contribution.payment_method.nil?
126
127
  payment_notification = PaymentEngines.create_payment_notification contribution_id: contribution.id, extra_data: JSON.parse(params.to_json.force_encoding('iso-8859-1').encode('utf-8'))
127
128
  payment_id = (contribution.payment_id.gsub(".", "").to_i rescue 0)
128
129
 
@@ -1,3 +1,3 @@
1
1
  module CatarseMoip
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_moip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-02-19 00:00:00.000000000 Z
13
+ date: 2014-02-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails