Sha256: 146890d28b49d88999cf91704e45d09d5b8ff94e18b36d2d1bb1813c771783d8

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

lib = 'mime_builder'
lib_file = File.expand_path("../lib/#{lib}.rb", __FILE__)
File.read(lib_file) =~ /\bVERSION\s*=\s*["'](.+?)["']/
version = $1

Gem::Specification.new do |s|
  s.name        = lib
  s.version     = version
  s.date        = '2023-02-15'
  s.summary     = 'MIME Builder is a helper to build MIME parts'
  s.description = 'Helper library to build MIME parts'
  s.authors     = ['John Wang']
  s.email       = 'johncwang@gmail.com'
  s.homepage    = 'https://github.com/grokify/mime-builder-ruby'
  s.licenses    = ['MIT']
  s.files       = Dir['lib/**/**/*'] + Dir['[A-Z]*'] + Dir['test/**/*']
  # s.files.reject! { |fn| fn.include? "CVS" }
  # s.required_ruby_version = '>= 1.8.7' # 1.8.7+ is tested
  s.required_ruby_version = '>= 2.2.2'
  s.add_dependency 'mime', '~> 0.4', '>= 0.4.4'
  s.add_dependency 'mime-types', '~> 3.4', '>= 3.4.1'
  s.add_dependency 'multi_json', '~> 1', '>= 1.15.0'

  s.add_development_dependency 'coveralls', '~> 0'
  s.add_development_dependency 'mocha', '~> 2'
  s.add_development_dependency 'rake', '~> 13'
  s.add_development_dependency 'simplecov', '~> 0'
  s.add_development_dependency 'test-unit', '~> 3'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mime_builder-0.1.1 mime_builder.gemspec