Sha256: 168cff8b5cb9d50d1643262ea26d8dc5a8139c862ab106a43ed18f5c80932e7f
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "acts_as_tokenizable" gem.summary = "Acts as tokenizable" gem.description = "Make ActiveRecord models easily searchable via tokens." gem.email = "github@splendeo.es" gem.homepage = "http://github.com/splendeo/acts_as_tokenizable" gem.authors = ["Enrique Garcia Cota", "Francisco de Juan"] gem.add_dependency "babosa", "~> 0.3.7" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :test => :check_dependencies task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "acts_as_tokenizable #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_tokenizable-0.7.0 | Rakefile |
acts_as_tokenizable-0.6.1 | Rakefile |
acts_as_tokenizable-0.6.0 | Rakefile |