zei 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f9e9ac214ccb1019fa19499a22f9da695ed1bb09c6f501a37bdf5af59aeb3bd
4
- data.tar.gz: 973169cb8d3d80b4288ad157528a33a0b13ecd2d0f60ac59908abacbaeecb0ad
3
+ metadata.gz: a70aaa84eaf72e64cd2bff636d3400741176ec6bb55a4f850850cfb1ef454ebf
4
+ data.tar.gz: 2cf10a6cd7f7ee9ebb197ff6889fd620b86498031aeaefc013f8acb0115fdbce
5
5
  SHA512:
6
- metadata.gz: 7e078cb3d3771edfe9cb5e00c2d1e9c5e248fc61291944ef28ea0d5d01b4a9589cffa828a89499c2a591f3d4043f2e0c19bf8830528d3897e29fbdce8f11bb91
7
- data.tar.gz: 85d73d090f7edc883e79d81356e8fa743eb40ae588227a0b7db08d8078b66135093a39963a5d23434784a5c5f602911bbe1e1b9e0da7e6bb33a4bd43d488fce1
6
+ metadata.gz: 7f795d36d2b67fc0fb86424c0f116618b46a4fab4256fa389bc4d893c693182b94916bfad5c879013b2150681d43b60c98de28e69fa72d7200b3c21dc1e88f56
7
+ data.tar.gz: 7bfcc7101dd68204028883bdbc85a183f2995b205b71a4a673b46697f5a0419b35d364387b022efa2d5d40b3c02c1685cccd08060fb6085ccda86fb7b7e8d0bf
@@ -12,9 +12,9 @@ module Sei
12
12
  end
13
13
 
14
14
  def call(service, message)
15
- request = client.build_request service, message: message
15
+ request = client.build_request service, message_tag: service.to_s.camelize, message: message.dig(:message)
16
16
  Sei::Printer.xp request.body
17
- client.call service, message
17
+ client.call service, message_tag: service.to_s.camelize, message: message.dig(:message)
18
18
  end
19
19
 
20
20
  end
data/lib/sei/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sei
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
data/zei.gemspec CHANGED
@@ -1,40 +1,38 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path("../lib", __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'sei/version'
3
+ require "sei/version"
5
4
 
6
5
  Gem::Specification.new do |spec|
7
- spec.name = "zei"
8
- spec.version = Sei::VERSION
9
- spec.authors = ["Ricardo Viana"]
10
- spec.email = ["zezim.ricardo@gmail.com"]
6
+ spec.name = "zei"
7
+ spec.version = Sei::VERSION
8
+ spec.authors = ["Ricardo Viana"]
9
+ spec.email = ["zezim.ricardo@gmail.com"]
11
10
 
12
- spec.summary = "Integração com a API do SEI."
13
- spec.description = "Expõe, através de métodos ruby, as funcionalidades da API do SEI."
14
- spec.license = "MIT"
11
+ spec.summary = "Integração com a API do SEI."
12
+ spec.description = "Expõe, através de métodos ruby, as funcionalidades da API do SEI."
13
+ spec.license = "MIT"
15
14
 
16
15
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
16
  # to allow pushing to a single host or delete this section to allow pushing to any host.
18
17
  if spec.respond_to?(:metadata)
19
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
18
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
19
  else
21
20
  raise "RubyGems 2.0 or newer is required to protect against " \
22
21
  "public gem pushes."
23
22
  end
24
23
 
25
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
24
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
25
  f.match(%r{^(test|spec|features)/})
27
26
  end
28
- spec.bindir = "exe"
29
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
29
  spec.require_paths = ["lib"]
31
30
 
32
31
  spec.add_development_dependency "bundler", "~> 1.13"
33
32
  spec.add_development_dependency "rake", "~> 10.0"
34
33
  spec.add_development_dependency "minitest", "~> 5.0"
35
-
36
- spec.add_runtime_dependency 'gem_config', '~> 0'
37
- spec.add_runtime_dependency 'savon', '~> 2.12.0'
38
- spec.add_runtime_dependency 'valuable', '~> 0'
39
34
 
35
+ spec.add_runtime_dependency "gem_config", "~> 0"
36
+ spec.add_runtime_dependency "savon", "~> 2.15.0"
37
+ spec.add_runtime_dependency "valuable", "~> 0"
40
38
  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.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Viana
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.12.0
75
+ version: 2.15.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.12.0
82
+ version: 2.15.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: valuable
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -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.5.5
157
+ rubygems_version: 3.5.14
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Integração com a API do SEI.