openlibrary 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- == Openlibrary 2.0.0
1
+ == Openlibrary 2.0.1
2
2
 
3
3
  The openlibrary gem provides Ruby clients for the {Open Library REST API}[http://openlibrary.org/dev/docs/restful_api] and {Books API}[http://openlibrary.org/dev/docs/api/books].
4
4
 
@@ -186,3 +186,4 @@ Other built-in finder methods:
186
186
  * Eric Larson https://github.com/ewlarson
187
187
  * Charles Horn https://github.com/hornc
188
188
  * Alex Grant https://github.com/grantovich
189
+ * Bryan L. Fordham https://github.com/bfordham
@@ -6,7 +6,7 @@ require 'hashie'
6
6
 
7
7
  module Openlibrary
8
8
  module Request
9
- API_URL = 'http://www.openlibrary.org'
9
+ API_URL = 'http://openlibrary.org'
10
10
 
11
11
  protected
12
12
 
@@ -60,7 +60,6 @@ module Openlibrary
60
60
  def query(query, params={})
61
61
  params.merge!(accept: :json)
62
62
  url = "#{API_URL}/query.json?#{query}"
63
-
64
63
  resp = RestClient.get(url, params) do |response, request, result, &block|
65
64
  case response.code
66
65
  when 200
@@ -1,3 +1,3 @@
1
1
  module Openlibrary
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openlibrary
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-02 00:00:00.000000000 Z
12
+ date: 2013-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec