Sha256: c742dc583219d4b7604c1fb53493ac70d1c67071a992a30d2a759c4666e72ba1

Contents?: true

Size: 327 Bytes

Versions: 8

Compression:

Stored size: 327 Bytes

Contents

#!/usr/bin/env ruby

require 'baton/<%= config[:name] %>'

Baton.configure do |c|
  c.config_path  = "<%= File.join(Dir.pwd, config[:name], 'config', config[:name]) %>.cfg"
  c.exchange     = "<%= config[:name] %>_in"
  c.exchange_out = "<%= config[:name] %>_out"
end

Baton::<%= config[:constant_array].last %>Service.new.run

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
baton-0.4.10 lib/baton/templates/gem/bin/gem.tt
baton-0.4.9 lib/baton/templates/gem/bin/gem.tt
baton-0.4.8 lib/baton/templates/gem/bin/gem.tt
baton-0.4.5 lib/baton/templates/gem/bin/gem.tt
baton-0.4.4 lib/baton/templates/gem/bin/gem.tt
baton-0.4.3 lib/baton/templates/gem/bin/gem.tt
baton-0.4.2 lib/baton/templates/gem/bin/gem.tt
baton-0.4.1 lib/baton/templates/gem/bin/gem.tt