Sha256: eb2916634deacb68d616db6a14ebe6fade40983e02932d7933d02e18fdd18844

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

require 'yaml'
require 'yard'
require 'pry'
require 'fileutils'
require 'timecop'
require 'faker'
require 'ostruct'

base_path = File.dirname(__FILE__) + '/polishgeeks/dev-tools/*.rb'
Dir[base_path].each { |file| require file }

module PolishGeeks
  module DevTools
    # This is just an alias so we can use it from DevTools directly
    # @return [PolishGeeks::DevTools::Config.config]
    def self.config
      Config.config
    end

    # @return [String] root path of this gem
    def self.gem_root
      File.expand_path('../..', __FILE__)
    end

    # @return [String] app root path
    def self.app_root
      File.dirname(ENV['BUNDLE_GEMFILE'])
    end

    # Sets up the whole configuration
    # @param [Block] block
    def self.setup(&block)
      Config.setup(&block)
    end
  end
end

require 'polishgeeks/dev-tools/command/base'

commands_path = File.dirname(__FILE__) + '/polishgeeks/dev-tools/command/*.rb'
Dir[commands_path].each { |file| require file }

load 'polishgeeks/dev-tools/tasks/dev-tools.rake'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
polishgeeks-dev-tools-1.1.2 lib/polishgeeks-dev-tools.rb
polishgeeks-dev-tools-1.1.1 lib/polishgeeks-dev-tools.rb
polishgeeks-dev-tools-1.1.0 lib/polishgeeks-dev-tools.rb
polishgeeks-dev-tools-1.0.0 lib/polishgeeks-dev-tools.rb