File: grok.gemspec

package info (click to toggle)
grok 1.20110708.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,388 kB
  • sloc: ansic: 3,469; ruby: 987; makefile: 276; sh: 124; yacc: 106
file content (55 lines) | stat: -rw-r--r-- 1,418 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Gem::Specification.new do |spec|
  files = <<-FILES
    INSTALL
    Rakefile
    examples
    examples/grok-web.rb
    examples/pattern-discovery.rb
    examples/test.rb
    grok.gemspec
    lib
    lib/grok
    lib/grok.rb
    lib/grok/match.rb
    lib/grok/pile.rb
    test
    test/Makefile
    test/alltests.rb
    test/general
    test/general/basic_test.rb
    test/general/captures_test.rb
    test/patterns
    test/patterns/day.rb
    test/patterns/host.rb
    test/patterns/ip.input
    test/patterns/ip.rb
    test/patterns/iso8601.rb
    test/patterns/month.rb
    test/patterns/number.rb
    test/patterns/path.rb
    test/patterns/prog.rb
    test/patterns/quotedstring.rb
    test/patterns/uri.rb
    test/run.sh
    test/speedtest.rb
  FILES

  files = files.gsub(/  +/, "").split("\n")

  #svnrev = %x{svn info}.split("\n").grep(/Revision:/).first.split(" ").last.to_i
  spec.name = "jls-grok"
  spec.version = "0.4.6"

  spec.summary = "grok bindings for ruby"
  spec.description = "Grok ruby bindings - pattern match/extraction tool"
  spec.files = files

  spec.add_dependency("ffi", "~> 0.6.3")
  spec.require_paths << "lib" 
  spec.require_paths << "ext"  # for "Grok.rb" giving backwards compat to Grok.so

  spec.authors = ["Jordan Sissel", "Pete Fritchman"]
  spec.email = ["jls@semicomplete.com", "petef@databits.net"]
  spec.homepage = "http://code.google.com/p/semicomplete/wiki/Grok"
end