gottfrois/link_thumbnailer

View on GitHub
link_thumbnailer.gemspec

Summary

Maintainability
Test Coverage
# coding: utf-8
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'link_thumbnailer/version'

Gem::Specification.new do |spec|
  spec.name          = "link_thumbnailer"
  spec.version       = LinkThumbnailer::VERSION
  spec.authors       = ["Pierre-Louis Gottfrois"]
  spec.email         = ["pierrelouis.gottfrois@gmail.com"]
  spec.description   = %q{Ruby gem that fetches images and metadata from a given URL.}
  spec.summary       = %q{Ruby gem that fetches images and metadata from a given URL. Much like popular social website with link preview.}
  spec.homepage      = "https://github.com/gottfrois/link_thumbnailer"

  spec.files         = `git ls-files`.split($\)
  spec.executables   = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_dependency 'activesupport',          '>= 3.0'
  spec.add_dependency 'json',                   ['>= 1.7.7']
  spec.add_dependency 'rake',                   ['>= 0.9']
  spec.add_dependency 'nokogiri',               '>= 1.6'
  spec.add_dependency 'net-http-persistent',    '>= 2.9'
  spec.add_dependency 'video_info',             '>= 2.6'
  spec.add_dependency 'image_info',             ['~> 1.0', '>= 1.2.0']
end