openlibrary 1.0.1 → 1.0.2
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.
- data/README.rdoc +129 -30
- data/lib/openlibrary/client.rb +10 -9
- data/lib/openlibrary/client/authors.rb +10 -0
- data/lib/openlibrary/client/books.rb +22 -1
- data/lib/openlibrary/client/editions.rb +10 -0
- data/lib/openlibrary/client/history.rb +9 -0
- data/lib/openlibrary/client/recent.rb +9 -0
- data/lib/openlibrary/request.rb +40 -5
- data/lib/openlibrary/version.rb +1 -1
- data/openlibrary.gemspec +28 -28
- data/spec/client_spec.rb +164 -10
- data/spec/fixtures/author.json +12 -0
- data/spec/fixtures/book_by_isbn.json +1 -0
- data/spec/fixtures/book_by_lccn.json +1 -0
- data/spec/fixtures/book_by_oclc.json +1 -0
- data/spec/fixtures/editions.json +354 -0
- data/spec/fixtures/history.json +261 -0
- data/spec/fixtures/recent.json +16807 -0
- metadata +21 -3
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: openlibrary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jay Fajardo
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-03-
|
13
|
+
date: 2013-03-05 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ~>
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 2.0.2
|
68
68
|
type: :runtime
|
69
69
|
version_requirements: *id005
|
70
70
|
- !ruby/object:Gem::Dependency
|
@@ -94,7 +94,11 @@ files:
|
|
94
94
|
- Rakefile
|
95
95
|
- lib/openlibrary.rb
|
96
96
|
- lib/openlibrary/client.rb
|
97
|
+
- lib/openlibrary/client/authors.rb
|
97
98
|
- lib/openlibrary/client/books.rb
|
99
|
+
- lib/openlibrary/client/editions.rb
|
100
|
+
- lib/openlibrary/client/history.rb
|
101
|
+
- lib/openlibrary/client/recent.rb
|
98
102
|
- lib/openlibrary/data.rb
|
99
103
|
- lib/openlibrary/details.rb
|
100
104
|
- lib/openlibrary/errors.rb
|
@@ -103,7 +107,14 @@ files:
|
|
103
107
|
- lib/openlibrary/view.rb
|
104
108
|
- openlibrary.gemspec
|
105
109
|
- spec/client_spec.rb
|
110
|
+
- spec/fixtures/author.json
|
106
111
|
- spec/fixtures/book.json
|
112
|
+
- spec/fixtures/book_by_isbn.json
|
113
|
+
- spec/fixtures/book_by_lccn.json
|
114
|
+
- spec/fixtures/book_by_oclc.json
|
115
|
+
- spec/fixtures/editions.json
|
116
|
+
- spec/fixtures/history.json
|
117
|
+
- spec/fixtures/recent.json
|
107
118
|
- spec/openlibrary_spec.rb
|
108
119
|
- spec/spec_helper.rb
|
109
120
|
homepage: http://www.proudcloud.net
|
@@ -135,6 +146,13 @@ specification_version: 3
|
|
135
146
|
summary: Ruby Interface for the Openlibrary.org API
|
136
147
|
test_files:
|
137
148
|
- spec/client_spec.rb
|
149
|
+
- spec/fixtures/author.json
|
138
150
|
- spec/fixtures/book.json
|
151
|
+
- spec/fixtures/book_by_isbn.json
|
152
|
+
- spec/fixtures/book_by_lccn.json
|
153
|
+
- spec/fixtures/book_by_oclc.json
|
154
|
+
- spec/fixtures/editions.json
|
155
|
+
- spec/fixtures/history.json
|
156
|
+
- spec/fixtures/recent.json
|
139
157
|
- spec/openlibrary_spec.rb
|
140
158
|
- spec/spec_helper.rb
|