isbndb-ruby 0.1.1 → 0.1.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: ad96fa0a1fa4b76dc9a17c4a9003327a7c572237
4
- data.tar.gz: 3b7e66734b9dddcda86dbe980ffe45a4b061d869
3
+ metadata.gz: 95d4c3cf85235844d4287c930853510fd69edd90
4
+ data.tar.gz: 48c8f985295dcbf801102c4ad8c09a819d8e487b
5
5
  SHA512:
6
- metadata.gz: b6fa3b06373dbb913733b7dceddad4d2123072668a139bba6c2196cd440515a00c622624d7fc56e7f4607692d19d8b2afde1fab39c5ad47d16d157b9a4c45a46
7
- data.tar.gz: 84d98a0d70e9ec70134c8ca70e54008d585249fe372050a634dbbe2e632fa2bf111ad92843b8bdbb91d027715dedb9ea1089ac3ebae6f5cf3edd0a3365733af6
6
+ metadata.gz: d91005b2e9c56385c2d5c0f5d8e271dd6242fd6efd6d0863a9d5a661226b0bc01204a661a76b2782b134bde3422d89efeab8129b3deed908da746ff7f8807368
7
+ data.tar.gz: 6619c34aad293d32d1d45ff940b8f888efa14f0927b7c430e8b3021fe98f4541f953ce23457622b1eedeb6623cf00094897693d907456cd0bb3c247053c5fa28
@@ -11,7 +11,7 @@ module ISBNdb
11
11
  end
12
12
 
13
13
  def request(page, params = {})
14
- response = self.class.get(URI.escape(page), query: params, headers: headers, timeout: 60)
14
+ response = self.class.get(Addressable::URI.encode(page), query: params, headers: headers, timeout: 60)
15
15
  raise ISBNdb::RequestError.new "HTTP Response: #{response.code}" if response.code != 200
16
16
  begin
17
17
  self.class.snakify(response.parsed_response)
@@ -1,3 +1,3 @@
1
1
  module ISBNdb
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isbndb-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sampatbadhe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-26 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -202,7 +202,7 @@ metadata:
202
202
  allowed_push_host: https://rubygems.org
203
203
  homepage_uri: https://github.com/sampatbadhe/isbndb-ruby
204
204
  source_code_uri: https://github.com/sampatbadhe/isbndb-ruby
205
- post_install_message:
205
+ post_install_message:
206
206
  rdoc_options: []
207
207
  require_paths:
208
208
  - lib
@@ -217,9 +217,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  requirements: []
220
- rubyforge_project:
220
+ rubyforge_project:
221
221
  rubygems_version: 2.4.5.5
222
- signing_key:
222
+ signing_key:
223
223
  specification_version: 4
224
224
  summary: Library for communicating with the ISBNdb.com's v2 API
225
225
  test_files: []