boletosimples 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,83 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/installments/2?access_token=BOLETOSIMPLES_ACCESS_TOKEN
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - BoletoSimples Ruby Client v0.3.1 (contato@boletosimples.com.br)
12
+ Authorization:
13
+ - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Connection:
24
+ - keep-alive
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Status:
30
+ - 200 OK
31
+ Cache-Control:
32
+ - must-revalidate, private, max-age=0
33
+ X-Ratelimit-Limit:
34
+ - '500'
35
+ Date:
36
+ - Mon, 15 Aug 2016 19:16:34 GMT
37
+ Strict-Transport-Security:
38
+ - max-age=631138519
39
+ X-Ratelimit-Remaining:
40
+ - '489'
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Permitted-Cross-Domain-Policies:
44
+ - none
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ X-Request-Id:
48
+ - 3cc93310-e19b-4b74-a395-a7a4a7e05ed4
49
+ Content-Security-Policy-Report-Only:
50
+ - 'default-src ''self''; child-src ''self'' www.googleadservices.com googleads.g.doubleclick.net
51
+ www.google.com; connect-src ws: wss: *.intercom.io ws.pusherapp.com hn.inspectlet.com
52
+ stats.pusher.com; font-src ''self'' fonts.googleapis.com fonts.gstatic.com
53
+ data:; img-src ''self'' https: data:; script-src ''self'' static.intercomcdn.com
54
+ cdn.inspectlet.com widget.intercom.io js.intercomcdn.com js.pusher.com stats.pusher.com
55
+ zapier.com www.google-analytics.com www.googleadservices.com i.kissmetrics.com
56
+ doug1izaerwt3.cloudfront.net app.popupdomination.com cdn.ywxi.net www.draw.io;
57
+ style-src ''self'' fonts.googleapis.com; report-uri https://boletosimples.report-uri.io/r/default/csp/reportOnly'
58
+ Location:
59
+ - https://sandbox.boletosimples.com.br/api/v1/installments/2
60
+ X-Download-Options:
61
+ - noopen
62
+ Etag:
63
+ - W/"296f143a826422c7fc46ecae2f461b5c"
64
+ X-Runtime:
65
+ - '0.028511'
66
+ X-Frame-Options:
67
+ - sameorigin
68
+ X-Content-Type-Options:
69
+ - nosniff
70
+ X-Rack-Cache:
71
+ - miss
72
+ X-Powered-By:
73
+ - Phusion Passenger 5.0.30
74
+ Server:
75
+ - nginx/1.10.1 + Phusion Passenger 5.0.30
76
+ Via:
77
+ - 1.1 vegur
78
+ body:
79
+ encoding: UTF-8
80
+ string: '{"id":2,"amount":1120.4,"cycle":"monthly","start_at":"2016-09-15","end_at":"2016-11-16","instructions":null,"customer_id":11,"description":"Hospedagem","created_at":"2016-08-15","updated_at":"2016-08-15","created_via_api":true,"total":3,"bank_billet_account_id":12,"status":"processed"}'
81
+ http_version:
82
+ recorded_at: Mon, 15 Aug 2016 19:16:34 GMT
83
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boletosimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kivanio Barbosa
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-08-24 00:00:00.000000000 Z
13
+ date: 2016-08-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: her
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.7.5
21
+ version: 0.8.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.7.5
28
+ version: 0.8.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: faraday_middleware
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -46,14 +46,14 @@ dependencies:
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: 1.2.0
49
+ version: 1.3.1
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: 1.2.0
56
+ version: 1.3.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: pry
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -74,56 +74,56 @@ dependencies:
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: 3.3.0
77
+ version: 3.5.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: 3.3.0
84
+ version: 3.5.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: vcr
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: '2.9'
91
+ version: '3.0'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: '2.9'
98
+ version: '3.0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: webmock
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: 1.21.0
105
+ version: 2.1.0
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - "~>"
111
111
  - !ruby/object:Gem::Version
112
- version: 1.21.0
112
+ version: 2.1.0
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rake
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: 10.4.2
119
+ version: 11.2.2
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - "~>"
125
125
  - !ruby/object:Gem::Version
126
- version: 10.4.2
126
+ version: 11.2.2
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: coveralls
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -144,14 +144,28 @@ dependencies:
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: 0.4.7
147
+ version: 0.6.0
148
148
  type: :development
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - "~>"
153
153
  - !ruby/object:Gem::Version
154
- version: 0.4.7
154
+ version: 0.6.0
155
+ - !ruby/object:Gem::Dependency
156
+ name: rubocop
157
+ requirement: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
162
+ type: :development
163
+ prerelease: false
164
+ version_requirements: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
155
169
  description: Boleto Simples API wrapper.
