nfse_issnet 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.rspec +3 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +20 -0
- data/CODE_OF_CONDUCT.md +75 -0
- data/Dockerfile +16 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +15 -0
- data/lib/nfse_issnet.rb +74 -0
- data/lib/nfse_issnet/base.rb +72 -0
- data/lib/nfse_issnet/configuration.rb +10 -0
- data/lib/nfse_issnet/entities/base_entity.rb +11 -0
- data/lib/nfse_issnet/entities/nota_fiscal.rb +19 -0
- data/lib/nfse_issnet/entities/servico_consultar_lote_rps_envio.rb +8 -0
- data/lib/nfse_issnet/entities/servico_consultar_nfse_envio.rb +7 -0
- data/lib/nfse_issnet/entities/servico_consultar_nfse_por_rps_envio.rb +8 -0
- data/lib/nfse_issnet/entities/servico_enviar_lote_rps_envio.rb +7 -0
- data/lib/nfse_issnet/entities/tc_contato.rb +8 -0
- data/lib/nfse_issnet/entities/tc_cpf_cnpj.rb +8 -0
- data/lib/nfse_issnet/entities/tc_dados_prestador.rb +9 -0
- data/lib/nfse_issnet/entities/tc_dados_servico.rb +12 -0
- data/lib/nfse_issnet/entities/tc_dados_tomador.rb +10 -0
- data/lib/nfse_issnet/entities/tc_endereco.rb +13 -0
- data/lib/nfse_issnet/entities/tc_identificacao_intermediario_servico.rb +9 -0
- data/lib/nfse_issnet/entities/tc_identificacao_prestador.rb +8 -0
- data/lib/nfse_issnet/entities/tc_identificacao_rps.rb +9 -0
- data/lib/nfse_issnet/entities/tc_identificacao_tomador.rb +8 -0
- data/lib/nfse_issnet/entities/tc_inf_rps.rb +18 -0
- data/lib/nfse_issnet/entities/tc_lote_rps.rb +12 -0
- data/lib/nfse_issnet/entities/tc_rps.rb +7 -0
- data/lib/nfse_issnet/entities/tc_valores.rb +22 -0
- data/lib/nfse_issnet/operations/consulta_lote_rps.rb +18 -0
- data/lib/nfse_issnet/operations/consulta_nfse.rb +19 -0
- data/lib/nfse_issnet/operations/consulta_nfse_por_rps.rb +18 -0
- data/lib/nfse_issnet/operations/envia_lote_rps.rb +18 -0
- data/lib/nfse_issnet/responses/base.rb +53 -0
- data/lib/nfse_issnet/responses/consulta_lote_rps.rb +19 -0
- data/lib/nfse_issnet/responses/consulta_nfse.rb +19 -0
- data/lib/nfse_issnet/responses/consulta_nfse_por_rps.rb +19 -0
- data/lib/nfse_issnet/responses/envia_lote_rps.rb +32 -0
- data/lib/nfse_issnet/utils/assinatura.rb +36 -0
- data/lib/nfse_issnet/utils/utils.rb +19 -0
- data/lib/nfse_issnet/utils/xml.rb +32 -0
- data/lib/nfse_issnet/version.rb +3 -0
- data/lib/nfse_issnet/xml/_signed_info_sh1.xml.slim +8 -0
- data/lib/nfse_issnet/xml/_tc_contato.xml.slim +7 -0
- data/lib/nfse_issnet/xml/_tc_cpf_cnpj.xml.slim +4 -0
- data/lib/nfse_issnet/xml/_tc_dados_prestador.xml.slim +15 -0
- data/lib/nfse_issnet/xml/_tc_dados_servico.xml.slim +12 -0
- data/lib/nfse_issnet/xml/_tc_dados_tomador.xml.slim +15 -0
- data/lib/nfse_issnet/xml/_tc_endereco.xml.slim +16 -0
- data/lib/nfse_issnet/xml/_tc_identificacao_intermediario_servico.xml.slim +7 -0
- data/lib/nfse_issnet/xml/_tc_identificacao_prestador.xml.slim +4 -0
- data/lib/nfse_issnet/xml/_tc_identificacao_rps.xml.slim +3 -0
- data/lib/nfse_issnet/xml/_tc_identificacao_tomador.xml.slim +4 -0
- data/lib/nfse_issnet/xml/_tc_inf_rps.xml.slim +43 -0
- data/lib/nfse_issnet/xml/_tc_lote_rps.xml.slim +9 -0
- data/lib/nfse_issnet/xml/_tc_rps.xml.slim +7 -0
- data/lib/nfse_issnet/xml/_tc_valores.xml.slim +48 -0
- data/lib/nfse_issnet/xml/servico_consultar_lote_rps_envio.xml.slim +5 -0
- data/lib/nfse_issnet/xml/servico_consultar_nfse_envio.xml.slim +4 -0
- data/lib/nfse_issnet/xml/servico_consultar_nfse_por_rps_envio.xml.slim +6 -0
- data/lib/nfse_issnet/xml/servico_enviar_lote_rps_envio.xml.slim +9 -0
- data/lib/nfse_issnet/xml/signature_sh1.xml.slim +10 -0
- data/nfse_issnet.gemspec +55 -0
- metadata +299 -0
metadata
ADDED
@@ -0,0 +1,299 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nfse_issnet
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eduardo Scottini
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: savon
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.12.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.12.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ox
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: dry-validation
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.13.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.13.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dry-struct
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.7.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.7.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: slim
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: xmldsig
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: bundler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '10.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '10.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.12.2
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.12.2
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rspec
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: webmock
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: simplecov
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: simplecov-console
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description: Geração e consulta de NFS-e integrado ao sistema ISSNET.
|
196
|
+
email:
|
197
|
+
- eduardo.scottini@gmail.com
|
198
|
+
executables: []
|
199
|
+
extensions: []
|
200
|
+
extra_rdoc_files: []
|
201
|
+
files:
|
202
|
+
- ".gitignore"
|
203
|
+
- ".rspec"
|
204
|
+
- ".ruby-gemset"
|
205
|
+
- ".ruby-version"
|
206
|
+
- ".travis.yml"
|
207
|
+
- CODE_OF_CONDUCT.md
|
208
|
+
- Dockerfile
|
209
|
+
- Gemfile
|
210
|
+
- LICENSE.txt
|
211
|
+
- README.md
|
212
|
+
- Rakefile
|
213
|
+
- bin/console
|
214
|
+
- bin/setup
|
215
|
+
- docker-compose.yml
|
216
|
+
- lib/nfse_issnet.rb
|
217
|
+
- lib/nfse_issnet/base.rb
|
218
|
+
- lib/nfse_issnet/configuration.rb
|
219
|
+
- lib/nfse_issnet/entities/base_entity.rb
|
220
|
+
- lib/nfse_issnet/entities/nota_fiscal.rb
|
221
|
+
- lib/nfse_issnet/entities/servico_consultar_lote_rps_envio.rb
|
222
|
+
- lib/nfse_issnet/entities/servico_consultar_nfse_envio.rb
|
223
|
+
- lib/nfse_issnet/entities/servico_consultar_nfse_por_rps_envio.rb
|
224
|
+
- lib/nfse_issnet/entities/servico_enviar_lote_rps_envio.rb
|
225
|
+
- lib/nfse_issnet/entities/tc_contato.rb
|
226
|
+
- lib/nfse_issnet/entities/tc_cpf_cnpj.rb
|
227
|
+
- lib/nfse_issnet/entities/tc_dados_prestador.rb
|
228
|
+
- lib/nfse_issnet/entities/tc_dados_servico.rb
|
229
|
+
- lib/nfse_issnet/entities/tc_dados_tomador.rb
|
230
|
+
- lib/nfse_issnet/entities/tc_endereco.rb
|
231
|
+
- lib/nfse_issnet/entities/tc_identificacao_intermediario_servico.rb
|
232
|
+
- lib/nfse_issnet/entities/tc_identificacao_prestador.rb
|
233
|
+
- lib/nfse_issnet/entities/tc_identificacao_rps.rb
|
234
|
+
- lib/nfse_issnet/entities/tc_identificacao_tomador.rb
|
235
|
+
- lib/nfse_issnet/entities/tc_inf_rps.rb
|
236
|
+
- lib/nfse_issnet/entities/tc_lote_rps.rb
|
237
|
+
- lib/nfse_issnet/entities/tc_rps.rb
|
238
|
+
- lib/nfse_issnet/entities/tc_valores.rb
|
239
|
+
- lib/nfse_issnet/operations/consulta_lote_rps.rb
|
240
|
+
- lib/nfse_issnet/operations/consulta_nfse.rb
|
241
|
+
- lib/nfse_issnet/operations/consulta_nfse_por_rps.rb
|
242
|
+
- lib/nfse_issnet/operations/envia_lote_rps.rb
|
243
|
+
- lib/nfse_issnet/responses/base.rb
|
244
|
+
- lib/nfse_issnet/responses/consulta_lote_rps.rb
|
245
|
+
- lib/nfse_issnet/responses/consulta_nfse.rb
|
246
|
+
- lib/nfse_issnet/responses/consulta_nfse_por_rps.rb
|
247
|
+
- lib/nfse_issnet/responses/envia_lote_rps.rb
|
248
|
+
- lib/nfse_issnet/utils/assinatura.rb
|
249
|
+
- lib/nfse_issnet/utils/utils.rb
|
250
|
+
- lib/nfse_issnet/utils/xml.rb
|
251
|
+
- lib/nfse_issnet/version.rb
|
252
|
+
- lib/nfse_issnet/xml/_signed_info_sh1.xml.slim
|
253
|
+
- lib/nfse_issnet/xml/_tc_contato.xml.slim
|
254
|
+
- lib/nfse_issnet/xml/_tc_cpf_cnpj.xml.slim
|
255
|
+
- lib/nfse_issnet/xml/_tc_dados_prestador.xml.slim
|
256
|
+
- lib/nfse_issnet/xml/_tc_dados_servico.xml.slim
|
257
|
+
- lib/nfse_issnet/xml/_tc_dados_tomador.xml.slim
|
258
|
+
- lib/nfse_issnet/xml/_tc_endereco.xml.slim
|
259
|
+
- lib/nfse_issnet/xml/_tc_identificacao_intermediario_servico.xml.slim
|
260
|
+
- lib/nfse_issnet/xml/_tc_identificacao_prestador.xml.slim
|
261
|
+
- lib/nfse_issnet/xml/_tc_identificacao_rps.xml.slim
|
262
|
+
- lib/nfse_issnet/xml/_tc_identificacao_tomador.xml.slim
|
263
|
+
- lib/nfse_issnet/xml/_tc_inf_rps.xml.slim
|
264
|
+
- lib/nfse_issnet/xml/_tc_lote_rps.xml.slim
|
265
|
+
- lib/nfse_issnet/xml/_tc_rps.xml.slim
|
266
|
+
- lib/nfse_issnet/xml/_tc_valores.xml.slim
|
267
|
+
- lib/nfse_issnet/xml/servico_consultar_lote_rps_envio.xml.slim
|
268
|
+
- lib/nfse_issnet/xml/servico_consultar_nfse_envio.xml.slim
|
269
|
+
- lib/nfse_issnet/xml/servico_consultar_nfse_por_rps_envio.xml.slim
|
270
|
+
- lib/nfse_issnet/xml/servico_enviar_lote_rps_envio.xml.slim
|
271
|
+
- lib/nfse_issnet/xml/signature_sh1.xml.slim
|
272
|
+
- nfse_issnet.gemspec
|
273
|
+
homepage: https://github.com/eduardoscottini/nfse_issnet
|
274
|
+
licenses:
|
275
|
+
- MIT
|
276
|
+
metadata:
|
277
|
+
homepage_uri: https://github.com/eduardoscottini/nfse_issnet
|
278
|
+
source_code_uri: https://github.com/eduardoscottini/nfse_issnet
|
279
|
+
post_install_message:
|
280
|
+
rdoc_options: []
|
281
|
+
require_paths:
|
282
|
+
- lib
|
283
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - "~>"
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: '2.3'
|
288
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
requirements: []
|
294
|
+
rubyforge_project:
|
295
|
+
rubygems_version: 2.7.6.2
|
296
|
+
signing_key:
|
297
|
+
specification_version: 4
|
298
|
+
summary: Geração e consulta de NFS-e.
|
299
|
+
test_files: []
|