Sha256: c7e4cbbea25dd7ab7511cf5ef92fe717f6db2fdac86899842beff835e55bd615
Contents?: true
Size: 700 Bytes
Versions: 5
Compression:
Stored size: 700 Bytes
Contents
require "danger/version" require "danger/dangerfile" require "danger/environment_manager" require "danger/commands/runner" require "danger/available_values" require "claide" require "colored" require "pathname" require "terminal-table" # 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
danger-0.6.5 | lib/danger.rb |
danger-0.6.0 | lib/danger.rb |
danger-0.5.2 | lib/danger.rb |
danger-0.5.1 | lib/danger.rb |
danger-0.5.0 | lib/danger.rb |