forked from xmisao/featuredimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeaturedimage.gemspec
18 lines (18 loc) · 1.01 KB
/
featuredimage.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Gem::Specification.new do |s|
s.name = 'featuredimage'
s.version = '0.9.0'
s.date = '2013-12-29'
s.summary = "FeaturedImage is the finder that extract featured image from a web page."
s.description = <<DESC
FeaturedImage is the finder that extract featured image from a web page.
FeaturedImage::Finder accesses and analyses a web page using Mechanize, download images which are referenced by IMG tag in HTML, and specify a featured image based on size of image using RMagick.
Furthermore, FeaturedImage contains pretty good thumbnail generating function too. FeaturedImage::Converter crops centered area of image, resizes, and convert to arbitrary format automatically.
DESC
s.authors = ["xmisao"]
s.email = 'mail@xmisao.com'
s.files = ["lib/featuredimage.rb", "lib/featuredimage/finder.rb", "lib/featuredimage/converter.rb"]
s.homepage = '/~https://github.com/xmisao/featuredimage'
s.license = 'MIT'
s.add_dependency('mechanize')
s.add_dependency('rmagick')
end