rnfse 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +7 -6
  4. data/lib/provedores.yml +8 -0
  5. data/lib/rnfse.rb +5 -1
  6. data/lib/rnfse/api.rb +44 -22
  7. data/lib/rnfse/api/abrasf_1_0.rb +100 -17
  8. data/lib/rnfse/api/abrasf_1_0/#definitions.json# +413 -0
  9. data/lib/rnfse/api/abrasf_1_0/cancelar_nfse.json +13 -0
  10. data/lib/rnfse/api/abrasf_1_0/consultar_nfse.json +17 -0
  11. data/lib/rnfse/api/abrasf_1_0/consultar_nfse_por_rps.json +13 -0
  12. data/lib/rnfse/api/abrasf_1_0/definitions.json +27 -3
  13. data/lib/rnfse/api/abrasf_1_0/recepcionar_lote_rps.json +1 -1
  14. data/lib/rnfse/api/iss_net_1_0.rb +46 -2
  15. data/lib/rnfse/api/speed_gov_1_0.rb +115 -0
  16. data/lib/rnfse/call_chain.rb +4 -4
  17. data/lib/rnfse/error.rb +15 -0
  18. data/lib/rnfse/hash.rb +24 -11
  19. data/lib/rnfse/string.rb +16 -2
  20. data/lib/rnfse/version.rb +1 -1
  21. data/lib/rnfse/xml_builder/abrasf_1_0.rb +103 -13
  22. data/lib/rnfse/xml_builder/iss_net_1_0.rb +34 -4
  23. data/lib/rnfse/xml_builder/speed_gov_1_0.rb +158 -0
  24. data/spec/api/abrasf_1_0/cancelar_nfse_json_spec.rb +25 -0
  25. data/spec/api/abrasf_1_0/consultar_lote_rps_json_spec.rb +23 -0
  26. data/spec/api/abrasf_1_0/consultar_nfse_json_spec.rb +45 -0
  27. data/spec/api/abrasf_1_0/consultar_nfse_por_rps_json_spec.rb +23 -0
  28. data/spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb +23 -0
  29. data/spec/api/abrasf_1_0_spec.rb +185 -6
  30. data/spec/api/iss_net_1_0_spec.rb +89 -9
  31. data/spec/api/speed_gov_1_0_spec.rb +243 -0
  32. data/spec/api_spec.rb +43 -28
  33. data/spec/error_spec.rb +10 -0
  34. data/spec/fixtures/abrasf_1_0/cancelar_nfse_envio.xml +16 -0
  35. data/spec/fixtures/abrasf_1_0/consultar_nfse.xml +23 -0
  36. data/spec/fixtures/abrasf_1_0/consultar_nfse_por_rps.xml +14 -0
  37. data/spec/fixtures/iss_net_1_0/cancelar_nfse_envio.xml +17 -0
  38. data/spec/fixtures/iss_net_1_0/consultar_nfse.xml +29 -0
  39. data/spec/fixtures/iss_net_1_0/consultar_nfse_por_rps.xml +17 -0
  40. data/spec/fixtures/speed_gov_1_0/consultar_nfse_envio.xml +29 -0
  41. data/spec/fixtures/speed_gov_1_0/consultar_nfse_rps_envio.xml +16 -0
  42. data/spec/fixtures/speed_gov_1_0/consultar_situacao_lote_rps_envio.xml +12 -0
  43. data/spec/fixtures/speed_gov_1_0/enviar_lote_rps_envio.xml +82 -0
  44. data/spec/fixtures/speed_gov_1_0/header.xml +9 -0
  45. data/spec/fixtures/vcr_cassettes/iss_net_1_0_cancelar_nfse.yml +107 -0
  46. data/spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse.yml +7937 -0
  47. data/spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse_por_rps.yml +242 -0
  48. data/spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse.yml +60 -0
  49. data/spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse_por_rps.yml +80 -0
  50. data/spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_situacao_lote_rps.yml +77 -0
  51. data/spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps.yml +171 -0
  52. data/spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps_ascii.yml +171 -0
  53. data/spec/hash_spec.rb +21 -0
  54. data/spec/spec_helper.rb +2 -0
  55. data/spec/string_spec.rb +31 -5
  56. data/spec/xml_builder/abrasf_1_0_spec.rb +110 -43
  57. data/spec/xml_builder/iss_net_1_0_spec.rb +111 -44
  58. data/spec/xml_builder/speed_gov_1_0_spec.rb +173 -0
  59. metadata +86 -37
  60. data/.gitignore +0 -25
  61. data/.rspec +0 -1
  62. data/.travis.yml +0 -14
  63. data/Gemfile +0 -3
  64. data/Guardfile +0 -15
  65. data/Procfile +0 -1
  66. data/Rakefile +0 -12
  67. data/rnfse.gemspec +0 -61
  68. data/spec/fixtures/abrasf_1_0/teste.xml +0 -8
  69. data/spec/support/.keep +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rnfse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renan Mendes Carvalho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-18 00:00:00.000000000 Z
