Module: CommandProposal
- Defined in:
- lib/command_proposal/services/command_interpreter.rb,
lib/command_proposal.rb,
lib/command_proposal/engine.rb,
lib/command_proposal/version.rb,
lib/command_proposal/configuration.rb,
lib/command_proposal/services/runner.rb,
lib/command_proposal/services/shut_down.rb,
app/helpers/command_proposal/icons_helper.rb,
app/jobs/command_proposal/application_job.rb,
app/jobs/command_proposal/command_runner_job.rb,
app/helpers/command_proposal/application_helper.rb,
app/helpers/command_proposal/permissions_helper.rb,
app/models/command_proposal/service/json_wrapper.rb,
app/controllers/command_proposal/engine_controller.rb,
app/models/command_proposal/service/external_belong.rb,
app/models/command_proposal/service/proposal_presenter.rb,
lib/generators/command_proposal/install/install_generator.rb
Overview
require_relative “command_proposal/permissions_helper”
Defined Under Namespace
Modules: ApplicationHelper, Generators, IconsHelper, ParamsHelper, PermissionsHelper, Service, Services
Classes: ApplicationJob, CommandRunnerJob, Comment, Configuration, Engine, EngineController, Error, Iteration, IterationsController, RunnerController, Task, TasksController
Constant Summary
collapse
10
- VERSION =
"1.0.19"
Class Method Summary
collapse
Class Method Details
.clear_sessions ⇒ Object
15
16
17
|
# File 'lib/command_proposal.rb', line 15
def self.clear_sessions
@sessions = {}
end
|
33
34
35
|
# File 'lib/command_proposal.rb', line 33
def self.configure
yield(configuration)
end
|
.engine_name ⇒ Object
27
28
29
30
31
|
# File 'lib/command_proposal.rb', line 27
def self.engine_name
@engine_name ||= begin
`bundle exec rails routes | grep command_proposal_engine`.to_s[/\w*command_proposal_engine/]
end || "command_proposal_engine"
end
|
.sessions ⇒ Object
11
12
13
|
# File 'lib/command_proposal.rb', line 11
def self.sessions
@sessions ||= {}
end
|