Module: Djin
- Defined in:
- lib/djin.rb,
lib/djin/cli.rb,
lib/djin/version.rb,
lib/djin/executor.rb,
lib/djin/interpreter.rb,
lib/djin/memory_cache.rb,
lib/djin/config_loader.rb,
lib/djin/entities/task.rb,
lib/djin/task_contract.rb,
lib/djin/entities/types.rb,
lib/djin/root_cli_parser.rb,
lib/djin/entities/file_config.rb,
lib/djin/extensions/hash_extensions.rb,
lib/djin/extensions/object_extensions.rb,
lib/djin/interpreter/base_command_builder.rb,
lib/djin/interpreter/local_command_builder.rb,
lib/djin/interpreter/docker_command_builder.rb,
lib/djin/interpreter/docker_compose_command_builder.rb
Defined Under Namespace
Modules: HashExtensions, ObjectExtensions, Types
Classes: CLI, ConfigLoader, Error, Executor, FileConfig, Interpreter, MemoryCache, RootCliParser, Task, TaskContract
Constant Summary
collapse
- VERSION =
'0.10.0'
Class Method Summary
collapse
Class Method Details
.cache ⇒ Object
58
59
60
|
# File 'lib/djin.rb', line 58
def self.cache
@cache ||= MemoryCache.new
end
|
.load_tasks!(*file_paths) ⇒ Object
.root_path ⇒ Object
62
63
64
|
# File 'lib/djin.rb', line 62
def self.root_path
Pathname.new File.expand_path(File.dirname(__FILE__) + '/..')
end
|
.task_repository ⇒ Object
54
55
56
|
# File 'lib/djin.rb', line 54
def self.task_repository
@task_repository ||= TaskRepository.new
end
|
.tasks ⇒ Object
50
51
52
|
# File 'lib/djin.rb', line 50
def self.tasks
task_repository.all
end
|