11
+ date: 2014-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.0'
89
+ version: '2.2'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.0'
96
+ version: '2.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -142,56 +142,56 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.7.0
145
+ version: '0.7'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.7.0
152
+ version: '0.7'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rspec
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 3.0.0
159
+ version: '3.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 3.0.0
166
+ version: '3.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rspec-its
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.0.0
173
+ version: '1.0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.0.0
180
+ version: '1.0'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: simplecov
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.7.0
187
+ version: '0.9'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.7.0
194
+ version: '0.9'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: codeclimate-test-reporter
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -212,28 +212,28 @@ dependencies:
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 0.4.0
215
+ version: '0.5'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 0.4.0
222
+ version: '0.5'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: wwtd
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 0.5.0
229
+ version: '0.5'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 0.5.0
236
+ version: '0.5'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: vcr
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -268,56 +268,56 @@ dependencies:
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: 2.6.0
271
+ version: '2.6'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: 2.6.0
278
+ version: '2.6'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: guard-rspec
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: 4.2.0
285
+ version: '4.2'
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: 4.2.0
292
+ version: '4.2'
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: guard-bundler
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: 2.0.0
299
+ version: '2.0'
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: 2.0.0
306
+ version: '2.0'
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: foreman
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: 0.74.0
313
+ version: '0.74'
314
314
  type: :development
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: 0.74.0
320
+ version: '0.74'
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: pry
323
323
  requirement: !ruby/object:Gem::Requirement
@@ -355,60 +355,84 @@ executables: []
355
355
  extensions: []
356
356
  extra_rdoc_files: []
357
357
  files:
358
- - ".gitignore"
359
- - ".rspec"
360
- - ".travis.yml"
361
358
  - CHANGELOG.md
362
- - Gemfile
363
- - Guardfile
364
359
  - LICENSE.md
365
- - Procfile
366
360
  - README.md
367
- - Rakefile
368
361
  - lib/provedores.yml
369
362
  - lib/rnfse.rb
370
363
  - lib/rnfse/api.rb
371
364
  - lib/rnfse/api/abrasf_1_0.rb
365
+ - lib/rnfse/api/abrasf_1_0/#definitions.json#
366
+ - lib/rnfse/api/abrasf_1_0/cancelar_nfse.json
372
367
  - lib/rnfse/api/abrasf_1_0/consultar_lote_rps.json
368
+ - lib/rnfse/api/abrasf_1_0/consultar_nfse.json
369
+ - lib/rnfse/api/abrasf_1_0/consultar_nfse_por_rps.json
373
370
  - lib/rnfse/api/abrasf_1_0/consultar_situacao_lote_rps.json
374
371
  - lib/rnfse/api/abrasf_1_0/definitions.json
