indy 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/README.md +29 -22
- data/Rakefile +6 -12
- data/features/file.feature +1 -1
- data/features/step_definitions/find_by.steps.rb +0 -12
- data/features/step_definitions/log_file.steps.rb +4 -0
- data/features/step_definitions/support/env.rb +4 -0
- data/features/step_definitions/support/transforms.rb +0 -4
- data/indy.gemspec +3 -2
- data/lib/indy.rb +10 -7
- data/lib/indy/formats.rb +3 -0
- data/lib/indy/indy.rb +112 -189
- data/lib/indy/log_formats.rb +26 -4
- data/lib/indy/notes.txt +9 -0
- data/lib/indy/result_set.rb +8 -8
- data/lib/indy/source.rb +129 -0
- data/lib/scanf.rb +13 -0
- data/performance/profile_spec.rb +3 -3
- data/spec/helper.rb +5 -1
- data/spec/indy_spec.rb +128 -56
- data/spec/log_format_spec.rb +11 -11
- data/spec/multiline.log +10 -0
- data/spec/search_spec.rb +2 -25
- data/spec/source_spec.rb +85 -0
- data/spec/time_spec.rb +9 -4
- metadata +26 -70
- data/lib/indy/patterns.rb +0 -25
data/lib/indy/patterns.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
class Indy
|
2
|
-
|
3
|
-
#
|
4
|
-
# Indy default log format @pattern
|
5
|
-
# e.g.:
|
6
|
-
# INFO 2000-09-07 MyApp - Entering APPLICATION.
|
7
|
-
#
|
8
|
-
DEFAULT_LOG_PATTERN = [LogFormats::DEFAULT_LOG_REGEXP, LogFormats::DEFAULT_LOG_FIELDS].flatten
|
9
|
-
|
10
|
-
#
|
11
|
-
# Uncustomized Log4r log @pattern
|
12
|
-
#
|
13
|
-
LOG4R_DEFAULT_PATTERN = [LogFormats::LOG4R_DEFAULT_REGEXP, LogFormats::LOG4R_DEFAULT_FIELDS].flatten
|
14
|
-
|
15
|
-
#
|
16
|
-
# NCSA Common Log Format log @pattern
|
17
|
-
#
|
18
|
-
COMMON_LOG_PATTERN = [LogFormats::COMMON_REGEXP, LogFormats::COMMON_FIELDS].flatten
|
19
|
-
|
20
|
-
#
|
21
|
-
# NCSA Combined Log Format log @pattern
|
22
|
-
#
|
23
|
-
COMBINED_LOG_PATTERN = [LogFormats::COMBINED_REGEXP, LogFormats::COMBINED_FIELDS].flatten
|
24
|
-
|
25
|
-
end
|