accessible-books 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/accessible-books.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c975759afa0c1473d75f241aebf3a90e02bbaa48
|
4
|
+
data.tar.gz: 1b8a307c3c87e5ca8114155f6f6aadb55b91697b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a15d5e51ad2b1333b4e62943bdc3f15ecfc63b2a61806d937a8699be62c4851b89d2d348e4dd968fdeb556fc3d843cad9c8565b68439d2102c140d3f5ff8c2
|
7
|
+
data.tar.gz: f40e11e6660e12c426706021d0faa29a37021ad0143d5386b95766024bb95c5909678bec06728afb4fcd025b88011e9925b3f1383d4f3c39ecce87e479de4f39
|
data/lib/accessible-books.rb
CHANGED
@@ -60,6 +60,7 @@ module AccessibleBooks
|
|
60
60
|
page['image_url'] = page['url']
|
61
61
|
page['image_url'] = "https://tarheelreader.org#{page['image_url']}" unless page['image_url'].match(/^http/)
|
62
62
|
end
|
63
|
+
json['pages'][0]['small_image'] = true
|
63
64
|
json['image_url'] = json['pages'][1]['image_url']
|
64
65
|
else
|
65
66
|
json = nil
|