catarse_pagarme 2.14.13 → 2.14.14
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16f486ce4e0f5f5b564836a9b67e79b7a9b087ad0258503bdf75a131947e2a76
|
4
|
+
data.tar.gz: f4511696e43eceed7913675ef7c4f43f4159f616d17745ee9b47712b2c6ab256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a7626b41c62a8427cf572a3a59bd2f13a6f2777c6fc4cf401e7c6fc022ad59737fa9d12ed0cd97276d6743e37ef2ae9eb3537bf558b350abc2abd41a63dedaf
|
7
|
+
data.tar.gz: 2bf89a458858a603bcbd3b5600e7bcb66f8ba1b0ff79cfcada3e427cfa9b81117e908f31adef0031b30b2f2c67cf366b8ad50d2b0b10e03677c6f3797c86aa9b
|
data/Gemfile.lock
CHANGED
@@ -19,20 +19,24 @@ module CatarsePagarme
|
|
19
19
|
payment_method: payment.payment_method
|
20
20
|
}
|
21
21
|
)
|
22
|
-
::Raven.capture_exception(exception)
|
22
|
+
::Raven.capture_exception(exception, level: 'fatal')
|
23
23
|
::Raven.user_context({})
|
24
24
|
end
|
25
25
|
|
26
26
|
def metadata_attributes
|
27
27
|
{
|
28
28
|
key: payment.generate_key,
|
29
|
-
contribution_id: payment.contribution.id,
|
29
|
+
contribution_id: payment.contribution.id.to_s,
|
30
|
+
project_id: payment.project.id.to_s,
|
30
31
|
project_name: payment.project.name,
|
31
32
|
permalink: payment.project.permalink,
|
32
33
|
project_online: payment.project.online_at,
|
33
34
|
project_expires: payment.project.expires_at,
|
34
35
|
user_total_contributions: payment.user.contributions.was_confirmed.count,
|
35
|
-
user_id: payment.user.id
|
36
|
+
user_id: payment.user.id,
|
37
|
+
common_user_id: payment.user.common_id.to_s,
|
38
|
+
user_name: payment.user.name,
|
39
|
+
user_email: payment.user.email
|
36
40
|
}
|
37
41
|
end
|
38
42
|
|
@@ -33,7 +33,8 @@ module CatarsePagarme
|
|
33
33
|
async: false,
|
34
34
|
postback_url: self.attributes[:postback_url],
|
35
35
|
installments: self.attributes[:installments],
|
36
|
-
soft_descriptor: self.attributes[:soft_descriptor]
|
36
|
+
soft_descriptor: self.attributes[:soft_descriptor],
|
37
|
+
metadata: self.attributes[:metadata]
|
37
38
|
}.merge(credit_card_identifier)
|
38
39
|
)
|
39
40
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_pagarme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.14.
|
4
|
+
version: 2.14.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-04-
|
12
|
+
date: 2020-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: countries
|