156
170
  email:
157
171
  - kivanio@gmail.com
@@ -183,8 +197,10 @@ files:
183
197
  - lib/boletosimples/resources/bank_billet_account.rb
184
198
  - lib/boletosimples/resources/base_model.rb
185
199
  - lib/boletosimples/resources/customer.rb
200
+ - lib/boletosimples/resources/customer_subscription.rb
186
201
  - lib/boletosimples/resources/discharge.rb
187
202
  - lib/boletosimples/resources/event.rb
203
+ - lib/boletosimples/resources/installment.rb
188
204
  - lib/boletosimples/resources/partner/user.rb
189
205
  - lib/boletosimples/resources/remittance.rb
190
206
  - lib/boletosimples/resources/transaction.rb
@@ -199,8 +215,10 @@ files:
199
215
  - spec/boletosimples/resources/bank_billet_account_spec.rb
200
216
  - spec/boletosimples/resources/bank_billet_spec.rb
201
217
  - spec/boletosimples/resources/customer_spec.rb
218
+ - spec/boletosimples/resources/customer_subscription_spec.rb
202
219
  - spec/boletosimples/resources/discharge_spec.rb
203
220
  - spec/boletosimples/resources/event_spec.rb
221
+ - spec/boletosimples/resources/installment_spec.rb
204
222
  - spec/boletosimples/resources/partner/user_spec.rb
205
223
  - spec/boletosimples/resources/remittance_spec.rb
206
224
  - spec/boletosimples/resources/transactions_spec.rb
@@ -229,8 +247,18 @@ files:
229
247
  - spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
230
248
  - spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml
231
249
  - spec/fixtures/vcr_cassettes/resources/customer/find.yml
250
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml
251
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml
252
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml
253
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml
254
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml
232
255
  - spec/fixtures/vcr_cassettes/resources/discharge/all.yml
233
256
  - spec/fixtures/vcr_cassettes/resources/event/all.yml
257
+ - spec/fixtures/vcr_cassettes/resources/installment/all.yml
258
+ - spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml
259
+ - spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml
260
+ - spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml
261
+ - spec/fixtures/vcr_cassettes/resources/installment/find.yml
234
262
  - spec/fixtures/vcr_cassettes/resources/partner/user/create.yml
235
263
  - spec/fixtures/vcr_cassettes/resources/remittance/all.yml
236
264
  - spec/fixtures/vcr_cassettes/resources/transaction/all.yml
@@ -258,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
286
  version: '0'
259
287
  requirements: []
260
288
  rubyforge_project:
261
- rubygems_version: 2.4.5.1
289
+ rubygems_version: 2.5.1
262
290
  signing_key:
263
291
  specification_version: 4
264
292
  summary: Boleto Simples API wrapper.
@@ -269,8 +297,10 @@ test_files:
269
297
  - spec/boletosimples/resources/bank_billet_account_spec.rb
270
298
  - spec/boletosimples/resources/bank_billet_spec.rb
271
299
  - spec/boletosimples/resources/customer_spec.rb
300
+ - spec/boletosimples/resources/customer_subscription_spec.rb
272
301
  - spec/boletosimples/resources/discharge_spec.rb
273
302
  - spec/boletosimples/resources/event_spec.rb
303
+ - spec/boletosimples/resources/installment_spec.rb
274
304
  - spec/boletosimples/resources/partner/user_spec.rb
275
305
  - spec/boletosimples/resources/remittance_spec.rb
276
306
  - spec/boletosimples/resources/transactions_spec.rb
@@ -299,8 +329,18 @@ test_files:
299
329
  - spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
300
330
  - spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml
301
331
  - spec/fixtures/vcr_cassettes/resources/customer/find.yml
332
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml
333
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml
334
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml
335
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml
336
+ - spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml
302
337
  - spec/fixtures/vcr_cassettes/resources/discharge/all.yml
303
338
  - spec/fixtures/vcr_cassettes/resources/event/all.yml
339
+ - spec/fixtures/vcr_cassettes/resources/installment/all.yml
340
+ - spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml
341
+ - spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml
342
+ - spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml
343
+ - spec/fixtures/vcr_cassettes/resources/installment/find.yml
304
344
  - spec/fixtures/vcr_cassettes/resources/partner/user/create.yml
305
345
  - spec/fixtures/vcr_cassettes/resources/remittance/all.yml
306
346
  - spec/fixtures/vcr_cassettes/resources/transaction/all.yml