Sha256: 29fc771836adc46d6f3e2521f208cce489b2457d920fe38b596688748f91aa80

Contents?: true

Size: 388 Bytes

Versions: 53

Compression:

Stored size: 388 Bytes

Contents

require 'rails/generators'

module XapianDb
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      desc "Creates a beanstalk worker script."

      def copy_script
        copy_file "beanstalk_worker", "script/beanstalk_worker"
        chmod "script/beanstalk_worker", 0755
      end

    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
xapian_db-1.3.15 lib/generators/install_generator.rb
xapian_db-1.3.14 lib/generators/install_generator.rb
xapian_db-1.3.13 lib/generators/install_generator.rb
xapian_db-1.3.12 lib/generators/install_generator.rb
xapian_db-1.3.11 lib/generators/install_generator.rb
xapian_db-1.3.10 lib/generators/install_generator.rb
xapian_db-1.3.9 lib/generators/install_generator.rb
xapian_db-1.3.8 lib/generators/install_generator.rb
xapian_db-1.3.7.4 lib/generators/install_generator.rb
xapian_db-1.3.7.3 lib/generators/install_generator.rb
xapian_db-1.3.7.2 lib/generators/install_generator.rb
xapian_db-1.3.7.1 lib/generators/install_generator.rb
xapian_db-1.3.7 lib/generators/install_generator.rb
xapian_db-1.3.5.4 lib/generators/install_generator.rb
xapian_db-1.3.5.3 lib/generators/install_generator.rb
xapian_db-1.3.5.2 lib/generators/install_generator.rb
xapian_db-1.3.5.1 lib/generators/install_generator.rb
xapian_db-1.3.5 lib/generators/install_generator.rb
xapian_db-1.3.4 lib/generators/install_generator.rb
xapian_db-1.3.3.1 lib/generators/install_generator.rb