375
372
  - lib/rnfse/api/abrasf_1_0/recepcionar_lote_rps.json
376
373
  - lib/rnfse/api/iss_net_1_0.rb
374
+ - lib/rnfse/api/speed_gov_1_0.rb
377
375
  - lib/rnfse/call_chain.rb
378
376
  - lib/rnfse/configuration.rb
379
377
  - lib/rnfse/core.rb
378
+ - lib/rnfse/error.rb
380
379
  - lib/rnfse/hash.rb
381
380
  - lib/rnfse/string.rb
382
381
  - lib/rnfse/version.rb
383
382
  - lib/rnfse/xml_builder.rb
384
383
  - lib/rnfse/xml_builder/abrasf_1_0.rb
385
384
  - lib/rnfse/xml_builder/iss_net_1_0.rb
386
- - rnfse.gemspec
385
+ - lib/rnfse/xml_builder/speed_gov_1_0.rb
386
+ - spec/api/abrasf_1_0/cancelar_nfse_json_spec.rb
387
+ - spec/api/abrasf_1_0/consultar_lote_rps_json_spec.rb
388
+ - spec/api/abrasf_1_0/consultar_nfse_json_spec.rb
389
+ - spec/api/abrasf_1_0/consultar_nfse_por_rps_json_spec.rb
390
+ - spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
387
391
  - spec/api/abrasf_1_0/recepcionar_lote_rps_json_spec.rb
388
392
  - spec/api/abrasf_1_0_spec.rb
389
393
  - spec/api/iss_net_1_0_spec.rb
394
+ - spec/api/speed_gov_1_0_spec.rb
390
395
  - spec/api_spec.rb
391
396
  - spec/core_spec.rb
397
+ - spec/error_spec.rb
398
+ - spec/fixtures/abrasf_1_0/cancelar_nfse_envio.xml
392
399
  - spec/fixtures/abrasf_1_0/consultar_lote_rps_envio.xml
400
+ - spec/fixtures/abrasf_1_0/consultar_nfse.xml
401
+ - spec/fixtures/abrasf_1_0/consultar_nfse_por_rps.xml
393
402
  - spec/fixtures/abrasf_1_0/consultar_situacao_lote_rps_envio.xml
394
403
  - spec/fixtures/abrasf_1_0/enviar_lote_rps_envio.xml
395
404
  - spec/fixtures/abrasf_1_0/nfse.xsd
396
- - spec/fixtures/abrasf_1_0/teste.xml
397
405
  - spec/fixtures/certificate.pem
406
+ - spec/fixtures/iss_net_1_0/cancelar_nfse_envio.xml
398
407
  - spec/fixtures/iss_net_1_0/consultar_lote_rps_envio.xml
408
+ - spec/fixtures/iss_net_1_0/consultar_nfse.xml
409
+ - spec/fixtures/iss_net_1_0/consultar_nfse_por_rps.xml
399
410
  - spec/fixtures/iss_net_1_0/consultar_situacao_lote_rps_envio.xml
400
411
  - spec/fixtures/iss_net_1_0/enviar_lote_rps_envio.xml
401
412
  - spec/fixtures/key.pem
413
+ - spec/fixtures/speed_gov_1_0/consultar_nfse_envio.xml
414
+ - spec/fixtures/speed_gov_1_0/consultar_nfse_rps_envio.xml
415
+ - spec/fixtures/speed_gov_1_0/consultar_situacao_lote_rps_envio.xml
416
+ - spec/fixtures/speed_gov_1_0/enviar_lote_rps_envio.xml
417
+ - spec/fixtures/speed_gov_1_0/header.xml
418
+ - spec/fixtures/vcr_cassettes/iss_net_1_0_cancelar_nfse.yml
402
419
  - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_lote_rps.yml
420
+ - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse.yml
421
+ - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse_por_rps.yml
403
422
  - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_situacao_lote_rps.yml
