Rakefile in rseg-0.1.1 vs Rakefile in rseg-0.1.2
- old
+ new
@@ -4,16 +4,18 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "rseg"
- s.executables = "rseg"
+ s.executables = ["rseg", 'rseg_server']
s.summary = "A Chinese Word Segmentation(中文分词) routine in pure Ruby"
s.email = "zhangyuanyi@gmail.com"
s.homepage = "http://github.com/yzhang/rseg"
s.description = "A Chinese Word Segmentation(中文分词) routine in pure Ruby"
s.authors = ["Yuanyi Zhang"]
- s.files = FileList["[A-Z]*", "{bin,lib}/**/*", '.gitignore', 'dict/dict.hash']
+ s.files = FileList["[A-Z]*", "{bin,lib,public,views}/**/*", '.gitignore', 'dict/dict.hash']
+ s.add_dependency 'haml'
+ s.add_dependency 'sinatra'
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
\ No newline at end of file