-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathearl.gemspec
More file actions
26 lines (22 loc) · 1016 Bytes
/
earl.gemspec
File metadata and controls
26 lines (22 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# frozen_string_literal: true
require 'English'
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'earl/version'
Gem::Specification.new do |gem|
gem.authors = ['teejayvanslyke', 'Paul Gallagher']
gem.email = ['tj@elctech.com', 'gallagher.paul@gmail.com']
gem.description = 'URL metadata API'
gem.summary = 'URL metadata API for scraping titles, descriptions, images, and videos from URLs'
gem.homepage = 'https://github.com/evendis/earl'
gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = 'earl'
gem.require_paths = ['lib']
gem.version = Earl::VERSION
gem.license = 'MIT'
gem.required_ruby_version = '>= 3.0'
gem.add_runtime_dependency 'nokogiri', '~> 1.18'
gem.add_runtime_dependency 'ruby-oembed', '~> 0.18.1'
end