404
423
  - spec/fixtures/vcr_cassettes/iss_net_1_0_recepcionar_lote_rps.yml
424
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse.yml
425
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse_por_rps.yml
426
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_situacao_lote_rps.yml
427
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps.yml
428
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps_ascii.yml
405
429
  - spec/hash_spec.rb
406
430
  - spec/spec_helper.rb
407
431
  - spec/string_spec.rb
408
- - spec/support/.keep
409
432
  - spec/version_spec.rb
410
433
  - spec/xml_builder/abrasf_1_0_spec.rb
411
434
  - spec/xml_builder/iss_net_1_0_spec.rb
435
+ - spec/xml_builder/speed_gov_1_0_spec.rb
412
436
  - spec/xml_builder_spec.rb
413
437
  homepage: https://github.com/aitherios/rnfse
414
438
  licenses:
@@ -431,34 +455,59 @@ required_rubygems_version: !ruby/object:Gem::Requirement
431
455
  version: '0'
432
456
  requirements: []
433
457
  rubyforge_project: "[none]"
434
- rubygems_version: 2.2.2
458
+ rubygems_version: 2.4.3
435
459
  signing_key:
436
460
  specification_version: 4
437
461
  summary: Biblioteca para a API de Nota Fiscal de Serviços eletrônica (NFS-e) da ABRASF.
438
462
  test_files:
463
+ - spec/api/abrasf_1_0/cancelar_nfse_json_spec.rb
464
+ - spec/api/abrasf_1_0/consultar_lote_rps_json_spec.rb
465
+ - spec/api/abrasf_1_0/consultar_nfse_json_spec.rb
466
+ - spec/api/abrasf_1_0/consultar_nfse_por_rps_json_spec.rb
467
+ - spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
439
468
  - spec/api/abrasf_1_0/recepcionar_lote_rps_json_spec.rb
440
469
  - spec/api/abrasf_1_0_spec.rb
441
470
  - spec/api/iss_net_1_0_spec.rb
471
+ - spec/api/speed_gov_1_0_spec.rb
442
472
  - spec/api_spec.rb
443
473
  - spec/core_spec.rb
474
+ - spec/error_spec.rb
475
+ - spec/fixtures/abrasf_1_0/cancelar_nfse_envio.xml
444
476
  - spec/fixtures/abrasf_1_0/consultar_lote_rps_envio.xml
477
+ - spec/fixtures/abrasf_1_0/consultar_nfse.xml
478
+ - spec/fixtures/abrasf_1_0/consultar_nfse_por_rps.xml
445
479
  - spec/fixtures/abrasf_1_0/consultar_situacao_lote_rps_envio.xml
446
480
  - spec/fixtures/abrasf_1_0/enviar_lote_rps_envio.xml
447
481
  - spec/fixtures/abrasf_1_0/nfse.xsd
448
- - spec/fixtures/abrasf_1_0/teste.xml
449
482
  - spec/fixtures/certificate.pem
483
+ - spec/fixtures/iss_net_1_0/cancelar_nfse_envio.xml
450
484
  - spec/fixtures/iss_net_1_0/consultar_lote_rps_envio.xml
485
+ - spec/fixtures/iss_net_1_0/consultar_nfse.xml
486
+ - spec/fixtures/iss_net_1_0/consultar_nfse_por_rps.xml
451
487
  - spec/fixtures/iss_net_1_0/consultar_situacao_lote_rps_envio.xml
452
488
  - spec/fixtures/iss_net_1_0/enviar_lote_rps_envio.xml
453
489
  - spec/fixtures/key.pem
