Sha256: 9a634203c7b847c90723ee36153edeb8060b65269ccb88824d229398230fea9a

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

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

    def create_scripts
      copy_file "script/dispatch_rider", "script/dispatch_rider"
      chmod 'script/dispatch_rider', 0755
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 lib/generators/dispatch_rider/install/install_generator.rb
dispatch-rider-2.0.0 lib/generators/dispatch_rider/install/install_generator.rb