biro 0.6.8 → 0.6.9

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
  SHA1:
3
- metadata.gz: 127fee1b3ce37c13ef1b0f3d64781b7ff371295f
4
- data.tar.gz: f8e5d02201be8af83db03eef76433dab9e212e69
3
+ metadata.gz: d7240d2386f8b9696f528578279563e9277f39ee
4
+ data.tar.gz: 6df8e05545747546cb1307370ca39718ea57e848
5
5
  SHA512:
6
- metadata.gz: c12cbd01440cf751a2b0718296d0f9b1d42796e2bf6caaa5f4434fcd725a48a4e9215442d824bd17f86464cd249e83c084ecc597fc007ac687a8b7ab7c4795f6
7
- data.tar.gz: bbe885c768055277f7b1c8bcd8d61b39856f157ba497fc4fae0f24905bf7efc07e9a7449602a21cebab4c1b0e2f1767856814ac93dce64d55b30bf10c3158330
6
+ metadata.gz: f6c4784dfc80b23ad6e9ba7dbf2271f09919b3ebd832daa0499309df931ff6336e8e704535c7d78748caa97974fe52550bedebcd25beff34ad3f9919981baf66
7
+ data.tar.gz: 2a645d2a372aa7e45065ab7639352a8c81470a9a21e8c6942032ef817e7c19ace5311ae2cd2dacfb39d5b8c3259954aab9853967a9eb1db8df8c0747cf243a8a
@@ -2,6 +2,7 @@ module Biro
2
2
  module Bvs
3
3
  class ScoreResponseBuilder
4
4
  def initialize(body)
5
+ require 'pry'; binding.pry
5
6
  @body = build(body)
6
7
  end
7
8
 
@@ -4,7 +4,7 @@ module Biro
4
4
  module Bvs
5
5
  class Request < BaseRequest
6
6
  def production_url
7
- "https://www.bvsnet.com.br/cgi-bin/db2www/netpo028.mbr/string?consulta=string"
7
+ "https://www.bvsnet.com.br/cgi-bin/db2www/netpo028.mbr/string?consulta="
8
8
  end
9
9
 
10
10
  def development_url
@@ -17,6 +17,7 @@ module Biro
17
17
 
18
18
  def find(document, options = {})
19
19
  bvs_results = {}
20
+
20
21
  bvs_results[:score] = score(document) if options.keys.include?(:score)
21
22
  bvs_results[:debits] = debits(document) if options.keys.include?(:debits)
22
23
 
@@ -44,6 +45,7 @@ module Biro
44
45
  end
45
46
 
46
47
  def score(document)
48
+ require 'pry'; binding.pry
47
49
  params = ScoreRequestBuilder.new(document, @username, @password).build
48
50
 
49
51
  begin
data/lib/biro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Biro
2
- VERSION = "0.6.8"
2
+ VERSION = "0.6.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noverde Team