Sha256: d31eb5af5f36dfee4994a6ffccb0d00e71ba40e6ccb230f6bab241ba0b614921

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'jeweler'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the chinese_permalink 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 chinese_permalink plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ChinesePermalink'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Jeweler::Tasks.new do |gemspec|
  gemspec.name = "chinese_permalink"
  gemspec.summary = "This plugin adds a capability for AR model to create a seo permalink with your chinese text."
  gemspec.description = "This plugin adds a capability for AR model to create a seo permalink with your chinese text. It will translate your chinese text to english url based on google translate."
  gemspec.email = "flyerhzm@gmail.com"
  gemspec.homepage = "http://github.com/flyerhzm/chinese_permalink"
  gemspec.authors = ["Richard Huang"]
  gemspec.add_dependency 'sishen-rtranslate'
  gemspec.files.exclude '.gitignore'
  gemspec.files.exclude 'log/*'
end
Jeweler::GemcutterTasks.new

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chinese_permalink-1.1.3 Rakefile
chinese_permalink-1.1.2 Rakefile
chinese_permalink-1.1.1 Rakefile
chinese_permalink-1.1.0 Rakefile
chinese_permalink-1.0.0 Rakefile