catarse_pagarme 2.9.0 → 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/app/models/catarse_pagarme/balance_transfer_delegator.rb +1 -1
- data/app/models/catarse_pagarme/payment_delegator.rb +2 -2
- data/app/views/catarse_pagarme/pagarme/_terms.html.slim +2 -5
- data/lib/catarse_pagarme/version.rb +1 -1
- data/spec/support/factories.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83df4869aa8964cc63026ac81f1863c72f0827fa
|
4
|
+
data.tar.gz: b158ae386f50c01b5d28422511a8fe2937ebbd6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88eac6069007922e5ac0916e4ee0902cdd0a6f88b7dfd5d02184f0f43e92a19d93b8e270e65400a116734fa2d40db840722dbcbf3ff9e96e55ee440bc8d3f6d
|
7
|
+
data.tar.gz: 52c7be5ce9191885d2a2598e90e75cf6324f3e627c1e398c0799ae12632f99fae5ab06df158dd5cb32535fd3f283e0492627e86da8f35edb13191ccb3c152ad1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
catarse_pagarme (2.9.
|
4
|
+
catarse_pagarme (2.9.2)
|
5
5
|
pagarme (= 1.10.0)
|
6
6
|
rails (~> 4.0)
|
7
7
|
sidekiq
|
@@ -48,7 +48,7 @@ GEM
|
|
48
48
|
arel (6.0.3)
|
49
49
|
builder (3.2.2)
|
50
50
|
coderay (1.1.0)
|
51
|
-
concurrent-ruby (1.0.
|
51
|
+
concurrent-ruby (1.0.2)
|
52
52
|
connection_pool (2.2.0)
|
53
53
|
database_cleaner (1.5.0)
|
54
54
|
diff-lcs (1.2.5)
|
@@ -71,10 +71,10 @@ GEM
|
|
71
71
|
mail (2.6.4)
|
72
72
|
mime-types (>= 1.16, < 4)
|
73
73
|
method_source (0.8.2)
|
74
|
-
mime-types (2.99.
|
74
|
+
mime-types (2.99.2)
|
75
75
|
mini_portile (0.6.2)
|
76
76
|
minitest (5.8.1)
|
77
|
-
multi_json (1.
|
77
|
+
multi_json (1.12.1)
|
78
78
|
netrc (0.11.0)
|
79
79
|
nokogiri (1.6.6.2)
|
80
80
|
mini_portile (~> 0.6.0)
|
@@ -141,7 +141,7 @@ GEM
|
|
141
141
|
connection_pool (~> 2.2, >= 2.2.0)
|
142
142
|
redis (~> 3.2, >= 3.2.1)
|
143
143
|
slop (3.6.0)
|
144
|
-
sprockets (3.
|
144
|
+
sprockets (3.6.0)
|
145
145
|
concurrent-ruby (~> 1.0)
|
146
146
|
rack (> 1, < 3)
|
147
147
|
sprockets-rails (3.0.4)
|
@@ -8,8 +8,8 @@ module CatarsePagarme
|
|
8
8
|
self.payment = payment
|
9
9
|
end
|
10
10
|
|
11
|
-
def change_status_by_transaction(
|
12
|
-
case
|
11
|
+
def change_status_by_transaction(transaction_status)
|
12
|
+
case transaction_status
|
13
13
|
when 'paid', 'authorized' then
|
14
14
|
self.payment.pay unless self.payment.paid?
|
15
15
|
when 'pending_refund' then
|
@@ -1,10 +1,7 @@
|
|
1
1
|
- project = @contribution.project
|
2
2
|
.fontsize-smallest.u-text-center.u-marginbottom-30
|
3
3
|
| Ao apoiar, você concorda com os
|
4
|
-
= link_to 'Termos de Uso', main_app.terms_of_use_path, class: 'alt-link'
|
5
|
-
|
6
|
-
- if project.mode == 'flex'
|
7
|
-
= link_to 'Regras do catarse flex', 'http://suporte.catarse.me/hc/pt-br/articles/206574833-Regras-para-a-fase-de-testes-do-Catarse-Flex', target: '__blank', class: 'alt-link'
|
8
|
-
| e
|
4
|
+
= link_to 'Termos de Uso ', main_app.terms_of_use_path, class: 'alt-link'
|
5
|
+
' e
|
9
6
|
= link_to 'Política de Privacidade', main_app.privacy_policy_path, class: 'alt-link'
|
10
7
|
|
data/spec/support/factories.rb
CHANGED
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.9.
|
4
|
+
version: 2.9.2
|
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: 2016-
|
12
|
+
date: 2016-06-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|