bruce / keyword_search

Generic support for extracting GMail-style search keywords/values from strings

This URL has Read+Write access

eric (author)
Wed Jan 28 08:47:47 -0800 2009
bruce (committer)
Wed Jan 28 21:26:39 -0800 2009
keyword_search / Rakefile
100644 21 lines (16 sloc) 0.546 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- ruby -*-
 
require 'rubygems'
require 'echoe'
 
Echoe.new 'keyword_search' do |p|
  p.version = '1.4'
  p.author = "Bruce Williams"
  p.email = 'bruce@codefluency.com'
  p.project = 'codefluency'
  p.summary = "Generic library to parse GMail-style search strings for keyword/value pairs; supports definition of valid keywords and handling of quoted values."
  p.url = "http://github.com/bruce/keyword_search"
  p.include_rakefile = true
end
 
rule '.rb' => '.rl' do |t|
  sh "ragel -R #{t.source}"
end
 
task :ragel => 'lib/keyword_search.rb'