490
+ - spec/fixtures/speed_gov_1_0/consultar_nfse_envio.xml
491
+ - spec/fixtures/speed_gov_1_0/consultar_nfse_rps_envio.xml
492
+ - spec/fixtures/speed_gov_1_0/consultar_situacao_lote_rps_envio.xml
493
+ - spec/fixtures/speed_gov_1_0/enviar_lote_rps_envio.xml
494
+ - spec/fixtures/speed_gov_1_0/header.xml
495
+ - spec/fixtures/vcr_cassettes/iss_net_1_0_cancelar_nfse.yml
454
496
  - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_lote_rps.yml
497
+ - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse.yml
498
+ - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_nfse_por_rps.yml
455
499
  - spec/fixtures/vcr_cassettes/iss_net_1_0_consultar_situacao_lote_rps.yml
456
500
  - spec/fixtures/vcr_cassettes/iss_net_1_0_recepcionar_lote_rps.yml
501
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse.yml
502
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_nfse_por_rps.yml
503
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_consultar_situacao_lote_rps.yml
504
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps.yml
505
+ - spec/fixtures/vcr_cassettes/speed_gov_1_0_recepcionar_lote_rps_ascii.yml
457
506
  - spec/hash_spec.rb
458
507
  - spec/spec_helper.rb
459
508
  - spec/string_spec.rb
460
- - spec/support/.keep
461
509
  - spec/version_spec.rb
462
510
  - spec/xml_builder/abrasf_1_0_spec.rb
463
511
  - spec/xml_builder/iss_net_1_0_spec.rb
512
+ - spec/xml_builder/speed_gov_1_0_spec.rb
464
513
  - spec/xml_builder_spec.rb
