Module: EmbulkJavundler

Defined in:
lib/embulk_javundler.rb,
lib/embulk_javundler/cli.rb,
lib/embulk_javundler/dsl.rb,
lib/embulk_javundler/runner.rb,
lib/embulk_javundler/version.rb,
lib/embulk_javundler/java_plugin.rb

Defined Under Namespace

Classes: Cli, Dsl, JavaPlugin, Runner

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.embulk_file_pathObject



5
6
7
# File 'lib/embulk_javundler.rb', line 5

def embulk_file_path
  @embulk_file_path
end

.embulk_file_path=(embulk_file_path) ⇒ Object



9
10
11
# File 'lib/embulk_javundler.rb', line 9

def embulk_file_path=(embulk_file_path)
  @embulk_file_path = embulk_file_path.absolute? ? embulk_file_path : embulk_file_path.expand_path
end

.install_dirObject



17
18
19
# File 'lib/embulk_javundler.rb', line 17

def install_dir
  @install_dir || root.join("plugins", "java")
end

.install_dir=(install_dir) ⇒ Object



21
22
23
# File 'lib/embulk_javundler.rb', line 21

def install_dir=(install_dir)
  @install_dir = root.join(install_dir)
end

.lock_file_pathObject



25
26
27
# File 'lib/embulk_javundler.rb', line 25

def lock_file_path
  root.join("Embulkfile.lock")
end

.rootObject



13
14
15
# File 'lib/embulk_javundler.rb', line 13

def root
  embulk_file_path.dirname
end