openbd_api 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/openbd/client.rb +1 -1
- data/lib/openbd/responses/coverage.rb +4 -0
- data/lib/openbd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8932f3736a646c9a4b81cd5a80a3e2f54c947476
|
4
|
+
data.tar.gz: d91f0999f0e52f2b42c0a85cd05d9c2b05cfe385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c9dee1a194b460ad796c66719e95fa3f07325becdab830f3ed2706c9ceb5109b6bf9eb09ea3ed9b4e9c2445bac475d829b30b6a4f40153a10aaa5d1e81dc1e0
|
7
|
+
data.tar.gz: b517a04a0faa9af9ab6098eee21b6830678dbb4f8e85faacc0ae26adff3ee5ed893d41d1ab1839ce4270483fa093cdddb4167fdf6d923dbe9bc63e98d92dd72d
|
data/CHANGELOG.md
CHANGED
data/lib/openbd/client.rb
CHANGED
@@ -57,7 +57,7 @@ module OpenBD
|
|
57
57
|
def post_request(method:, params:, response_class:)
|
58
58
|
faraday_response = connection.post do |req|
|
59
59
|
req.url method
|
60
|
-
req.body = "isbn=#{
|
60
|
+
req.body = "isbn=#{params[:isbn]}"
|
61
61
|
end
|
62
62
|
response_class.new(faraday_response)
|
63
63
|
end
|
data/lib/openbd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openbd_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nasum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|