catarse_paypal_express 2.2.4 → 3.0.0

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: 2ad924e707fc42de3c9a21eebd78d75c2bf66788
4
- data.tar.gz: 438d0917d8427e54ce48ab283a757861c890c928
3
+ metadata.gz: e3bb78e5144708e3ec04d567850032f3e3fde720
4
+ data.tar.gz: ce5b27261fd5e3d32f551299fda1f65a6271cd29
5
5
  SHA512:
6
- metadata.gz: 895042cdebe0d0d4259b5015cf2e8c87bb82cbbf119a17e5ad9fb65918f6ec8efe7d96b6ac784775d66c209c559fa57aa8ef48ad100930a2cc03bd270cf0605e
7
- data.tar.gz: b8b89167249a2222d40eb0924cfe5c2557b0646c66ee60341f40d6dbcd76c30ba4ec7d1579e60a31ad386d6787554f457b487c485fe78f69432b2a12ce692949
6
+ metadata.gz: e6e477ee8bc101b15569b813c8a73b9a2c35cc49d7fb34b654cb5b6348761fd18b04c982efbf0a2d8309f6df6aba924b3bc1ae9517612e3c27825b85e6b80894
7
+ data.tar.gz: 63b0e2020f9d996b4f0784ef2c8f7055d5c8b989eba0e2169bbbaded45632d25a11d8f7531298e298a623b609d80cbe0d9a82e4291afefb81e2a0c5e8d913031
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_paypal_express (2.2.2)
4
+ catarse_paypal_express (3.0.0)
5
5
  activemerchant (>= 1.34.0)
6
6
  rails (~> 4.0)
7
7
  slim-rails
@@ -9,45 +9,46 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionmailer (4.0.4)
13
- actionpack (= 4.0.4)
14
- mail (~> 2.5.4)
15
- actionpack (4.0.4)
16
- activesupport (= 4.0.4)
17
- builder (~> 3.1.0)
18
- erubis (~> 2.7.0)
12
+ actionmailer (4.1.6)
13
+ actionpack (= 4.1.6)
14
+ actionview (= 4.1.6)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ actionpack (4.1.6)
17
+ actionview (= 4.1.6)
18
+ activesupport (= 4.1.6)
19
19
  rack (~> 1.5.2)
20
20
  rack-test (~> 0.6.2)
21
- active_utils (2.0.2)
21
+ actionview (4.1.6)
22
+ activesupport (= 4.1.6)
23
+ builder (~> 3.1)
24
+ erubis (~> 2.7.0)
25
+ active_utils (2.2.3)
22
26
  activesupport (>= 2.3.11)
23
27
  i18n
24
- activemerchant (1.42.6)
25
- active_utils (~> 2.0, >= 2.0.1)
26
- activesupport (>= 2.3.14, < 5.0.0)
28
+ activemerchant (1.44.1)
29
+ active_utils (~> 2.2.0)
30
+ activesupport (>= 3.2.14, < 5.0.0)
27
31
  builder (>= 2.1.2, < 4.0.0)
28
- i18n (~> 0.5)
32
+ i18n (>= 0.6.9)
29
33
  json (~> 1.7)
30
- money (< 7.0.0)
31
34
  nokogiri (~> 1.4)
32
- activemodel (4.0.4)
33
- activesupport (= 4.0.4)
34
- builder (~> 3.1.0)
35
- activerecord (4.0.4)
36
- activemodel (= 4.0.4)
37
- activerecord-deprecated_finders (~> 1.0.2)
38
- activesupport (= 4.0.4)
39
- arel (~> 4.0.0)
40
- activerecord-deprecated_finders (1.0.3)
41
- activesupport (4.0.4)
35
+ offsite_payments (~> 2.0.0)
36
+ activemodel (4.1.6)
37
+ activesupport (= 4.1.6)
38
+ builder (~> 3.1)
39
+ activerecord (4.1.6)
40
+ activemodel (= 4.1.6)
41
+ activesupport (= 4.1.6)
42
+ arel (~> 5.0.0)
43
+ activesupport (4.1.6)
42
44
  i18n (~> 0.6, >= 0.6.9)
43
- minitest (~> 4.2)
44
- multi_json (~> 1.3)
45
+ json (~> 1.7, >= 1.7.7)
46
+ minitest (~> 5.1)
45
47
  thread_safe (~> 0.1)
