Sha256: 3e93d8204fb16610b31349d0016e741a844389a8956b209d248a3f80e023fff4
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
# encoding: UTF-8 require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test HasScope' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for HasScope' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'HasScope' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "has_scope" s.version = "0.2" s.summary = "Maps controller filters to your resource scopes" s.email = "contact@plataformatec.com.br" s.homepage = "http://github.com/plataformatec/has_scope" s.description = "Maps controller filters to your resource scopes" s.authors = ['José Valim'] s.files = FileList["[A-Z]*", "lib/**/*", "init.rb"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_scope-0.2 | Rakefile |