Sha256: a840639a1b875754ed5fbd92620ba135ae25ae9139beed65ba937fd96fd9f69e

Contents?: true

Size: 857 Bytes

Versions: 1

Compression:

Stored size: 857 Bytes

Contents

require 'rubygems'
require 'spec/rake/spectask'
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'

spec = Gem::Specification.new do |s|
  s.name = 'ruby-hackernews'
  s.version = '1.0.1'
  s.add_dependency('require_all', '>= 1.1.0')
  s.add_dependency('mechanize', '>= 1.0.0')
  s.has_rdoc = false
  s.homepage = "http://github.com/bolthar/ruby-hackernews"
  s.summary = 'An interface to Hacker News'
  s.description = s.summary
  s.author = 'Andrea Dallera'
  s.email = 'andrea@andreadallera.com'
  s.files = %w(README.rdoc Rakefile) + Dir.glob("{lib}/**/*")
  s.require_path = "lib"  
end

Rake::GemPackageTask.new(spec) do |p|
  p.gem_spec = spec
  p.need_tar = true
  p.need_zip = true
end

Spec::Rake::SpecTask.new do |t|
  t.warning = true
  t.spec_files = FileList['spec/**/*.rb']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-hackernews-1.0.1 Rakefile