46
- tzinfo (~> 0.3.37)
47
- arel (4.0.2)
48
- atomic (1.1.16)
49
- builder (3.1.4)
50
- database_cleaner (1.2.0)
48
+ tzinfo (~> 1.1)
49
+ arel (5.0.1.20140414130214)
50
+ builder (3.2.2)
51
+ database_cleaner (1.3.0)
51
52
  diff-lcs (1.2.5)
52
53
  erubis (2.7.0)
53
54
  factory_girl (4.4.0)
@@ -56,45 +57,51 @@ GEM
56
57
  factory_girl (~> 4.4.0)
57
58
  railties (>= 3.0.0)
58
59
  hike (1.2.3)
59
- i18n (0.6.9)
60
+ i18n (0.6.11)
60
61
  json (1.8.1)
61
- mail (2.5.4)
62
- mime-types (~> 1.16)
63
- treetop (~> 1.4.8)
64
- mime-types (1.25.1)
65
- mini_portile (0.5.2)
66
- minitest (4.7.5)
67
- monetize (0.1.4)
68
- money (6.0.1)
69
- i18n (~> 0.6.4)
70
- monetize (~> 0.1.3)
71
- multi_json (1.9.0)
72
- nokogiri (1.6.1)
73
- mini_portile (~> 0.5.0)
62
+ mail (2.6.1)
63
+ mime-types (>= 1.16, < 3)
64
+ mime-types (2.3)
65
+ mini_portile (0.6.0)
66
+ minitest (5.4.2)
67
+ money (6.3.0)
68
+ i18n (>= 0.6.4, <= 0.7.0.dev)
69
+ multi_json (1.10.1)
70
+ nokogiri (1.6.3.1)
71
+ mini_portile (= 0.6.0)
72
+ offsite_payments (2.0.1)
73
+ active_utils (~> 2.2.0)
74
+ activesupport (>= 3.2.14, < 5.0.0)
75
+ builder (>= 2.1.2, < 4.0.0)
76
+ i18n (~> 0.5)
77
+ json (~> 1.7)
78
+ money (< 7.0.0)
79
+ nokogiri (~> 1.4)
74
80
  pg (0.17.1)
75
- polyglot (0.3.4)
76
81
  rack (1.5.2)
77
82
  rack-test (0.6.2)
78
83
  rack (>= 1.0)
79
- rails (4.0.4)
80
- actionmailer (= 4.0.4)
81
- actionpack (= 4.0.4)
82
- activerecord (= 4.0.4)
83
- activesupport (= 4.0.4)
84
+ rails (4.1.6)
85
+ actionmailer (= 4.1.6)
86
+ actionpack (= 4.1.6)
87
+ actionview (= 4.1.6)
88
+ activemodel (= 4.1.6)
89
+ activerecord (= 4.1.6)
90
+ activesupport (= 4.1.6)
84
91
  bundler (>= 1.3.0, < 2.0)
85
- railties (= 4.0.4)
86
- sprockets-rails (~> 2.0.0)
87
- railties (4.0.4)
88
- actionpack (= 4.0.4)
89
- activesupport (= 4.0.4)
92
+ railties (= 4.1.6)
93
+ sprockets-rails (~> 2.0)
94
+ railties (4.1.6)
95
+ actionpack (= 4.1.6)
96
+ activesupport (= 4.1.6)
90
97
  rake (>= 0.8.7)
91
98
  thor (>= 0.18.1, < 2.0)
92
- rake (10.1.1)
99
+ rake (10.3.2)
93
100
  rspec-core (2.14.8)
94
101
  rspec-expectations (2.14.5)
95
102
  diff-lcs (>= 1.1.3, < 2.0)
96
103
  rspec-mocks (2.14.6)
97
- rspec-rails (2.14.1)
104
+ rspec-rails (2.14.2)
98
105
  actionpack (>= 3.0)
99
106
  activemodel (>= 3.0)
100
107
  activesupport (>= 3.0)
@@ -102,32 +109,29 @@ GEM
102
109
  rspec-core (~> 2.14.0)
103
110
  rspec-expectations (~> 2.14.0)
104
111
  rspec-mocks (~> 2.14.0)
105
- slim (2.0.2)
112
+ slim (2.0.3)
106
113
  temple (~> 0.6.6)
107
114
  tilt (>= 1.3.3, < 2.1)
108
- slim-rails (2.1.2)
109
- actionpack (>= 3.0, < 4.1)
110
- activesupport (>= 3.0, < 4.1)
111
- railties (>= 3.0, < 4.1)
115
+ slim-rails (2.1.5)
116
+ actionpack (>= 3.0, < 4.2)
117
+ activesupport (>= 3.0, < 4.2)
118
+ railties (>= 3.0, < 4.2)
112
119
  slim (~> 2.0)
