sawmill 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. data/History.rdoc +3 -0
  2. data/README.rdoc +81 -0
  3. data/Rakefile +147 -0
  4. data/lib/sawmill/entry.rb +307 -0
  5. data/lib/sawmill/entry_classifier.rb +75 -0
  6. data/lib/sawmill/entry_processor/build_records.rb +157 -0
  7. data/lib/sawmill/entry_processor/conditionals.rb +444 -0
  8. data/lib/sawmill/entry_processor/filter_basic_fields.rb +145 -0
  9. data/lib/sawmill/entry_processor/format.rb +228 -0
  10. data/lib/sawmill/entry_processor/simple_queue.rb +116 -0
  11. data/lib/sawmill/entry_processor.rb +158 -0
  12. data/lib/sawmill/errors.rb +66 -0
  13. data/lib/sawmill/level.rb +264 -0
  14. data/lib/sawmill/log_record_middleware.rb +93 -0
  15. data/lib/sawmill/logger.rb +373 -0
  16. data/lib/sawmill/parser.rb +181 -0
  17. data/lib/sawmill/record.rb +255 -0
  18. data/lib/sawmill/record_processor/conditionals.rb +330 -0
  19. data/lib/sawmill/record_processor/decompose.rb +75 -0
  20. data/lib/sawmill/record_processor/filter_by_attributes.rb +87 -0
  21. data/lib/sawmill/record_processor/filter_by_record_id.rb +77 -0
  22. data/lib/sawmill/record_processor/format.rb +88 -0
  23. data/lib/sawmill/record_processor/simple_queue.rb +117 -0
  24. data/lib/sawmill/record_processor.rb +137 -0
  25. data/lib/sawmill/rotater/base.rb +90 -0
  26. data/lib/sawmill/rotater/date_based_log_file.rb +145 -0
  27. data/lib/sawmill/rotater/shifting_log_file.rb +166 -0
  28. data/lib/sawmill/rotater.rb +236 -0
  29. data/lib/sawmill/util/queue.rb +138 -0
  30. data/lib/sawmill/version.rb +47 -0
  31. data/lib/sawmill.rb +78 -0
  32. data/tests/tc_entry_processors.rb +138 -0
  33. data/tests/tc_formatter_parser.rb +144 -0
  34. data/tests/tc_levels.rb +118 -0
  35. data/tests/tc_logger.rb +315 -0
  36. data/tests/tc_record_processors.rb +117 -0
  37. data/tests/tc_records.rb +206 -0
  38. metadata +116 -0
metadata ADDED
@@ -0,0 +1,116 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sawmill
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Azuma
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-28 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: blockenspiel
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.2.1
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: versionomy
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.1.1
34
+ version:
35
+ description: Sawmill is a logging and log analysis system for Ruby. It extends the basic Ruby logging facility with log records and parsing abilities.
36
+ email: dazuma@gmail.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - README.rdoc
43
+ - History.rdoc
44
+ files:
45
+ - lib/sawmill/entry.rb
46
+ - lib/sawmill/entry_classifier.rb
47
+ - lib/sawmill/entry_processor/build_records.rb
48
+ - lib/sawmill/entry_processor/conditionals.rb
49
+ - lib/sawmill/entry_processor/filter_basic_fields.rb
50
+ - lib/sawmill/entry_processor/format.rb
51
+ - lib/sawmill/entry_processor/simple_queue.rb
52
+ - lib/sawmill/entry_processor.rb
53
+ - lib/sawmill/errors.rb
54
+ - lib/sawmill/level.rb
55
+ - lib/sawmill/log_record_middleware.rb
56
+ - lib/sawmill/logger.rb
57
+ - lib/sawmill/parser.rb
58
+ - lib/sawmill/record.rb
59
+ - lib/sawmill/record_processor/conditionals.rb
60
+ - lib/sawmill/record_processor/decompose.rb
61
+ - lib/sawmill/record_processor/filter_by_attributes.rb
62
+ - lib/sawmill/record_processor/filter_by_record_id.rb
63
+ - lib/sawmill/record_processor/format.rb
64
+ - lib/sawmill/record_processor/simple_queue.rb
65
+ - lib/sawmill/record_processor.rb
66
+ - lib/sawmill/rotater/base.rb
67
+ - lib/sawmill/rotater/date_based_log_file.rb
68
+ - lib/sawmill/rotater/shifting_log_file.rb
69
+ - lib/sawmill/rotater.rb
70
+ - lib/sawmill/util/queue.rb
71
+ - lib/sawmill/version.rb
72
+ - lib/sawmill.rb
73
+ - tests/tc_entry_processors.rb
74
+ - tests/tc_formatter_parser.rb
75
+ - tests/tc_levels.rb
76
+ - tests/tc_logger.rb
77
+ - tests/tc_record_processors.rb
78
+ - tests/tc_records.rb
79
+ - History.rdoc
80
+ - README.rdoc
81
+ - Rakefile
82
+ has_rdoc: true
83
+ homepage: http://github.com/dazuma/sawmill
84
+ licenses: []
85
+
86
+ post_install_message:
87
+ rdoc_options: []
88
+
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 1.8.6
96
+ version:
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: "0"
102
+ version:
103
+ requirements: []
104
+
105
+ rubyforge_project: virtuoso
106
+ rubygems_version: 1.3.5
107
+ signing_key:
108
+ specification_version: 3
109
+ summary: Sawmill is a logging and log analysis system for Ruby.
110
+ test_files:
111
+ - tests/tc_entry_processors.rb
112
+ - tests/tc_formatter_parser.rb
113
+ - tests/tc_levels.rb
114
+ - tests/tc_logger.rb
115
+ - tests/tc_record_processors.rb
116
+ - tests/tc_records.rb