Module: Devformance
- Defined in:
- lib/devformance.rb,
lib/devformance/engine.rb,
lib/devformance/version.rb,
app/models/devformance/run.rb,
lib/devformance/log_writer.rb,
lib/devformance/test_helper.rb,
lib/devformance/compatibility.rb,
lib/devformance/coverage_setup.rb,
lib/devformance/run_orchestrator.rb,
lib/devformance/sql_instrumentor.rb,
app/models/devformance/slow_query.rb,
lib/devformance/bullet_log_parser.rb,
app/models/devformance/file_result.rb,
lib/devformance/test_framework/base.rb,
app/jobs/devformance/file_runner_job.rb,
lib/devformance/test_framework/rspec.rb,
lib/devformance/test_framework/detector.rb,
lib/devformance/test_framework/minitest.rb,
lib/devformance/test_framework/registry.rb,
app/channels/devformance/metrics_channel.rb,
app/controllers/devformance/icons_controller.rb,
app/controllers/devformance/metrics_controller.rb,
lib/devformance/test_framework/coverage_helper.rb,
app/controllers/devformance/playground_controller.rb,
app/controllers/devformance/application_controller.rb,
lib/generators/devformance/install/install_generator.rb
Defined Under Namespace
Modules: BulletLogParser, Compatibility, Generators, PerformanceHelpers, TestFramework, TestHelper
Classes: ApplicationController, Configuration, CoverageSetup, Engine, FileResult, FileRunnerJob, IconsController, LogWriter, MetricsChannel, MetricsController, PlaygroundController, Run, RunOrchestrator, SlowQuery, SqlInstrumentor
Constant Summary
collapse
- Version =
"0.1.0"
- DevformanceChannel =
MetricsChannel
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
65
66
67
|
# File 'lib/devformance.rb', line 65
def configuration
@configuration ||= Configuration.new
end
|
.log_path ⇒ Object
73
74
75
76
77
78
79
80
|
# File 'lib/devformance.rb', line 73
def log_path
if defined?(Rails) && Rails.root
Rails.root.join(configuration.log_file_path)
else
Pathname.new(configuration.log_file_path)
end
end
|
.setup {|configuration| ... } ⇒ Object
69
70
71
|
# File 'lib/devformance.rb', line 69
def setup
yield(configuration)
end
|