Skip to content

Commit

Permalink
Move class files down into lib/slow_actions so that they don't get ad…
Browse files Browse the repository at this point in the history
…ded to the load path when client programs require rubygems.
  • Loading branch information
jtrupiano committed Jul 10, 2009
1 parent 9d540be commit 34ce168
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 13 deletions.
8 changes: 4 additions & 4 deletions lib/slow_actions.rb
@@ -1,8 +1,8 @@
# Main class for the slow actions plugin library # 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', 'slow_actions_parser')
require File.join(File.dirname(__FILE__), 'slow_actions_controller') require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_controller')
require File.join(File.dirname(__FILE__), 'slow_actions_action') require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_action')
require File.join(File.dirname(__FILE__), 'slow_actions_session') require File.join(File.dirname(__FILE__), 'slow_actions', 'slow_actions_session')
require 'date' require 'date'


# SlowActions class that is the master controller for processing slow actions # SlowActions class that is the master controller for processing slow actions
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 34 additions & 9 deletions slow-actions.gemspec
Expand Up @@ -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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nick Gauthier"] s.authors = ["Nick Gauthier"]
s.date = %q{2009-03-13} s.date = %q{2009-07-10}
s.default_executable = %q{slow-actions} 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.email = %q{nick@smartlogicsolutions.com}
s.executables = ["slow-actions"] s.executables = ["slow-actions"]
s.extra_rdoc_files = ["README.rdoc", "LICENSE"] s.extra_rdoc_files = [
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"] "LICENSE",
s.has_rdoc = true "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.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.require_paths = ["lib"]
s.rubygems_version = %q{1.3.1} s.rubygems_version = %q{1.3.4}
s.summary = %q{TODO} 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 if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION 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 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else else
Expand Down

0 comments on commit 34ce168

Please sign in to comment.