Sha256: 3dd876caa93fbb11b19928c2617f7442eeeb500f8855f2cf0ba534d83d1eb834

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

# encoding: utf-8

require "pupu"
require "pupu/helpers"

Pupu.framework = :rango

def Pupu.environment
  Rango.environment
end

def Pupu.logger
  Rango.logger
end

Rango.after_boot(:register_pupu) do
  Pupu.root = Rango.root
  #Pupu.media_prefix = Project.settings.media_prefix
  #Pupu.media_root = Project.settings.media_root
  Rango::Helpers.send(:include, Pupu::Helpers)
  Rango.logger.info("Pupu plugin registered")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pupu-0.0.5.2 lib/pupu/adapters/rango.rb
pupu-0.0.5.1 lib/pupu/adapters/rango.rb
pupu-0.0.5 lib/pupu/adapters/rango.rb