Sha256: cda3f29b51e9ee066793b0eb65b8c4a6b911610e7c28797120105ddd705e51be

Contents?: true

Size: 363 Bytes

Versions: 106

Compression:

Stored size: 363 Bytes

Contents

module Jasmine
  module Generators
    class InstallGenerator < Rails::Generators::Base

      def self.source_root
        @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
      end

      def copy_spec_files
        directory 'spec'
      end

      def app_name
        Rails.application.class.name
      end
    end
  end
end

Version data entries

106 entries across 91 versions & 5 rubygems

Version Path
jasmine-2.5.1 lib/generators/jasmine/install/install_generator.rb
jasmine-2.5.0 lib/generators/jasmine/install/install_generator.rb
tdiary-5.0.1 vendor/bundle/gems/jasmine-2.4.0/lib/generators/jasmine/install/install_generator.rb
jasmine-2.4.0 lib/generators/jasmine/install/install_generator.rb
jasmine-2.3.1 lib/generators/jasmine/install/install_generator.rb
jasmine-2.3.0 lib/generators/jasmine/install/install_generator.rb
jasmine-2.2.0 lib/generators/jasmine/install/install_generator.rb
jasmine-2.1.0 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.3 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.2 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.1 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.0 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.0.rc5 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.0.rc4 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.0.rc3 lib/generators/jasmine/install/install_generator.rb
jasmine-2.0.0.rc2 lib/generators/jasmine/install/install_generator.rb
rally-jasmine-1.2.0.18 lib/generators/jasmine/install/install_generator.rb
rally-jasmine-1.2.0.12 lib/generators/jasmine/install/install_generator.rb
rally-jasmine-1.2.0.11 lib/generators/jasmine/install/install_generator.rb
jasmine-multi_json-1.3.2.1 lib/generators/jasmine/install/install_generator.rb