Sha256: babfeb68a5b41535542fc51f8b2fe5fa97f88a2b444b229e6d429dc4b5dc6530

Contents?: true

Size: 734 Bytes

Versions: 5

Compression:

Stored size: 734 Bytes

Contents

# encoding: utf-8

require 'jeweler'

README_PATH = File.expand_path('../README.md', File.dirname(__FILE__))

def extract_description_from_readme
  readme = File.open(README_PATH, 'r', &:read)
  s = readme[/^# FTPD\n+((?:.*\n)+?)\n*##/i, 1]
  s.gsub(/\n/, ' ').strip
end

Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see
  # http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = 'ftpd'
  gem.homepage = 'http://github.com/wconrad/ftpd'
  gem.license = 'MIT'
  gem.summary = %Q{Pure Ruby FTP server library}
  gem.description = extract_description_from_readme
  gem.email = 'wconrad@yagni.com'
  gem.authors = ['Wayne Conrad']
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ftpd-0.9.0 rake_tasks/jeweler.rake
ftpd-0.7.1 rake_tasks/jeweler.rake
ftpd-0.8.0 rake_tasks/jeweler.rake
ftpd-0.7.0 rake_tasks/jeweler.rake
ftpd-0.6.0 rake_tasks/jeweler.rake