Sha256: 3e90e9417b47dd4bb6a443344d46cc1a8180e924d59aa50479d7b1ae46df6b43

Contents?: true

Size: 663 Bytes

Versions: 10

Compression:

Stored size: 663 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'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
paloma-1.2.6 lib/paloma.rb
paloma-1.2.5 lib/paloma.rb
paloma-1.2.4 lib/paloma.rb
paloma-1.2.3 lib/paloma.rb
paloma-1.2.2 lib/paloma.rb
paloma-1.2.1 lib/paloma.rb
paloma-1.2.0 lib/paloma.rb
paloma-0.0.8 lib/paloma.rb
paloma-0.0.7 lib/paloma.rb
paloma-0.0.6 lib/paloma.rb