Sha256: 4e15a9d3da4db6c4eac87d496c27ce8c4be3e71a288882918198b3f089fd5b26
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the acts_as_concatenation plugin.' 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 the acts_as_concatenation plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ActsAsConcatenation' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "acts_as_concatenation" gemspec.summary = "Making multiple values save in a single column as a concatenation of string" gemspec.description = "Making multiple values save in a single column as a concatenation of string,including a ActiveRecord method and view helper" gemspec.email = "haoinit@gmail.com" gemspec.homepage = "http://github.com/hchen/acts_as_concatenation" gemspec.authors = ["Hao Chen"] end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_concatenation-0.1.0 | Rakefile |