Sha256: 724acb768c3b1a479175623e0f774400b6bb13175133244c1440c359a52d5ffe

Contents?: true

Size: 740 Bytes

Versions: 7

Compression:

Stored size: 740 Bytes

Contents

module Paloma
  mattr_accessor :destination, :templates
  
  def self.root
    @paloma_root ||= "#{File.dirname(__FILE__)}/../"
  end
  
  
  def self.index_js
    @index_js ||= "#{Paloma.destination}/index.js"
  end
  
  
  def self.destination
    @destination ||= 'app/assets/javascripts/paloma'
  end
  
  
  def self.templates
    @templates ||= "#{Paloma.root}/app/templates"
  end
  
end

require 'action_controller/railtie'
require 'rails/generators'

# TODO: Rails version checking

require 'paloma/generators/add_generator'
require 'paloma/generators/setup_generator'
require 'paloma/action_controller_filters'
require 'paloma/action_controller_extension'
require 'paloma/rails/controller_generator'
require 'paloma/rails/engine'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paloma-2.0.6 lib/paloma.rb
paloma-2.0.5 lib/paloma.rb
paloma-2.0.4 lib/paloma.rb
paloma-2.0.3 lib/paloma.rb
paloma-2.0.2 lib/paloma.rb
paloma-2.0.1 lib/paloma.rb
paloma-2.0.0 lib/paloma.rb