Sha256: e3ec9a51c3161a5d464b62267ed8c9e176cb67c7f935597f4fbd8dad4f38db4d

Contents?: true

Size: 607 Bytes

Versions: 2

Compression:

Stored size: 607 Bytes

Contents

require "commander/import"
require "pave/version"
require "pave/shell"
require "pave/concrete"
require "pave/database"
require "pave/files"
require "pave/virtual_host"
require "pave/remote"
require "pave/theme"
require "pave/reload"

module Pave
  def update
    say "Updating pave..."
    `gem update pave`
    ($? == 0) ? (say "Updated") : (say "Update failed. Run `gem update pave` manually.")
    say `pave --version`
  end
  module_function :update

  def template_folder
    script = File.join(File.expand_path("../", File.dirname(__FILE__)), "templates")
  end
  module_function :template_folder
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pave-0.9.0 lib/pave.rb
pave-0.8.0 lib/pave.rb