Sha256: 0cbdb58131d46b45cf1b62771317f2fbffe81f64c80bf448c85fadf3dbef4be3

Contents?: true

Size: 467 Bytes

Versions: 3

Compression:

Stored size: 467 Bytes

Contents

module KalturaBox
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates",__FILE__)
      desc "Copies the KalturaBox config file and upload JS to your app."

      def copy_config
        copy_file "kaltura_box.rb", "config/initializers/kaltura_box.rb"
      end

      def copy_javascript
        copy_file "kaltura_upload.js", "public/javascripts/kaltura_upload.js"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaltura_box-0.0.3 lib/generators/kaltura_box/install_generator.rb
kaltura_box-0.0.2 lib/generators/kaltura_box/install_generator.rb
kaltura_box-0.0.1 lib/generators/kaltura_box/install_generator.rb