Sha256: 2aefd335660b16f2e129549a6c4fda4aa35f6201e155a8fd63830abaa0290882

Contents?: true

Size: 676 Bytes

Versions: 6

Compression:

Stored size: 676 Bytes

Contents

require 'rails_generator'
require 'shenandoah/rails/locator'

module Shenandoah
  module Generators
    class ShenandoahGenerator < ::Rails::Generator::Base
      def manifest
        spec_path = Shenandoah::Rails::Locator.new.spec_path.sub %r{^#{RAILS_ROOT}/}, ''
        record do |m|
          m.directory "lib/tasks"
          m.file "shenandoah.rake", "lib/tasks/shenandoah.rake"
          
          m.directory spec_path
          m.file "spec_helper.js", "#{spec_path}/spec_helper.js"
          m.file "application_spec.js", "#{spec_path}/application_spec.js"
          m.file "application.html", "#{spec_path}/application.html"
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rsutphin-shenandoah-0.1.0 rails_generators/shenandoah/shenandoah_generator.rb
rsutphin-shenandoah-0.1.1 rails_generators/shenandoah/shenandoah_generator.rb
rsutphin-shenandoah-0.1.2 rails_generators/shenandoah/shenandoah_generator.rb
shenandoah-0.1.0 rails_generators/shenandoah/shenandoah_generator.rb
shenandoah-0.1.1 rails_generators/shenandoah/shenandoah_generator.rb
shenandoah-0.1.2 rails_generators/shenandoah/shenandoah_generator.rb