rnfse 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/provedores.yml +2 -2
- data/lib/rnfse/version.rb +1 -1
- data/rnfse.gemspec +1 -0
- data/spec/api_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c710203581f39483d2dd311ce33f436a55504d0
|
4
|
+
data.tar.gz: c5c816935ef898a3c6ccd774f9e02ec23a1bd51e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b0f935d1fab6b018e00645f430de4fd234867cf8d819ec08ed279762f2fe3c5c93764f637febfc601eaeace8e23198088e1024df7554d1826d3c49feb77c88b
|
7
|
+
data.tar.gz: 2141412f4b9822883f5d0718afc120d9c72cd28c0508645893e2b7730539797463ffdd10000cc22c9ae3c79aee841ebca3ee06844e518e519a33420d807eb390
|
data/CHANGELOG.md
CHANGED
data/lib/provedores.yml
CHANGED
@@ -2,10 +2,10 @@ producao:
|
|
2
2
|
iss_net:
|
3
3
|
namespace: http://www.issnetonline.com.br/webservice/nfd
|
4
4
|
endpoint: http://www.issnetonline.com.br/webserviceabrasf/%{municipio}/servicos.asmx
|
5
|
-
api:
|
5
|
+
api: iss_net_1_0
|
6
6
|
|
7
7
|
homologacao:
|
8
8
|
iss_net:
|
9
9
|
namespace: http://www.issnetonline.com.br/webservice/nfd
|
10
10
|
endpoint: http://www.issnetonline.com.br/webserviceabrasf/homologacao/servicos.asmx
|
11
|
-
api:
|
11
|
+
api: iss_net_1_0
|
data/lib/rnfse/version.rb
CHANGED
data/rnfse.gemspec
CHANGED
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_dependency 'json', '~> 1.0'
|
32
32
|
s.add_dependency 'json-schema', '~> 2.0'
|
33
33
|
s.add_dependency 'gyoku', '~> 1.0'
|
34
|
+
s.add_dependency 'nori', '~> 2.0'
|
34
35
|
s.add_dependency 'nokogiri-xmlsec1', '~> 0.0.7'
|
35
36
|
s.add_dependency 'savon', '~> 2.0'
|
36
37
|
|
data/spec/api_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe Rnfse::API do
|
|
18
18
|
it { should be_kind_of(Rnfse::API) }
|
19
19
|
its(:namespace) { should eq('http://www.issnetonline.com.br/webservice/nfd') }
|
20
20
|
its(:endpoint) { should eq('http://www.issnetonline.com.br/webserviceabrasf/cuiaba/servicos.asmx') }
|
21
|
-
its(:api) { should eq('
|
21
|
+
its(:api) { should eq('iss_net_1_0') }
|
22
22
|
its(:xml_builder) { should be_kind_of(Rnfse::XMLBuilder) }
|
23
23
|
its(:soap_client) { should be_kind_of(Savon::Client) }
|
24
24
|
end
|
@@ -34,7 +34,7 @@ describe Rnfse::API do
|
|
34
34
|
it { should be_kind_of(Rnfse::API) }
|
35
35
|
its(:namespace) { should eq('http://www.issnetonline.com.br/webservice/nfd') }
|
36
36
|
its(:endpoint) { should eq('http://www.issnetonline.com.br/webserviceabrasf/homologacao/servicos.asmx') }
|
37
|
-
its(:api) { should eq('
|
37
|
+
its(:api) { should eq('iss_net_1_0') }
|
38
38
|
end
|
39
39
|
|
40
40
|
context 'ao passar o padrão abrasf, namespace e endpoint,' do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rnfse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Renan Mendes Carvalho
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: nori
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: nokogiri-xmlsec1
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|