googlebook 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/lib/googlebook/book.rb +0 -4
- data/lib/googlebook/finder.rb +11 -11
- data/lib/googlebook/images.rb +1 -0
- data/lib/googlebook/version.rb +1 -1
- metadata +1 -2
- data/Gemfile.lock +0 -35
data/.gitignore
CHANGED
data/lib/googlebook/book.rb
CHANGED
data/lib/googlebook/finder.rb
CHANGED
@@ -41,17 +41,17 @@ module GoogleBook
|
|
41
41
|
|
42
42
|
response['feed']['entry'].map do |book|
|
43
43
|
Book.new(
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
44
|
+
Images.new(book['link'][0]['href']),
|
45
|
+
book['link'][1]['href'],
|
46
|
+
book['link'][2]['href'],
|
47
|
+
book['dc:creator'],
|
48
|
+
book['dc:date'],
|
49
|
+
book['dc:description'],
|
50
|
+
book['dc:format'],
|
51
|
+
book['dc:identifier'],
|
52
|
+
book['dc:publisher'],
|
53
|
+
book['dc:subject'],
|
54
|
+
book['dc:title'])
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
data/lib/googlebook/images.rb
CHANGED
data/lib/googlebook/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: googlebook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Paper Cavalier
|
@@ -70,7 +70,6 @@ files:
|
|
70
70
|
- .gitignore
|
71
71
|
- .rspec
|
72
72
|
- Gemfile
|
73
|
-
- Gemfile.lock
|
74
73
|
- LICENSE
|
75
74
|
- README.md
|
76
75
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
googlebook (0.1.0)
|
5
|
-
httparty (~> 0.7.4)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
addressable (2.2.4)
|
11
|
-
crack (0.1.8)
|
12
|
-
diff-lcs (1.1.2)
|
13
|
-
httparty (0.7.4)
|
14
|
-
crack (= 0.1.8)
|
15
|
-
rspec (2.5.0)
|
16
|
-
rspec-core (~> 2.5.0)
|
17
|
-
rspec-expectations (~> 2.5.0)
|
18
|
-
rspec-mocks (~> 2.5.0)
|
19
|
-
rspec-core (2.5.1)
|
20
|
-
rspec-expectations (2.5.0)
|
21
|
-
diff-lcs (~> 1.1.2)
|
22
|
-
rspec-mocks (2.5.0)
|
23
|
-
vcr (1.7.0)
|
24
|
-
webmock (1.6.2)
|
25
|
-
addressable (>= 2.2.2)
|
26
|
-
crack (>= 0.1.7)
|
27
|
-
|
28
|
-
PLATFORMS
|
29
|
-
ruby
|
30
|
-
|
31
|
-
DEPENDENCIES
|
32
|
-
googlebook!
|
33
|
-
rspec (~> 2.5.0)
|
34
|
-
vcr (~> 1.7.0)
|
35
|
-
webmock (~> 1.6.2)
|