log_parser_notifier 0.0.4 → 0.0.5
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.
- checksums.yaml +4 -4
- data/bin/log_parser_notifier +3 -1
- data/lib/log_parser_notifier/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95449b6a9352c49727c2c98767ae726617704bec
|
4
|
+
data.tar.gz: 505d4e48911465e389179ffc76ab43ce29f95f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9750ed89f239f2f4ad67372f9aaecbc07271c87a8e17df2bdc78e2370c8bcbc1eebf0e917849b67ed31e05d3edcfc0f021de036747f61e50d3c73a529a229e43
|
7
|
+
data.tar.gz: 7369783bce6d5c012ee6d804fc598a7e46ad3c9da424fc938b0b1b0dd8d5e41963a9ce91ccd8ee2ea080623b0f7191659307d642e818047fdbff352d3a5c530b
|
data/bin/log_parser_notifier
CHANGED
@@ -6,7 +6,7 @@ trap 'SIGINT' do
|
|
6
6
|
exit 130
|
7
7
|
end
|
8
8
|
|
9
|
-
opts = Slop.parse do |o|
|
9
|
+
opts = Slop.parse! do |o|
|
10
10
|
o.banner = 'usage: lib_parser_notifier [options] file_name'
|
11
11
|
o.on :c, :check_interval=, 'check interval (in minutes)', default: 5, as: Integer
|
12
12
|
o.on :verbose, 'enable verbose mode'
|
@@ -32,6 +32,8 @@ end
|
|
32
32
|
|
33
33
|
require File.join(File.dirname(__FILE__), '..', 'lib', 'log_parser_notifier')
|
34
34
|
|
35
|
+
puts ARGV.inspect
|
36
|
+
|
35
37
|
request_notifier = LogParserNotifier::RailsRequestNotifier.new(ARGV.first)
|
36
38
|
|
37
39
|
while true
|