Sha256: 7f82ae5e8825bbe51b8d4789e9ecff4b2699e3d334f7634d2437d26a7b00c57b

Contents?: true

Size: 273 Bytes

Versions: 19

Compression:

Stored size: 273 Bytes

Contents

class ForgeCLI::DispatchPostHooks < ForgeCLI::PostHooks
  def run!
    STDOUT.puts "Adding routes..."
    ri = ForgeCLI::RouteInstaller.new(@app, module_path)
    ri.install_routes
    ri.install_routes(:forge)
  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/dispatches/post_hooks.rb
forge-cli-0.1.9 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.8 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.7 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.6 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.5 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.4 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.3 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.2 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.1 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.1.0 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.18 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.17 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.16 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.15 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.14 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.13 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.12 lib/forge-cli/modules/dispatches/post_hooks.rb
forge-cli-0.0.11 lib/forge-cli/modules/dispatches/post_hooks.rb