Sha256: 93dcc0d2aa8457bbf847014cf728b204e978d0b7fe7ed9b691877ae13e7c193b

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

# frozen_string_literal: true

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

Gem::Specification.new do |spec|
   spec.name    = 'ghostwriter'
   spec.version = Ghostwriter::VERSION
   spec.authors = ['Robin Miller']
   spec.email   = ['robin@tenjin.ca']

   spec.summary     = 'Converts HTML to plain text'
   spec.description = <<~DESC
      Converts HTML to plain text, preserving as much legibility and functionality as possible.

      Ideal for providing a plaintext multipart segment of email messages.
   DESC
   spec.homepage = 'https://github.com/TenjinInc/ghostwriter'
   spec.license  = 'MIT'

   spec.metadata = {
         'rubygems_mfa_required' => 'true'
   }

   spec.files = `git ls-files -z`.split("\x0").reject do |f|
      f.match(%r{^(test|spec|features)/})
   end

   spec.bindir        = 'exe'
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ['lib']

   spec.required_ruby_version = '>= 3.1'

   spec.add_dependency 'nokogiri', '>= 1.12'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ghostwriter-1.3.0 ghostwriter.gemspec