ficon 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/ficon/image.rb +1 -1
- data/lib/ficon/version.rb +1 -1
- data/lib/ficon.rb +1 -1
- 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: d19c583939eb6e0c4394ae8bbc34a4abc934c66f
|
4
|
+
data.tar.gz: 31336a3ff07a98c954507ff08fd7e1f15f9060b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76753e3597385f4cb593db03fdb916ba2d481c2c5a4fbc7c4d509ce25c8e7aca5f2bf9f46850b5370bcb9f25b3ea9db86c077ed3d7245a60f16f2b06f93c6057
|
7
|
+
data.tar.gz: d8466e2b46a4c301b48db31eb1457749e5cb1e1992a3b48290cfc021d9fe9b62796b9b81d1fc3df4110e831ab1b200e0f8eac09b6accc3cbb5c1b22a64f3ef6f
|
data/README.md
CHANGED
@@ -23,11 +23,11 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
Or form the shell:
|
25
25
|
|
26
|
-
$ ficon https://
|
27
|
-
https://
|
28
|
-
https://
|
29
|
-
|
30
|
-
|
26
|
+
$ ficon https://booko.info/9780748109999
|
27
|
+
Site icon: https://booko.info/favicon-196x196.png([196, 196])
|
28
|
+
Page icon: https://covers.booko.com.au/9780748109999.jpg([1488, 2338])
|
29
|
+
Page title: Prices for Consider Phlebas by Iain M. Banks
|
30
|
+
Page description: Prices (including delivery) for Consider Phlebas by Iain M. Banks range from $12.40 at Blackwell's up to $12.99.
|
31
31
|
|
32
32
|
## Contributing
|
33
33
|
|
data/lib/ficon/image.rb
CHANGED
data/lib/ficon/version.rb
CHANGED
data/lib/ficon.rb
CHANGED
@@ -26,7 +26,7 @@ module Ficon
|
|
26
26
|
|
27
27
|
if @data.nil?
|
28
28
|
@data = open(@uri)
|
29
|
-
cache.data = @data.read
|
29
|
+
cache.data = @data.read.force_encoding('UTF-8')
|
30
30
|
cache.etag = @data.meta['etag'] if @data.respond_to?(:meta)
|
31
31
|
cache.not_before = @data.meta['last-modified'] if @data.respond_to?(:meta)
|
32
32
|
@data.rewind
|