Permalink
Browse files

Move class files down into lib/slow_actions so that they don't get ad…

…ded to the load path when client programs require rubygems.
  • Loading branch information...
1 parent 9d540be commit 34ce168842f5c76d084f0f22ecf13ffdd6ada51c @jtrupiano committed Jul 10, 2009
View
@@ -1,8 +1,8 @@
# Main class for the slow actions plugin library
-require File.join(File.dirname(__FILE__), 'slow_actions_parser')
-require File.join(File.dirname(__FILE__), 'slow_actions_controller')
-require File.join(File.dirname(__FILE__), 'slow_actions_action')
-require File.join(File.dirname(__FILE__), 'slow_actions_session')
+require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_parser')
+require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_controller')
+require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_action')
+require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_session')
require 'date'
# SlowActions class that is the master controller for processing slow actions
View
@@ -6,23 +6,48 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nick Gauthier"]
- s.date = %q{2009-03-13}
+ s.date = %q{2009-07-10}
s.default_executable = %q{slow-actions}
- s.description = %q{TODO}
+ s.description = %q{Inspect a rails application's log file to find slow actions}
s.email = %q{nick@smartlogicsolutions.com}
s.executables = ["slow-actions"]
- s.extra_rdoc_files = ["README.rdoc", "LICENSE"]
- s.files = ["VERSION.yml", "README.rdoc", "bin/slow-actions", "lib/slow_actions_controller.rb", "lib/slow_actions_action.rb", "lib/slow_actions_parser.rb", "lib/slow_actions_log_entry.rb", "lib/slow_actions.rb", "lib/slow_actions_session.rb", "lib/slow_actions_computation_module.rb", "test/test_helper.rb", "test/data", "test/data/development.log", "test/data/production.recent.log", "test/slow_actions_benchmark_test.rb", "test/slow_actions_test.rb", "LICENSE"]
- s.has_rdoc = true
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ "README.rdoc",
+ "VERSION.yml",
+ "bin/slow-actions",
+ "lib/slow_actions.rb",
+ "lib/slow_actions/slow_actions_action.rb",
+ "lib/slow_actions/slow_actions_computation_module.rb",
+ "lib/slow_actions/slow_actions_controller.rb",
+ "lib/slow_actions/slow_actions_log_entry.rb",
+ "lib/slow_actions/slow_actions_parser.rb",
+ "lib/slow_actions/slow_actions_session.rb",
+ "test/data/development.log",
+ "test/data/production.recent.log",
+ "test/slow_actions_benchmark_test.rb",
+ "test/slow_actions_parser_test.rb",
+ "test/slow_actions_test.rb",
+ "test/test_helper.rb"
+ ]
s.homepage = %q{http://github.com/ngauthier/slow-actions}
- s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
+ s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.1}
- s.summary = %q{TODO}
+ s.rubygems_version = %q{1.3.4}
+ s.summary = %q{Inspect a rails application's log file to find slow actions}
+ s.test_files = [
+ "test/slow_actions_benchmark_test.rb",
+ "test/slow_actions_parser_test.rb",
+ "test/slow_actions_test.rb",
+ "test/test_helper.rb"
+ ]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 2
+ s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else

0 comments on commit 34ce168

Please sign in to comment.