Sha256: 781d783be069ce182b90466648e6eb63d5d0e50794e6f659fb2427f0e32e8f7e

Contents?: true

Size: 527 Bytes

Versions: 7

Compression:

Stored size: 527 Bytes

Contents

# encoding: UTF-8

require 'anvil/version'
require 'active_support/core_ext'

# Main anvil module
module Anvil
  Error = Class.new(StandardError)

  class RepoNotClean < Error; end

  class << self
    def logger
      @logger ||= Logger.new(STDOUT).tap do |l|
        l.formatter = proc do |*_, msg|
          "#{msg}\n"
        end
      end
    end
  end
end

require 'anvil/config'
require 'anvil/cli'
require 'anvil/task'
require 'anvil/assure'
require 'anvil/assures/file_assure'
require 'anvil/assures/directory_assure'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anvil-core-0.4.1 lib/anvil.rb
anvil-core-0.4.0 lib/anvil.rb
anvil-core-0.3.2 lib/anvil.rb
anvil-core-0.3.1 lib/anvil.rb
anvil-core-0.3.0 lib/anvil.rb
anvil-core-0.2.0 lib/anvil.rb
anvil-core-0.1.0 lib/anvil.rb