trinidad_daemon_extension 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ require File.expand_path('../../trinidad-libs/trinidad-daemon-extension', __FILE
9
9
  module Trinidad
10
10
  module Extensions
11
11
  module Daemon
12
- VERSION = '0.1.2'
12
+ VERSION = '0.1.3'
13
13
  end
14
14
 
15
15
  class DaemonServerExtension < ServerExtension
@@ -26,6 +26,7 @@ module Trinidad
26
26
  level = log[:level] || 'INFO'
27
27
  unless %w{ALL CONFIG FINE FINER FINEST INFO OFF SEVERE WARNING}.include?(level)
28
28
  puts "Invalid log level #{level}, using default: INFO"
29
+ level = 'INFO'
29
30
  end
30
31
  log[:level] = level
31
32
  log = Hash[log.map{|k, v| [k.to_s, v]}]
@@ -53,7 +53,7 @@ describe Trinidad::Extensions::DaemonServerExtension do
53
53
 
54
54
  log = extension.logger_options
55
55
  log['file'].should == 'log/trinidad.log'
56
- log['level'].should == 'LEVEL'
56
+ log['level'].should == 'INFO'
57
57
  end
58
58
  end
59
59
 
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'trinidad_daemon_extension'
16
- s.version = '0.1.2'
17
- s.date = '2010-04-19'
16
+ s.version = '0.1.3'
17
+ s.date = '2010-04-22'
18
18
  s.rubyforge_project = 'trinidad_daemon_extension'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  ## a custom homepage, consider using your GitHub URL or the like.
28
28
  s.authors = ["David Calavera"]
29
29
  s.email = 'calavera@apache.org'
30
- s.homepage = 'http://github.com/trinidad/trinidad_daemon_extension'
30
+ s.homepage = 'http://github.com/calavera/trinidad_daemon_extension'
31
31
 
32
32
  ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
33
33
  ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Calavera
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-19 00:00:00 +02:00
17
+ date: 2010-04-22 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -78,7 +78,7 @@ files:
78
78
  - trinidad_daemon_extension.gemspec
79
79
  - trinidad-libs/trinidad-daemon-extension.jar
80
80
  has_rdoc: true
81
- homepage: http://github.com/trinidad/trinidad_daemon_extension
81
+ homepage: http://github.com/calavera/trinidad_daemon_extension
82
82
  licenses: []
83
83
 
84
84
  post_install_message: