Skip to content

Commit

Permalink
Merge pull request #32 from pdvend/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
thiagovsk committed Jun 25, 2018
2 parents 1cc102a + 971c467 commit 2856f87
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## CHANGELOG

### 0.2.14 [2018-06-25]
- [Corrigido] Adicionando novas urls da sefaz para uf

### 0.2.13 [2018-03-05]
- [Corrigido] Atualizando gem Ox

Expand Down
2 changes: 1 addition & 1 deletion br_invoices_pdf.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'br_invoices_pdf/version'

Expand Down
10 changes: 10 additions & 0 deletions lib/br_invoices_pdf/util/nfce_check_urls.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

# rubocop:disable Metrics/ModuleLength
module BrInvoicesPdf
module Util
module NfceCheckUrls
Expand Down Expand Up @@ -95,8 +96,17 @@ module NfceCheckUrls
'17': {
'1': 'http://apps.sefaz.to.gov.br/portal-nfce/consultarNFCe.jsf',
'2': 'http://apps.sefaz.to.gov.br/portal-nfce-homologacao/consultarNFCe.jsf'
},
'52': {
'1': 'http://www.nfce.go.gov.br/post/ver/214278/consumid',
'2': 'http://www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao'
},
'26': {
'1': 'http://nfce.sefaz.pe.gov.br/nfce-web/consultarNFCe',
'2': 'http://nfcehomolog.sefaz.pe.gov.br/nfce-web/consultarNFCe'
}
}.freeze
end
end
end
# rubocop:enable Metrics/ModuleLength
2 changes: 1 addition & 1 deletion lib/br_invoices_pdf/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module BrInvoicesPdf
VERSION = '0.2.13'
VERSION = '0.2.14'
end
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)

require 'simplecov'
require 'coveralls'
require 'securerandom'

Coveralls.wear!
require 'br_invoices_pdf'
Expand Down

0 comments on commit 2856f87

Please sign in to comment.