catarse_pagarme 2.16.3 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +117 -109
- data/app/controllers/catarse_pagarme/application_controller.rb +2 -2
- data/app/controllers/catarse_pagarme/notifications_controller.rb +1 -1
- data/catarse_pagarme.gemspec +1 -2
- data/lib/catarse_pagarme.rb +0 -1
- data/lib/catarse_pagarme/version.rb +1 -1
- metadata +6 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2332f6cfdac072a251e551bf613d418bc78b6d3e
|
4
|
+
data.tar.gz: 69a48d1f6d34d6687fa517e412c2b366a68d1a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f3b834d363373059b2be3b0ded2a6fd7853e84f329ad76af15bb705e84209bc79542adcdad44aed2d74b76e442d3e25f3a523b7581bedae13b72844774ea0ed
|
7
|
+
data.tar.gz: 0f63789a591afc297019d4b3145504a9f93e500fd79ad422af60e618fce79fef278af7f0cf13f812529f8885e1374615c9ec610128fa047737debf834cef8f99
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
catarse_pagarme (
|
5
|
-
countries (= 3.0.0)
|
4
|
+
catarse_pagarme (3.0.0)
|
6
5
|
konduto-ruby (= 2.1.0)
|
7
6
|
pagarme (= 2.1.4)
|
8
|
-
rails
|
7
|
+
rails
|
9
8
|
sentry-raven
|
10
9
|
sidekiq
|
11
10
|
weekdays (>= 1.0.2)
|
@@ -13,171 +12,180 @@ PATH
|
|
13
12
|
GEM
|
14
13
|
remote: https://rubygems.org/
|
15
14
|
specs:
|
16
|
-
|
17
|
-
actionpack (=
|
18
|
-
|
19
|
-
|
15
|
+
actioncable (5.2.4.3)
|
16
|
+
actionpack (= 5.2.4.3)
|
17
|
+
nio4r (~> 2.0)
|
18
|
+
websocket-driver (>= 0.6.1)
|
19
|
+
actionmailer (5.2.4.3)
|
20
|
+
actionpack (= 5.2.4.3)
|
21
|
+
actionview (= 5.2.4.3)
|
22
|
+
activejob (= 5.2.4.3)
|
20
23
|
mail (~> 2.5, >= 2.5.4)
|
21
|
-
rails-dom-testing (~>
|
22
|
-
actionpack (
|
23
|
-
actionview (=
|
24
|
-
activesupport (=
|
25
|
-
rack (~>
|
26
|
-
rack-test (
|
27
|
-
rails-dom-testing (~>
|
24
|
+
rails-dom-testing (~> 2.0)
|
25
|
+
actionpack (5.2.4.3)
|
26
|
+
actionview (= 5.2.4.3)
|
27
|
+
activesupport (= 5.2.4.3)
|
28
|
+
rack (~> 2.0, >= 2.0.8)
|
29
|
+
rack-test (>= 0.6.3)
|
30
|
+
rails-dom-testing (~> 2.0)
|
28
31
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
29
|
-
actionview (
|
30
|
-
activesupport (=
|
32
|
+
actionview (5.2.4.3)
|
33
|
+
activesupport (= 5.2.4.3)
|
31
34
|
builder (~> 3.1)
|
32
|
-
|
33
|
-
rails-dom-testing (~>
|
35
|
+
erubi (~> 1.4)
|
36
|
+
rails-dom-testing (~> 2.0)
|
34
37
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
35
|
-
activejob (
|
36
|
-
activesupport (=
|
37
|
-
globalid (>= 0.3.
|
38
|
-
activemodel (
|
39
|
-
activesupport (=
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
38
|
+
activejob (5.2.4.3)
|
39
|
+
activesupport (= 5.2.4.3)
|
40
|
+
globalid (>= 0.3.6)
|
41
|
+
activemodel (5.2.4.3)
|
42
|
+
activesupport (= 5.2.4.3)
|
43
|
+
activerecord (5.2.4.3)
|
44
|
+
activemodel (= 5.2.4.3)
|
45
|
+
activesupport (= 5.2.4.3)
|
46
|
+
arel (>= 9.0)
|
47
|
+
activestorage (5.2.4.3)
|
48
|
+
actionpack (= 5.2.4.3)
|
49
|
+
activerecord (= 5.2.4.3)
|
50
|
+
marcel (~> 0.3.1)
|
51
|
+
activesupport (5.2.4.3)
|
52
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
53
|
+
i18n (>= 0.7, < 2)
|
47
54
|
minitest (~> 5.1)
|
48
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
49
55
|
tzinfo (~> 1.1)
|
50
|
-
arel (
|
51
|
-
builder (3.2.
|
52
|
-
coderay (1.1.
|
53
|
-
concurrent-ruby (1.
|
54
|
-
connection_pool (2.2.
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
unicode_utils (~> 1.4)
|
59
|
-
crass (1.0.4)
|
60
|
-
database_cleaner (1.7.0)
|
61
|
-
diff-lcs (1.3)
|
56
|
+
arel (9.0.0)
|
57
|
+
builder (3.2.4)
|
58
|
+
coderay (1.1.3)
|
59
|
+
concurrent-ruby (1.1.6)
|
60
|
+
connection_pool (2.2.3)
|
61
|
+
crass (1.0.6)
|
62
|
+
database_cleaner (1.8.5)
|
63
|
+
diff-lcs (1.4.4)
|
62
64
|
domain_name (0.5.20190701)
|
63
65
|
unf (>= 0.0.5, < 1.0.0)
|
64
|
-
|
66
|
+
erubi (1.9.0)
|
65
67
|
factory_girl (4.9.0)
|
66
68
|
activesupport (>= 3.0.0)
|
67
69
|
factory_girl_rails (4.9.0)
|
68
70
|
factory_girl (~> 4.9.0)
|
69
71
|
railties (>= 3.0.0)
|
70
|
-
faraday (1.0
|
72
|
+
faraday (1.1.0)
|
71
73
|
multipart-post (>= 1.2, < 3)
|
74
|
+
ruby2_keywords
|
72
75
|
globalid (0.4.2)
|
73
76
|
activesupport (>= 4.2.0)
|
74
77
|
http-accept (1.7.0)
|
75
78
|
http-cookie (1.0.3)
|
76
79
|
domain_name (~> 0.5)
|
77
|
-
i18n (
|
80
|
+
i18n (1.8.3)
|
78
81
|
concurrent-ruby (~> 1.0)
|
79
|
-
i18n_data (0.8.0)
|
80
82
|
konduto-ruby (2.1.0)
|
81
|
-
loofah (2.
|
83
|
+
loofah (2.6.0)
|
82
84
|
crass (~> 1.0.2)
|
83
85
|
nokogiri (>= 1.5.9)
|
84
86
|
mail (2.7.1)
|
85
87
|
mini_mime (>= 0.1.1)
|
86
|
-
|
88
|
+
marcel (0.3.3)
|
89
|
+
mimemagic (~> 0.3.2)
|
90
|
+
method_source (1.0.0)
|
87
91
|
mime-types (3.3.1)
|
88
92
|
mime-types-data (~> 3.2015)
|
89
|
-
mime-types-data (3.
|
93
|
+
mime-types-data (3.2020.0512)
|
94
|
+
mimemagic (0.3.5)
|
90
95
|
mini_mime (1.0.2)
|
91
|
-
mini_portile2 (2.
|
92
|
-
minitest (5.
|
93
|
-
multi_json (1.
|
96
|
+
mini_portile2 (2.4.0)
|
97
|
+
minitest (5.14.1)
|
98
|
+
multi_json (1.15.0)
|
94
99
|
multipart-post (2.1.1)
|
95
100
|
netrc (0.11.0)
|
96
|
-
|
97
|
-
|
101
|
+
nio4r (2.5.4)
|
102
|
+
nokogiri (1.10.9)
|
103
|
+
mini_portile2 (~> 2.4.0)
|
98
104
|
pagarme (2.1.4)
|
99
105
|
multi_json
|
100
106
|
rest-client
|
101
|
-
pg (
|
102
|
-
pry (0.
|
103
|
-
coderay (~> 1.1
|
104
|
-
method_source (~>
|
105
|
-
rack (
|
106
|
-
rack-protection (2.0
|
107
|
+
pg (1.2.3)
|
108
|
+
pry (0.13.1)
|
109
|
+
coderay (~> 1.1)
|
110
|
+
method_source (~> 1.0)
|
111
|
+
rack (2.2.3)
|
112
|
+
rack-protection (2.1.0)
|
107
113
|
rack
|
108
|
-
rack-test (
|
109
|
-
rack (>= 1.0)
|
110
|
-
rails (
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
rails-dom-testing (
|
124
|
-
activesupport (>= 4.2.0
|
125
|
-
nokogiri (
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
114
|
+
rack-test (1.1.0)
|
115
|
+
rack (>= 1.0, < 3)
|
116
|
+
rails (5.2.4.3)
|
117
|
+
actioncable (= 5.2.4.3)
|
118
|
+
actionmailer (= 5.2.4.3)
|
119
|
+
actionpack (= 5.2.4.3)
|
120
|
+
actionview (= 5.2.4.3)
|
121
|
+
activejob (= 5.2.4.3)
|
122
|
+
activemodel (= 5.2.4.3)
|
123
|
+
activerecord (= 5.2.4.3)
|
124
|
+
activestorage (= 5.2.4.3)
|
125
|
+
activesupport (= 5.2.4.3)
|
126
|
+
bundler (>= 1.3.0)
|
127
|
+
railties (= 5.2.4.3)
|
128
|
+
sprockets-rails (>= 2.0.0)
|
129
|
+
rails-dom-testing (2.0.3)
|
130
|
+
activesupport (>= 4.2.0)
|
131
|
+
nokogiri (>= 1.6)
|
132
|
+
rails-html-sanitizer (1.3.0)
|
133
|
+
loofah (~> 2.3)
|
134
|
+
railties (5.2.4.3)
|
135
|
+
actionpack (= 5.2.4.3)
|
136
|
+
activesupport (= 5.2.4.3)
|
137
|
+
method_source
|
132
138
|
rake (>= 0.8.7)
|
133
|
-
thor (>= 0.
|
134
|
-
rake (
|
135
|
-
redis (4.1.
|
139
|
+
thor (>= 0.19.0, < 2.0)
|
140
|
+
rake (13.0.1)
|
141
|
+
redis (4.1.4)
|
136
142
|
rest-client (2.1.0)
|
137
143
|
http-accept (>= 1.7.0, < 2.0)
|
138
144
|
http-cookie (>= 1.0.2, < 2.0)
|
139
145
|
mime-types (>= 1.16, < 4.0)
|
140
146
|
netrc (~> 0.8)
|
141
|
-
rspec-core (3.
|
142
|
-
rspec-support (~> 3.
|
143
|
-
rspec-expectations (3.
|
147
|
+
rspec-core (3.9.2)
|
148
|
+
rspec-support (~> 3.9.3)
|
149
|
+
rspec-expectations (3.9.2)
|
144
150
|
diff-lcs (>= 1.2.0, < 2.0)
|
145
|
-
rspec-support (~> 3.
|
146
|
-
rspec-mocks (3.
|
151
|
+
rspec-support (~> 3.9.0)
|
152
|
+
rspec-mocks (3.9.1)
|
147
153
|
diff-lcs (>= 1.2.0, < 2.0)
|
148
|
-
rspec-support (~> 3.
|
149
|
-
rspec-rails (3.
|
154
|
+
rspec-support (~> 3.9.0)
|
155
|
+
rspec-rails (3.9.1)
|
150
156
|
actionpack (>= 3.0)
|
151
157
|
activesupport (>= 3.0)
|
152
158
|
railties (>= 3.0)
|
153
|
-
rspec-core (~> 3.
|
154
|
-
rspec-expectations (~> 3.
|
155
|
-
rspec-mocks (~> 3.
|
156
|
-
rspec-support (~> 3.
|
157
|
-
rspec-support (3.
|
158
|
-
|
159
|
+
rspec-core (~> 3.9.0)
|
160
|
+
rspec-expectations (~> 3.9.0)
|
161
|
+
rspec-mocks (~> 3.9.0)
|
162
|
+
rspec-support (~> 3.9.0)
|
163
|
+
rspec-support (3.9.3)
|
164
|
+
ruby2_keywords (0.0.2)
|
165
|
+
sentry-raven (3.1.1)
|
159
166
|
faraday (>= 1.0)
|
160
|
-
sidekiq (5.2.
|
167
|
+
sidekiq (5.2.9)
|
161
168
|
connection_pool (~> 2.2, >= 2.2.2)
|
162
|
-
rack (
|
169
|
+
rack (~> 2.0)
|
163
170
|
rack-protection (>= 1.5.0)
|
164
|
-
redis (>= 3.3.5, <
|
165
|
-
sixarm_ruby_unaccent (1.2.0)
|
171
|
+
redis (>= 3.3.5, < 4.2)
|
166
172
|
sprockets (3.7.2)
|
167
173
|
concurrent-ruby (~> 1.0)
|
168
174
|
rack (> 1, < 3)
|
169
|
-
sprockets-rails (3.2.
|
175
|
+
sprockets-rails (3.2.2)
|
170
176
|
actionpack (>= 4.0)
|
171
177
|
activesupport (>= 4.0)
|
172
178
|
sprockets (>= 3.0.0)
|
173
|
-
thor (0.
|
179
|
+
thor (1.0.1)
|
174
180
|
thread_safe (0.3.6)
|
175
|
-
tzinfo (1.2.
|
181
|
+
tzinfo (1.2.7)
|
176
182
|
thread_safe (~> 0.1)
|
177
183
|
unf (0.1.4)
|
178
184
|
unf_ext
|
179
185
|
unf_ext (0.0.7.7)
|
180
|
-
|
186
|
+
websocket-driver (0.7.3)
|
187
|
+
websocket-extensions (>= 0.1.0)
|
188
|
+
websocket-extensions (0.1.5)
|
181
189
|
weekdays (1.0.2)
|
182
190
|
|
183
191
|
PLATFORMS
|
@@ -3,8 +3,8 @@ require "pagarme"
|
|
3
3
|
module CatarsePagarme
|
4
4
|
class ApplicationController < ActionController::Base
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
before_action :authenticate_user!
|
7
|
+
before_action :configure_pagarme
|
8
8
|
helper_method :payment
|
9
9
|
layout :false
|
10
10
|
|
data/catarse_pagarme.gemspec
CHANGED
@@ -17,8 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.files = `git ls-files`.split($\)
|
18
18
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
19
19
|
|
20
|
-
s.add_dependency "
|
21
|
-
s.add_dependency "rails", "~> 4.0"
|
20
|
+
s.add_dependency "rails"
|
22
21
|
s.add_dependency "pagarme", "2.1.4"
|
23
22
|
s.add_dependency "konduto-ruby", "2.1.0"
|
24
23
|
s.add_dependency "weekdays", ">= 1.0.2"
|
data/lib/catarse_pagarme.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:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,36 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: countries
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - '='
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 3.0.0
|
21
|
-
type: :runtime
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - '='
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 3.0.0
|
28
14
|
- !ruby/object:Gem::Dependency
|
29
15
|
name: rails
|
30
16
|
requirement: !ruby/object:Gem::Requirement
|
31
17
|
requirements:
|
32
|
-
- - "
|
18
|
+
- - ">="
|
33
19
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
20
|
+
version: '0'
|
35
21
|
type: :runtime
|
36
22
|
prerelease: false
|
37
23
|
version_requirements: !ruby/object:Gem::Requirement
|
38
24
|
requirements:
|
39
|
-
- - "
|
25
|
+
- - ">="
|
40
26
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
27
|
+
version: '0'
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: pagarme
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|