joshuaclayton-watchtower 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require "rake/testtask"
3
3
  require "rake/rdoctask"
4
4
  require "echoe"
5
5
 
6
- Echoe.new("watchtower", "0.1.3") do |p|
6
+ Echoe.new("watchtower", "0.1.4") do |p|
7
7
  p.description = "An exception logger for Rails 2.3"
8
8
  p.url = "http://github.com/joshuaclayton/watchtower"
9
9
  p.author = "Joshua Clayton"
@@ -66,11 +66,15 @@ module Watchtower
66
66
  end
67
67
 
68
68
  def exception_classes
69
- all(:select => "DISTINCT exception_class", :order => "exception_class").collect(&:exception_class)
69
+ with_exclusive_scope do
70
+ all(:select => "DISTINCT exception_class", :order => "exception_class").collect(&:exception_class)
71
+ end
70
72
  end
71
73
 
72
74
  def controller_actions
73
- all(:select => "DISTINCT controller_action", :order => "controller_action").collect(&:controller_action)
75
+ with_exclusive_scope do
76
+ all(:select => "DISTINCT controller_action", :order => "controller_action").collect(&:controller_action)
77
+ end
74
78
  end
75
79
  end
76
80
 
data/watchtower.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{watchtower}
5
- s.version = "0.1.3"
5
+ s.version = "0.1.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 = ["Joshua Clayton"]
9
- s.date = %q{2009-05-18}
9
+ s.date = %q{2009-05-29}
10
10
  s.description = %q{An exception logger for Rails 2.3}
11
11
  s.email = %q{joshua.clayton@gmail.com}
12
12
  s.extra_rdoc_files = ["lib/watchtower/application_controller_base.rb", "lib/watchtower/controller_base.rb", "lib/watchtower/routes.rb", "lib/watchtower/watched_exception_base.rb", "lib/watchtower/watched_exceptions_presenter.rb", "lib/watchtower.rb", "README.textile", "tasks/watchtower_tasks.rake"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joshuaclayton-watchtower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Clayton
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-18 00:00:00 -07:00
12
+ date: 2009-05-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency