Sha256: 5b655995b5a3e75d01b23b483a343e12021b08a92153705a130ccbc98e078061

Contents?: true

Size: 342 Bytes

Versions: 19

Compression:

Stored size: 342 Bytes

Contents

class ForgeCLI::EventPostHooks < ForgeCLI::PostHooks
  def run!
    STDOUT.puts "Adding routes..."
    ri = ForgeCLI::RouteInstaller.new(@app, module_path)
    ri.install_routes
    ri.install_routes(:forge)

    STDOUT.puts "Adding config requires..."
    require_addon(:events)
  end


  def module_path
    File.dirname(__FILE__)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.9 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.8 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.7 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.6 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.5 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.4 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.3 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.2 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.1 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.1.0 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.18 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.17 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.16 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.15 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.14 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.13 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.12 lib/forge-cli/modules/events/post_hooks.rb
forge-cli-0.0.11 lib/forge-cli/modules/events/post_hooks.rb