Sha256: fd1d3d307c5ef3c4967b98a8ac30e57f96c999f0b3fd2cd691acb972435b8d8c

Contents?: true

Size: 883 Bytes

Versions: 1

Compression:

Stored size: 883 Bytes

Contents

require 'refinerycms-vimeo-videos/version'

module Refinery
  module VimeoVideos
    
    autoload :URLTempfile,            'refinerycms-vimeo-videos/url_tempfile.rb'
    autoload :Account,                'refinerycms-vimeo-videos/account.rb'
    
    class Engine < Rails::Engine
      initializer "static assets" do |app|
        app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
      end
            
      config.after_initialize do
        Refinery::Plugin.register do |plugin|
          plugin.pathname = root
          plugin.version = Refinery::VimeoVideos::VERSION
          plugin.name = "vimeo_videos"
          plugin.hide_from_menu = true
        end
      end
    end
  end
end

require 'refinerycms-vimeo-videos/active_record.rb'

module ActiveRecord
  class Base
    extend Refinery::VimeoVideos::ActiveRecord
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-vimeo-videos-0.1.9.rc1 lib/refinerycms-vimeo-videos.rb