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
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
jasmine-3.99.0 lib/generators/jasmine/install/install_generator.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
jasmine-3.10.0 lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
jasmine-3.9.2 lib/generators/jasmine/install/install_generator.rb
jasmine-3.9.1 lib/generators/jasmine/install/install_generator.rb
jasmine-3.9.0 lib/generators/jasmine/install/install_generator.rb
jasmine-3.8.1 lib/generators/jasmine/install/install_generator.rb
jasmine-3.8.0 lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/install/install_generator.rb