Module: Spaarti

Defined in:
lib/spaarti.rb,
lib/spaarti/repo.rb,
lib/spaarti/site.rb,
lib/spaarti/version.rb

Overview

Set the version (needed for Mercenary -v)

Defined Under Namespace

Classes: Repo, Site

Constant Summary collapse

DEFAULT_OPTIONS =
{
  base_path: './',
  auth_file: :default,
  config_file: File.expand_path('~/.spaarti.yml'),
  exclude: [],
  formats: [{ path: '%<full_name>s' }],
  git_config: {},
  quiet: false,
  purge: false,
  url_type: 'ssh',
  api_endpoint: nil
}.freeze
VERSION =
'3.0.0'

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

Insert a helper .new() method for creating a new Site object



8
9
10
# File 'lib/spaarti.rb', line 8

def new(*args)
  self::Site.new(*args)
end