zei 0.1.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65ce644f8a09283dff6e6ee13705b638b8ef3a5a776e9f71b414cd6bbd452901
4
- data.tar.gz: fdddccf2db6c262684bef4b3666f1583fd302f056f62a6779099348c235d4b8d
3
+ metadata.gz: 7e84e4a6f1c958835f50205dab4fd1d5d4354bb69584e59cf3c6b39eac2b531a
4
+ data.tar.gz: 3ad7da36198470856905d1e827df26617a1be072c67756080514f4926b1be8c2
5
5
  SHA512:
6
- metadata.gz: cb2a93ac568e40d4da039d475d47a9efeea269120346113da67c10c8ec8e04329d783f498a529af46914c9acfb58fc1d1f78d636e2171c4772e79cc0b2c4b795
7
- data.tar.gz: 5a5fdcb59e193b6466655d1ac4a2ac6d59a3882f34656dbf955983d9cb306ab4bff5dc98c36fa55f784929798792d678c5b58c0feaa287f1df8664d384ebda15
6
+ metadata.gz: bf9fd01a3da23a8058c30eaa98f6752154b2483b90fc368af3f38af9374dd9bd85cc3a2428859dbd4742c806c1c632faaf1502b65715c48515f8518bce74c359
7
+ data.tar.gz: d809108deecde25f6368de956d7e4175c90b20e37779aaa9cc53bff239196dc16d9e20b847f7cb14f17e2fa8bf2f97d4e4e27cefe6b26c72c8eecbeb3f44b05f
data/lib/sei/servico.rb CHANGED
@@ -183,7 +183,18 @@ module Sei
183
183
  Sei::Estruturas::RetornoListUsuarios.new body
184
184
  end
185
185
 
186
- def self.consultar_procedimento(id_unidade, protocolo_procedimento, sin_retornar_assuntos = 'N', sin_retornar_interessados = 'N', sin_retornar_observacoes = 'N', sin_retornar_andamento_geracao = 'N', sin_retornar_andamento_conclusao = 'N')
186
+ def self.consultar_procedimento(
187
+ id_unidade, protocolo_procedimento,
188
+ sin_retornar_assuntos = 'N',
189
+ sin_retornar_interessados = 'N',
190
+ sin_retornar_observacoes = 'N',
191
+ sin_retornar_andamento_geracao = 'N',
192
+ sin_retornar_andamento_conclusao = 'N',
193
+ sin_retornar_ultimo_andamento = 'N',
194
+ sin_retornar_unidades_procedimento_aberto = 'S',
195
+ sin_retornar_procedimentos_relacionados = 'N',
196
+ sin_retornar_procedimentos_anexados = 'N'
197
+ )
187
198
  message = {
188
199
  SiglaSistema: Sei.configuration.sigla,
189
200
  IdentificacaoServico: Sei.configuration.identificacao,
@@ -193,7 +204,11 @@ module Sei
193
204
  SinRetornarInteressados: sin_retornar_interessados,
194
205
  SinRetornarObservacoes: sin_retornar_observacoes,
195
206
  SinRetornarAndamentoGeracao: sin_retornar_andamento_geracao,
196
- SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao
207
+ SinRetornarAndamentoConclusao: sin_retornar_andamento_conclusao,
208
+ SinRetornarUltimoAndamento: sin_retornar_ultimo_andamento,
209
+ SinRetornarUnidadesProcedimentoAberto: sin_retornar_unidades_procedimento_aberto,
210
+ SinRetornarProcedimentosRelacionados: sin_retornar_procedimentos_relacionados,
211
+ SinRetornarProcedimentosAnexados: sin_retornar_procedimentos_anexados
197
212
  }
198
213
  response = Sei::Connection.instance.call :consultar_procedimento, message: message
199
214
  body = response.body[:consultar_procedimento_response][:parametros]
data/lib/sei/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sei
2
- VERSION = "0.1.8"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zei
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.4.8
157
+ rubygems_version: 3.4.10
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Integração com a API do SEI.