plumnailer 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/plumnailer/img_comparator.rb +1 -1
- data/lib/plumnailer/img_parser.rb +2 -2
- data/lib/plumnailer/web_image.rb +1 -1
- data/plumnailer.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -25,12 +25,12 @@ module Plumnailer
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
# Fetch image data from a url, load into Magick::
|
28
|
+
# Fetch image data from a url, load into Magick::ImageList and set some
|
29
29
|
# additional fields.
|
30
30
|
def parse_one(img_url)
|
31
31
|
img_data = fetcher.fetch(img_url)
|
32
32
|
unless !img_data or img_data.empty?
|
33
|
-
img = Magick::ImageList.new.from_blob(img_data).
|
33
|
+
img = Magick::ImageList.new.from_blob(img_data).extend(
|
34
34
|
Plumnailer::WebImage)
|
35
35
|
img.source_url = img_url
|
36
36
|
img
|
data/lib/plumnailer/web_image.rb
CHANGED
data/plumnailer.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plumnailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matthew M. Boedicker
|