Sha256: 99b9168b4d77231e40a73ee2137bea516478c9f04bd6065bbd9c0404da4080aa

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

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

spec = Gem::Specification.new do |s|
  s.name = 'grumblr'
  s.version = File.open('VERSION') { |f| f.read }
  s.has_rdoc = false
  s.extra_rdoc_files = ['README', 'LICENSE', 'Changelog', 'VERSION']
  s.summary = "Tumblr companion for GNOME"
  s.description = "Grumblr is a message poster to Tumblr blogs from GNOME"
  s.author = 'Paul Philippov'
  s.email = 'themactep@gmail.com'
  s.homepage = 'http://themactep.com/grumblr/'
  s.rubyforge_project = 'grumblr'
  s.executables = ['grumblr']
  s.files = Dir.glob("{bin,data,lib,spec}/**/*") + \
            %w(LICENSE README Rakefile Changelog VERSION)
  s.require_path = "lib"
  s.bindir = "bin"
  s.add_dependency "ppds-libs"
  s.add_dependency "libxml-ruby"
  s.add_dependency "rest-client"
end

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

Rake::RDocTask.new do |rdoc|
  files =['README', 'LICENSE', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = "grumblr Docs"
  rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
  rdoc.options << '--line-numbers'
end

Rake::TestTask.new do |t|
  t.test_files = FileList['test/**/*.rb']
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grumblr-2.2.0 Rakefile
grumblr-2.1.1 Rakefile
grumblr-2.1.0 Rakefile
grumblr-2.0.1 Rakefile