Sha256: e66c24dbfe930064e549be67de939390bc18aabe680c02eae189bbd17d0e7de5
Contents?: true
Size: 688 Bytes
Versions: 3
Compression:
Stored size: 688 Bytes
Contents
require "danger/version" require "danger/dangerfile" require "danger/environment_manager" require "danger/runner" require "danger/init" require "danger/available_values" require "claide" require "colored" require "pathname" # Import all the Sources (CI, Request and SCM) Dir[File.expand_path('danger/*source/*.rb', File.dirname(__FILE__))].each do |file| require file end module Danger # @return [String] The path to the local gem directory def self.gem_path gem_name = "danger" unless Gem::Specification.find_all_by_name(gem_name).any? raise "Couldn't find gem directory for 'danger'" end return Gem::Specification.find_by_name(gem_name).gem_dir end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danger-0.2.1 | lib/danger.rb |
danger-0.2.0 | lib/danger.rb |
danger-0.1.1 | lib/danger.rb |