ntail 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.1.0
@@ -29,6 +29,7 @@ class SearchBot < Agent
29
29
  # Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
30
30
  # ClickTale bot
31
31
  # "Mozilla/5.0 (compatible; MSIE 7.0; MSIE 6.0; ScanAlert; +http://www.scanalert.com/bot.jsp) Firefox/2.0.0.3"
32
+ # "HTTP-Monitor/1.1"
32
33
  #
33
34
 
34
35
  KNOWN_SEARCH_BOTS = [
@@ -42,6 +43,7 @@ class SearchBot < Agent
42
43
  BING_BOT = Regexp.compile('bingbot\/'),
43
44
  CLICKTALE_BOT = Regexp.compile('ClickTale bot'),
44
45
  SCANALERT_BOT = Regexp.compile('ScanAlert; '),
46
+ STINGRAY_BOT = Regexp.compile('HTTP-Monitor/\..\."')
45
47
  ]
46
48
 
47
49
  def self.search_bot?(http_user_agent)
@@ -68,6 +70,7 @@ class SearchBot < Agent
68
70
  when BING_BOT then :bingbot
69
71
  when CLICKTALE_BOT then :clicktale_bot
70
72
  when SCANALERT_BOT then :scanalert_bot
73
+ when STINGRAY_BOT then :stingray_bot
71
74
  else super(string)
72
75
  end
73
76
  end
@@ -83,6 +86,7 @@ class SearchBot < Agent
83
86
  when BING_BOT then :"bing.com"
84
87
  when CLICKTALE_BOT then :"clicktale.com"
85
88
  when SCANALERT_BOT then :"mcafeesecure.com"
89
+ when STINGRAY_BOT then :"riverbed.com"
86
90
  else super(string)
87
91
  end
88
92
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ntail"
8
- s.version = "1.0.2"
8
+ s.version = "1.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Vandenberk"]
12
- s.date = "2013-12-20"
12
+ s.date = "2014-01-02"
13
13
  s.description = "A tail(1)-like utility for nginx log files. It supports parsing, filtering and formatting individual log lines."
14
14
  s.email = "pvandenberk@mac.com"
15
15
  s.executables = ["ntail"]
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.0.2
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-20 00:00:00.000000000 Z
12
+ date: 2014-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rainbow
@@ -294,7 +294,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
294
  version: '0'
295
295
  segments:
296
296
  - 0
297
- hash: 696242616465862469
297
+ hash: -213083052796415738
298
298
  required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  none: false
300
300
  requirements: