logworm_amqp 0.9.3 → 0.9.4

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v.9.4
2
+ Minor timeout changes to production environment
3
+
1
4
  v0.9.3
2
5
  Initial support for Rails 3. Based on Rack.
3
6
  Only include Rails package is Rails < 3.0.0
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'echoe'
2
- Echoe.new('logworm_amqp', '0.9.3') do |p|
2
+ Echoe.new('logworm_amqp', '0.9.4') do |p|
3
3
  p.description = "logworm - logging service"
4
4
  p.url = "http://www.logworm.com"
5
5
  p.author = "Pomelo, LLC"
data/lib/client/rack.rb CHANGED
@@ -10,7 +10,7 @@ module Logworm
10
10
  @log_headers = (options[:log_headers] and options[:log_headers] == true)
11
11
  @dev_logging = (options[:log_in_development] and options[:log_in_development] == true)
12
12
  Logger.use_default_db
13
- @timeout = 1
13
+ @timeout = (ENV['RACK_ENV'] == 'production' ? 1 : 5)
14
14
  end
15
15
 
16
16
  def call(env)
data/lib/client/rails.rb CHANGED
@@ -13,7 +13,7 @@ if defined?(ActionController) and Rails::VERSION::STRING and Rails::VERSION::STR
13
13
  @@log_requests = true
14
14
  @@log_headers = false
15
15
  @@dev_logging = false
16
- @@timeout = 1
16
+ @@timeout = (RAILS_ENV == 'production' ? 1 : 5)
17
17
  Logworm::Logger.use_default_db
18
18
 
19
19
  ###
data/logworm_amqp.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{logworm_amqp}
5
- s.version = "0.9.3"
5
+ s.version = "0.9.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Pomelo, LLC"]
9
- s.date = %q{2010-08-17}
9
+ s.date = %q{2010-08-18}
10
10
  s.description = %q{logworm - logging service}
11
11
  s.email = %q{schapira@pomelollc.com}
12
12
  s.executables = ["lw-compute", "lw-tail"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logworm_amqp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 3
10
- version: 0.9.3
9
+ - 4
10
+ version: 0.9.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pomelo, LLC
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-17 00:00:00 -04:00
18
+ date: 2010-08-18 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency