Sha256: d6aed254fd0e4fec7947c8a021bee43dacea64b63ef1c28ee210821f1f740bb8

Contents?: true

Size: 279 Bytes

Versions: 58

Compression:

Stored size: 279 Bytes

Contents

module SunspotRails
  module Generators
    class Base < Rails::Generators::NamedBase
      def self.source_root
        @_sunspot_rails_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'sunspot_rails', generator_name, 'templates'))
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 11 rubygems

Version Path
sunspot_rails-2.7.1 lib/generators/sunspot_rails.rb
sunspot_rails-2.7.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.6.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.5.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.4.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.3.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.8 lib/generators/sunspot_rails.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/sunspot_rails-2.2.7/lib/generators/sunspot_rails.rb
sunspot_rails-2.2.7 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.6 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.5 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.4 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.3 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.2 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.1 lib/generators/sunspot_rails.rb
sunspot_rails-2.2.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.1.1 lib/generators/sunspot_rails.rb
sunspot_rails-2.1.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.0.0 lib/generators/sunspot_rails.rb
sunspot_rails-2.0.0.pre.130115 lib/generators/sunspot_rails.rb