Sha256: e00500c1c6a38078e78b311d58e046479ddcaca1bde0df41f5282ef57b393ede

Contents?: true

Size: 837 Bytes

Versions: 16

Compression:

Stored size: 837 Bytes

Contents

# encoding: utf-8

require 'fileutils'
require 'adhearsion/script_ahn_loader'
require 'thor'
require 'adhearsion/generators/controller/controller_generator'
require 'adhearsion/generators/plugin/plugin_generator'
Adhearsion::Generators.add_generator :controller, Adhearsion::Generators::ControllerGenerator
Adhearsion::Generators.add_generator :plugin, Adhearsion::Generators::PluginGenerator

# @private
class Thor
  class Task
    protected

    def sans_backtrace(backtrace, caller)
      saned  = backtrace.reject { |frame| frame =~ FILE_REGEXP || (frame =~ /\.java:/ && RUBY_PLATFORM =~ /java/) }
      saned -= caller
    end
  end
end

module Adhearsion
  module CLI
    require 'adhearsion/cli_commands/plugin_command'
    require 'adhearsion/cli_commands/ahn_command'
    require 'adhearsion/cli_commands/thor_errors'
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
adhearsion-2.6.4 lib/adhearsion/cli_commands.rb
adhearsion-2.6.3 lib/adhearsion/cli_commands.rb
adhearsion-3.0.0.rc1 lib/adhearsion/cli_commands.rb
adhearsion-3.0.0.beta2 lib/adhearsion/cli_commands.rb
adhearsion-3.0.0.beta1 lib/adhearsion/cli_commands.rb
adhearsion-2.6.2 lib/adhearsion/cli_commands.rb
adhearsion-2.6.1 lib/adhearsion/cli_commands.rb
adhearsion-2.6.0 lib/adhearsion/cli_commands.rb
adhearsion-2.5.4 lib/adhearsion/cli_commands.rb
adhearsion-2.5.3 lib/adhearsion/cli_commands.rb
adhearsion-2.5.2 lib/adhearsion/cli_commands.rb
adhearsion-2.5.0 lib/adhearsion/cli_commands.rb
adhearsion-2.4.0 lib/adhearsion/cli_commands.rb
adhearsion-2.4.0.beta3 lib/adhearsion/cli_commands.rb
adhearsion-2.4.0.beta2 lib/adhearsion/cli_commands.rb
adhearsion-2.4.0.beta1 lib/adhearsion/cli_commands.rb