Sha256: 868a113bb5e4aca4cd9dbd548c3c6c519f2dd32c55f52e19e8d5eb8a47abb450

Contents?: true

Size: 513 Bytes

Versions: 138

Compression:

Stored size: 513 Bytes

Contents

require 'generators/saucy/base'
require 'rails/generators/active_record/migration'

module Saucy
  module Generators
    class ViewsGenerator < Base
      include Rails::Generators::Migration
      extend ActiveRecord::Generators::Migration

      desc <<-DESC
Description:
    Copy saucy views to your application.
DESC


      def copy_views
        views_path = File.join(File.dirname(File.expand_path(__FILE__)), '../../../../app/views')
        directory views_path, 'app/views'
      end
    end
  end
end

Version data entries

138 entries across 138 versions & 2 rubygems

Version Path
saucy-0.12.2 lib/generators/saucy/views/views_generator.rb
saucy-0.12.1 lib/generators/saucy/views/views_generator.rb
saucy-0.12.0 lib/generators/saucy/views/views_generator.rb
saucy-0.11.5 lib/generators/saucy/views/views_generator.rb
saucy-0.11.3 lib/generators/saucy/views/views_generator.rb
saucy-0.11.2 lib/generators/saucy/views/views_generator.rb
saucy-0.10.7 lib/generators/saucy/views/views_generator.rb
saucy-0.10.6 lib/generators/saucy/views/views_generator.rb
saasy-0.0.2.alpha3 lib/generators/saucy/views/views_generator.rb
saasy-0.0.2.alpha2 lib/generators/saucy/views/views_generator.rb
saasy-0.0.2.alpha1 lib/generators/saucy/views/views_generator.rb
saucy-0.10.5 lib/generators/saucy/views/views_generator.rb
saucy-0.10.4 lib/generators/saucy/views/views_generator.rb
saucy-0.10.3 lib/generators/saucy/views/views_generator.rb
saucy-0.10.2 lib/generators/saucy/views/views_generator.rb
saucy-0.10.1 lib/generators/saucy/views/views_generator.rb
saucy-0.10.0 lib/generators/saucy/views/views_generator.rb
saucy-0.9.1 lib/generators/saucy/views/views_generator.rb
saucy-0.9.0 lib/generators/saucy/views/views_generator.rb
saucy-0.8.5 lib/generators/saucy/views/views_generator.rb