boletosimples 1.0.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +6 -7
  4. data/lib/boletosimples/configuration.rb +2 -2
  5. data/lib/boletosimples/response_error.rb +2 -2
  6. data/lib/boletosimples/version.rb +1 -1
  7. data/spec/boletosimples/configuration_spec.rb +3 -3
  8. data/spec/boletosimples/resources/bank_billet_spec.rb +2 -2
  9. data/spec/boletosimples/resources/customer_spec.rb +9 -4
  10. data/spec/boletosimples/resources/customer_subscription_spec.rb +1 -1
  11. data/spec/boletosimples/resources/installment_spec.rb +1 -1
  12. data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +386 -520
  13. data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +78 -522
  14. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +30 -12
  15. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -16
  16. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +31 -15
  17. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +42 -28
  18. data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +41 -27
  19. data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +46 -31
  20. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +47 -103
  21. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +31 -15
  22. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +31 -15
  23. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +35 -19
  24. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +35 -19
  25. data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +35 -41
  26. data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +73 -72
  27. data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +39 -70
  28. data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +111 -56
  29. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +35 -19
  30. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +35 -16
  31. data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +37 -21
  32. data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +36 -20
  33. data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +34 -18
  34. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +31 -15
  35. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +31 -15
  36. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +36 -20
  37. data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +34 -18
  38. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +35 -71
  39. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +32 -16
  40. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +31 -15
  41. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +35 -19
  42. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +36 -20
  43. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +36 -20
  44. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +34 -19
  45. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +31 -15
  46. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +31 -15
  47. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +36 -20
  48. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +34 -18
  49. data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +37 -39
  50. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +31 -15
  51. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +31 -15
  52. data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +37 -21
  53. data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +36 -18
  54. data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +1 -1
  55. data/spec/fixtures/vcr_cassettes/resources/event/all.yml +267 -432
  56. data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +71 -375
  57. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +32 -16
  58. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +31 -15
  59. data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +35 -19
  60. data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +59 -19
  61. data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +82 -81
  62. data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +31 -15
  63. data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +72 -71
  64. data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +33 -17
  65. data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +2657 -1206
  66. metadata +5 -186
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: 1.0.4
4
+ version: 2.0.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: 2021-05-18 00:00:00.000000000 Z
13
+ date: 2022-02-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday-http-cache
@@ -54,188 +54,6 @@ dependencies:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
56
  version: '1.1'
57
- - !ruby/object:Gem::Dependency
58
- name: fuubar
59
- requirement: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- type: :development
65
- prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: '0'
71
- - !ruby/object:Gem::Dependency
72
- name: rake
73
- requirement: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- type: :development
79
- prerelease: false
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: '0'
85
- - !ruby/object:Gem::Dependency
86
- name: rspec
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :development
93
- prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: '0'
99
- - !ruby/object:Gem::Dependency
100
- name: rubocop
101
- requirement: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: '0'
106
- type: :development
107
- prerelease: false
108
- version_requirements: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: '0'
113
- - !ruby/object:Gem::Dependency
114
- name: rubocop-packaging
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: '0'
120
- type: :development
121
- prerelease: false
122
- version_requirements: !ruby/object:Gem::Requirement
123
- requirements:
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- version: '0'
127
- - !ruby/object:Gem::Dependency
128
- name: rubocop-performance
129
- requirement: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- version: '0'
141
- - !ruby/object:Gem::Dependency
142
- name: rubocop-rake
143
- requirement: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- version: '0'
148
- type: :development
149
- prerelease: false
150
- version_requirements: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- version: '0'
155
- - !ruby/object:Gem::Dependency
156
- name: rubocop-rspec
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'
169
- - !ruby/object:Gem::Dependency
170
- name: solargraph
171
- requirement: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - ">="
174
- - !ruby/object:Gem::Version
175
- version: '0'
176
- type: :development
177
- prerelease: false
178
- version_requirements: !ruby/object:Gem::Requirement
179
- requirements:
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: '0'
183
- - !ruby/object:Gem::Dependency
184
- name: stub_env
185
- requirement: !ruby/object:Gem::Requirement
186
- requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- type: :development
191
- prerelease: false
192
- version_requirements: !ruby/object:Gem::Requirement
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- version: '0'
197
- - !ruby/object:Gem::Dependency
198
- name: test-prof
199
- requirement: !ruby/object:Gem::Requirement
200
- requirements:
201
- - - ">="
202
- - !ruby/object:Gem::Version
203
- version: '0'
204
- type: :development
205
- prerelease: false
206
- version_requirements: !ruby/object:Gem::Requirement
207
- requirements:
208
- - - ">="
209
- - !ruby/object:Gem::Version
210
- version: '0'
211
- - !ruby/object:Gem::Dependency
212
- name: vcr
213
- requirement: !ruby/object:Gem::Requirement
214
- requirements:
215
- - - ">="
216
- - !ruby/object:Gem::Version
217
- version: '0'
218
- type: :development
219
- prerelease: false
220
- version_requirements: !ruby/object:Gem::Requirement
221
- requirements:
222
- - - ">="
223
- - !ruby/object:Gem::Version
224
- version: '0'
225
- - !ruby/object:Gem::Dependency
226
- name: webmock
227
- requirement: !ruby/object:Gem::Requirement
228
- requirements:
229
- - - ">="
230
- - !ruby/object:Gem::Version
231
- version: '0'
232
- type: :development
233
- prerelease: false
234
- version_requirements: !ruby/object:Gem::Requirement
235
- requirements:
236
- - - ">="
237
- - !ruby/object:Gem::Version
238
- version: '0'
239
57
  description: Boleto Simples API wrapper.
240
58
  email:
241
59
  - kivanio@gmail.com
@@ -359,7 +177,8 @@ files:
359
177
  - spec/support/vcr.rb
360
178
  homepage: https://github.com/BoletoSimples/boletosimples-ruby
361
179
  licenses: []
362
- metadata: {}
180
+ metadata:
181
+ rubygems_mfa_required: 'true'
363
182
  post_install_message:
364
183
  rdoc_options: []
365
184
  require_paths:
@@ -375,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
375
194
  - !ruby/object:Gem::Version
376
195
  version: '0'
377
196
  requirements: []
378
- rubygems_version: 3.2.15
197
+ rubygems_version: 3.2.32
379
198
  signing_key:
380
199
  specification_version: 4
381
200
  summary: Boleto Simples API wrapper.