Sha256: 058a4a9c62dbc42cb516ab9f0a78ab8efef7d1363f5dacac6bf707b44425bc42

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

require 'rails'
if ::Rails.version >= "3.1"
  module Jasminerice::Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def copy_files
        copy_file "spec.js.coffee", "spec/javascripts/spec.js.coffee"
        copy_file 'foo_spec.js.coffee', 'spec/javascripts/foo_spec.js.coffee'
        copy_file 'spec.css', 'spec/javascripts/spec.css'
        copy_file 'baz.html.haml', 'spec/javascripts/fixtures/baz.html.haml'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jasminerice-0.0.10 lib/generators/jasminerice/install_generator.rb