Sha256: fee7248fbe923feb311f8b463c57502083f9ad9d75850661ec4ee888f1a67295

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

require 'rails/generators'

module PodloveWebPlayerRails
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy files needed for flash and silverlight fallback"
      source_root File.expand_path('../templates', __FILE__)

      def copy_files
        copy_file "flashmediaelement.swf", "public/static/flashmediaelement.swf"
        copy_file "silverlightmediaelement.xap", "public/static/silverlightmediaelement.xap"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
podlove-web-player-rails-2.0.17 lib/podlove-web-player-rails/generators/install_generator.rb
podlove-web-player-rails-1.2.3 lib/podlove-web-player-rails/generators/install_generator.rb
podlove-web-player-rails-1.2.2 lib/podlove-web-player-rails/generators/install_generator.rb