data/.gitignore DELETED
@@ -1,25 +0,0 @@
1
- # Because this is a gem, ignore Gemfile.lock:
2
-
3
- Gemfile.lock
4
-
5
- # And because this is Ruby, ignore the following
6
- # (source: https://github.com/github/gitignore/blob/master/Ruby.gitignore):
7
-
8
- *.gem
9
- *.rbc
10
- .bundle
11
- .config
12
- coverage
13
- InstalledFiles
14
- lib/bundler/man
15
- pkg
16
- rdoc
17
- spec/reports
18
- test/tmp
19
- test/version_tmp
20
- tmp
21
-
22
- # YARD artifacts
23
- .yardoc
24
- _yardoc
25
- doc/
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --colour
@@ -1,14 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 1.9.3
4
- - 2.0
5
- - 2.1
6
- - ruby-head
7
- matrix:
8
- fast_finish: true
9
- allow_failures:
10
- - rvm: ruby-head
11
- addons:
12
- code_climate:
13
- repo_token:
14
- secure: "vzzNVwWPm/BzVPjImSALhXSaaqExZRwZ1ePw8v9/lncbBSQoTGdthAjbirOO14rP2RTvupRnvoG3XK8FrY7Ct5+WCtEEuWNNB6f5u6gAI/+KKMQN69oIE5pLienB2yhTvcvghmNVf0aOVVh4H9RWeJD3Bv4GxnSkmNZNKNWfki0="
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
data/Guardfile DELETED
@@ -1,15 +0,0 @@
1
- guard :rspec do
2
- watch(%r{^spec/.+_spec\.rb$})
3
- watch(%r{^spec/support/(.+)\.rb$}) { 'spec' }
4
- watch('spec/spec_helper.rb') { 'spec' }
5
- watch(%r{^lib/rnfse/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
6
- watch(%r{^lib/rnfse/api/(.+)\.rb$}) { |m| "spec/api/#{m[1]}_spec.rb" }
7
- watch(%r{^lib/rnfse/api/(.+)/(.+)\.rb$}) { |m| "spec/api/#{m[1]}/#{m[2]}_spec.rb" }
8
- watch(%r{^lib/rnfse/xml_builder/(.+)/(.+)\.rb$}) { |m| "spec/xml_builder/#{m[1]}/#{m[2]}_spec.rb" }
9
- watch(%r{^lib/rnfse/api/(.+)/(.+)\.json$}) { |m| "spec/api/#{m[1]}/#{m[2]}_json_spec.rb" }
10
- end
11
-
12
- guard :bundler do
13
- watch(/^.+\.gemspec/)
14
- watch(/^Gemfile/)
15
- end
data/Procfile DELETED
@@ -1 +0,0 @@
1
- guard: bundle exec guard start
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- require 'bundler'
2
- require 'rake/clean'
3
-
4
- require 'rspec/core/rake_task'
5
-
6
- include Rake::DSL
7
-
8
- Bundler::GemHelper.install_tasks
9
-
10
- RSpec::Core::RakeTask.new(:spec)
11
-
12
- task default: [:spec]
@@ -1,61 +0,0 @@
1
- # encoding: utf-8
2
-
3
- lib = File.expand_path('../lib', __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
-
6
- require 'rnfse/version'
7
-
8
- Gem::Specification.new do |s|
9
- s.name = 'rnfse'
10
- s.version = Rnfse::VERSION
11
- s.summary = %q{Biblioteca para a API de Nota Fiscal de Serviços
12
- eletrônica (NFS-e) da ABRASF.}
13
- s.description = %q{Biblioteca para integração com as várias implementações
14
- municipais de Nota Fiscal de Serviços eletrônica (NFS-e) que utilizam uma
15
- das versões ou variações dos padrões
16
- [ABRASF](http://www.abrasf.org.br/paginas_multiplas_detalhes.php?cod_pagina=1).}
17
-
18
- s.required_ruby_version = '>= 1.9.3'
19
-
20
- s.licenses = ['MIT', 'GPL-3']
21
-
22
- s.authors = ['Renan Mendes Carvalho']
23
- s.email = ['aitherios@gmail.com']
24
- s.homepage = 'https://github.com/aitherios/rnfse'
25
-
26
- s.files = `git ls-files`.split($/)
27
- s.test_files = s.files.grep(%r{^(test|spec|features)/})
28
- s.require_paths = ['lib']
29
- s.rubyforge_project = '[none]'
30
-
31
- s.add_dependency 'json', '~> 1.0'
32
- s.add_dependency 'json-schema', '~> 2.0'
33
- s.add_dependency 'gyoku', '~> 1.0'
34
- s.add_dependency 'nori', '~> 2.0'
35
- s.add_dependency 'nokogiri-xmlsec1', '~> 0.0.7'
36
- s.add_dependency 'savon', '~> 2.0'
37
-
38
- s.add_development_dependency 'bundler', '~> 1.3'
39
- s.add_development_dependency 'rake', '~> 10.0'
40
- s.add_development_dependency 'rdoc', '~> 4.0'
41
- s.add_development_dependency 'gem-release', '~> 0.7.0'
42
- s.add_development_dependency 'rspec', '~> 3.0.0'
43
- s.add_development_dependency 'rspec-its', '~> 1.0.0'
44
- s.add_development_dependency 'simplecov', '~> 0.7.0'
45
- s.add_development_dependency 'codeclimate-test-reporter', '>= 0'
46
- s.add_development_dependency 'equivalent-xml', '~> 0.4.0'
47
- s.add_development_dependency 'wwtd', '~> 0.5.0'
48
- s.add_development_dependency 'vcr', '~> 2.9'
49
- s.add_development_dependency 'webmock', '~> 1.0'
50
- s.add_development_dependency 'guard', '~> 2.6.0'
51
- s.add_development_dependency 'guard-rspec', '~> 4.2.0'
52
- s.add_development_dependency 'guard-bundler', '~> 2.0.0'
53
- s.add_development_dependency 'foreman', '~> 0.74.0'
54
- s.add_development_dependency 'pry', '~> 0.10'
55
- if RUBY_VERSION.to_i < 2
56
- s.add_development_dependency 'pry-debugger', '~> 0.2'
57
- else
58
- s.add_development_dependency 'pry-byebug', '~> 1.0'
59
- end
60
-
61
- end