ntail 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ntail/options.rb +4 -0
- data/ntail.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/ntail/options.rb
CHANGED
@@ -15,6 +15,10 @@ module NginxTail
|
|
15
15
|
options.verbose = true
|
16
16
|
end
|
17
17
|
|
18
|
+
opts.on '--format FORMAT_STRING', "Set the format string to use when outputting parsed log lines" do |value|
|
19
|
+
NginxTail::LogLine.format = value
|
20
|
+
end
|
21
|
+
|
18
22
|
opts.on '--filter', '-f CODE', "Ruby code block for filtering (parsed) lines - needs to return true or false." do |value|
|
19
23
|
options.filter = value
|
20
24
|
end
|
data/ntail.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ntail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -294,7 +294,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
segments:
|
296
296
|
- 0
|
297
|
-
hash:
|
297
|
+
hash: 4093058518126792393
|
298
298
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
299
299
|
none: false
|
300
300
|
requirements:
|