request-log-analyzer 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module RequestLogAnalyzer
11
11
 
12
12
  # The current version of request-log-analyzer.
13
13
  # Do not change the value by hand; it will be updated automatically by the gem release script.
14
- VERSION = "1.5.0"
14
+ VERSION = "1.5.1"
15
15
 
16
16
  # Loads constants in the RequestLogAnalyzer namespace using self.load_default_class_file(base, const)
17
17
  # <tt>const</tt>:: The constant that is not yet loaded in the RequestLogAnalyzer namespace. This should be passed as a string or symbol.
@@ -7,6 +7,14 @@ module RequestLogAnalyzer::Output
7
7
  # super(io, options)
8
8
  # end
9
9
 
10
+ def colorize(text, *style)
11
+ if style.include?(:bold)
12
+ tag(:strong, text)
13
+ else
14
+ text
15
+ end
16
+ end
17
+
10
18
  # Print a string to the io object.
11
19
  def print(str)
12
20
  @io << str
@@ -2,8 +2,8 @@ Gem::Specification.new do |s|
2
2
  s.name = "request-log-analyzer"
3
3
 
4
4
  # Do not set the version and date field manually, this is done by the release script
5
- s.version = "1.5.0"
6
- s.date = "2009-11-18"
5
+ s.version = "1.5.1"
6
+ s.date = "2009-11-19"
7
7
 
8
8
  s.rubyforge_project = 'r-l-a'
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: request-log-analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willem van Bergen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-11-18 00:00:00 +01:00
13
+ date: 2009-11-19 00:00:00 +01:00
14
14
  default_executable: request-log-analyzer
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency