Sha256: 1dfb13253a5347c4d363548703114ff73798ac29e86c62d5036b88c448d05e2d
Contents?: true
Size: 1.13 KB
Versions: 3
Compression:
Stored size: 1.13 KB
Contents
# encoding: UTF-8 require 'rake' require 'rake/rdoctask' require 'rake/gempackagetask' require 'rake/testtask' require File.join(File.dirname(__FILE__), 'lib', 'notifiable', 'version') Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end task :default => :test Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Notifiable' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end spec = Gem::Specification.new do |s| s.name = "notifiable" s.summary = "Insert Notifiable summary." s.description = "Insert Notifiable description." s.files = FileList["[A-Z]*", "{app,config,lib}/**/*"] s.version = Notifiable::VERSION.dup s.email = "sbertel@mobithought.com" s.homepage = "http://github.com/shenoudab/notifiable" s.author = 'Shenouda Bertel' end Rake::GemPackageTask.new(spec) do |pkg| end desc "Install the gem #{spec.name}-#{spec.version}.gem" task :install do system("gem install pkg/#{spec.name}-#{spec.version}.gem --no-ri --no-rdoc") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
notifiable-0.0.3 | Rakefile |
notifiable-0.0.2 | Rakefile |
notifiable-0.0.1 | Rakefile |