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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76d106a8b27e0d7d017eb9e661333ebe1c8c4735
4
- data.tar.gz: 28d26e8e0c33bd7c9b6d6e54b20114bae13960ac
3
+ metadata.gz: 0c710203581f39483d2dd311ce33f436a55504d0
4
+ data.tar.gz: c5c816935ef898a3c6ccd774f9e02ec23a1bd51e
5
5
  SHA512:
6
- metadata.gz: 7f60b4ad9f17bbcf652d1e0f0b5420444d56627a9ddd77d1036fe6cfdcd4a00ff00dd965115ce8cab1d95e6dbfb70acc19615084fdb2a2a8aaeb8da813788114
7
- data.tar.gz: 43e15ce520a0231e2e3a74c2097022d4dcbf00f190edd7456d4308afae1d4502077cdfcd223e73ba0b2f9d5413ba80c836bc995192411689a4c25127e1135eac
6
+ metadata.gz: 3b0f935d1fab6b018e00645f430de4fd234867cf8d819ec08ed279762f2fe3c5c93764f637febfc601eaeace8e23198088e1024df7554d1826d3c49feb77c88b
7
+ data.tar.gz: 2141412f4b9822883f5d0718afc120d9c72cd28c0508645893e2b7730539797463ffdd10000cc22c9ae3c79aee841ebca3ee06844e518e519a33420d807eb390
data/CHANGELOG.md CHANGED
@@ -0,0 +1,4 @@
1
+ # Changelog
2
+
3
+ ## 0.0.1 @ 2014-07-11
4
+ * Suporte para a action recepcionar_lote_rps do provedor ISS.net
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: abrasf_1_0
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: abrasf_1_0
11
+ api: iss_net_1_0
data/lib/rnfse/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rnfse
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
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('abrasf_1_0') }
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('abrasf_1_0') }
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
@@ -10,6 +10,7 @@ require 'vcr'
10
10
  VCR.configure do |c|
11
11
  c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
12
12
  c.hook_into :webmock
13
+ c.ignore_hosts 'codeclimate.com'
13
14
  WebMock.allow_net_connect!
14
15
  end
15
16
 
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.1
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