113
- sprockets (2.12.0)
120
+ sprockets (2.12.2)
114
121
  hike (~> 1.2)
115
122
  multi_json (~> 1.0)
116
123
  rack (~> 1.0)
117
124
  tilt (~> 1.1, != 1.3.0)
118
- sprockets-rails (2.0.1)
125
+ sprockets-rails (2.1.4)
119
126
  actionpack (>= 3.0)
120
127
  activesupport (>= 3.0)
121
128
  sprockets (~> 2.8)
122
- temple (0.6.7)
123
- thor (0.18.1)
124
- thread_safe (0.3.0)
125
- atomic (>= 1.1.7, < 2)
129
+ temple (0.6.8)
130
+ thor (0.19.1)
131
+ thread_safe (0.3.4)
126
132
  tilt (1.4.1)
127
- treetop (1.4.15)
128
- polyglot
129
- polyglot (>= 0.3.1)
130
- tzinfo (0.3.39)
133
+ tzinfo (1.2.2)
134
+ thread_safe (~> 0.1)
131
135
 
132
136
  PLATFORMS
133
137
  ruby
@@ -2,7 +2,6 @@ class CatarsePaypalExpress::PaypalExpressController < ApplicationController
2
2
  include ActiveMerchant::Billing::Integrations
3
3
 
4
4
  skip_before_filter :force_http
5
-
6
5
  SCOPE = "projects.contributions.checkout"
7
6
  layout :false
8
7
 
@@ -32,7 +31,7 @@ class CatarsePaypalExpress::PaypalExpressController < ApplicationController
32
31
  cancel_return_url: cancel_paypal_express_url(id: contribution.id),
33
32
  currency_code: 'BRL',
34
33
  description: t('paypal_description', scope: SCOPE, :project_name => contribution.project.name, :value => contribution.display_value),
35
- notify_url: ipn_paypal_express_index_url(subdomain: 'www')
34
+ notify_url: ipn_paypal_express_index_url
36
35
  })
37
36
 
38
37
  process_paypal_message response.params
@@ -1,13 +1,20 @@
1
1
  = javascript_include_tag 'catarse_paypal_express'
2
2
 
3
- h3= t('projects.contributions.review.international.section_title')
4
-
5
3
  #catarse_paypal_express_form
6
4
  = form_tag pay_paypal_express_path(params[:id]) do
7
- .clearfix
8
- .bootstrap-twitter
9
- = label_tag 'user_document', t('projects.contributions.review.international.user_document_label')
10
- .clearfix
11
- = text_field_tag 'user_document', nil, { autocomplete: 'off' }
12
- .loader.hide= image_tag 'loading.gif'
13
- = submit_tag t('projects.contributions.review.international.button'), :class => 'btn btn-primary btn-large'
5
+ .w-row
6
+ .w-col.w-col-6
7
+ = label_tag 'user_document', t('projects.contributions.review.international.user_document_label'), class: 'field-label fontweight-semibold'
8
+ = text_field_tag 'user_document', nil, { autocomplete: 'off', class: 'w-input text-field', data: {mask: '999.999.999-99'} }
9
+ .w-row
10
+ .w-col.w-col-12
11
+ .card.card-message.fontsize-small.u-radius.zindex-10.u-marginbottom-30 = t('projects.contributions.review.international.section_title')
12
+ .w-row
13
+ .w-col.w-col-push-3.w-col-6
14
+ .loader.u-text-center.w-col.w-col-12.u-marginbottom-30.w-hidden = image_tag "catarse_bootstrap/loader.gif"
15
+ = submit_tag t('projects.contributions.review.international.button'), :class => 'btn btn-large u-marginbottom-20'
16
+ .fontsize-smallest.u-text-center
17
+ | Ao apoiar, você concorda com os
18
+ = link_to 'Termos de Uso', main_app.terms_of_use_path, class: 'alt-link'
19
+ | e
20
+ = link_to 'Política de Privacidade', main_app.privacy_policy_path, class: 'alt-link'
@@ -1,3 +1,3 @@
1
1
  module CatarsePaypalExpress
2
- VERSION = "2.2.4"
2
+ VERSION = "3.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_paypal_express
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 3.0.0
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-11-12 00:00:00.000000000 Z
13
+ date: 2014-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails