2014-12-06 03:26:50 +11:00
|
|
|
# -*- encoding: utf-8 -*-
|
|
|
|
lib = File.expand_path('../lib/', __FILE__)
|
|
|
|
$:.unshift lib unless $:.include?(lib)
|
|
|
|
|
|
|
|
require 'jekyll/responsive_image/version'
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
2014-12-06 12:01:15 +11:00
|
|
|
spec.name = 'jekyll-responsive_image'
|
2014-12-06 03:26:50 +11:00
|
|
|
spec.version = Jekyll::ResponsiveImage::VERSION
|
|
|
|
spec.authors = ['Joseph Wynn']
|
|
|
|
spec.email = ['joseph@wildlyinaccurate.com']
|
|
|
|
spec.summary = 'Responsive images for Jekyll via srcset'
|
|
|
|
spec.homepage = 'https://github.com/wildlyinaccurate/jekyll-responsive-image'
|
|
|
|
spec.licenses = ['MIT']
|
|
|
|
spec.description = %q{
|
2014-12-06 11:46:09 +11:00
|
|
|
Jekyll Responsive Images is a Jekyll plugin and utility for automatically resizing images.
|
|
|
|
Its intended use is for sites which want to display responsive images using something like srcset or Imager.js.
|
2014-12-06 03:26:50 +11:00
|
|
|
}
|
|
|
|
|
2016-09-03 07:48:11 +10:00
|
|
|
spec.files = `git ls-files -z lib/`.split("\u0000")
|
|
|
|
spec.executables = []
|
|
|
|
spec.require_paths = ['lib']
|
2014-12-06 03:26:50 +11:00
|
|
|
|
2015-11-05 10:09:14 +11:00
|
|
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0.0')
|
|
|
|
max_jekyll_version = '3.0'
|
|
|
|
else
|
|
|
|
max_jekyll_version = '4.0'
|
|
|
|
end
|
|
|
|
|
|
|
|
spec.add_runtime_dependency 'jekyll', ['>= 2.0', "< #{max_jekyll_version}"]
|
2015-12-27 05:24:00 +11:00
|
|
|
spec.add_runtime_dependency 'rmagick', ['>= 2.0', '< 3.0']
|
2014-12-06 03:26:50 +11:00
|
|
|
end
|