Sha256: dfe07eaf22ee71670964e20ce2b4b350f7be0e3c42e5e4aeed56e549bbda36c9

Contents?: true

Size: 835 Bytes

Versions: 206

Compression:

Stored size: 835 Bytes

Contents

module Danger
  class Dangerfile
    # Anything inside this module is considered public API, and in the future
    # documentation will be generated from it via rdoc.

    module DSL
      # @!group Danger Zone
      # Provides access to the raw Travis/Circle/Buildkite/GitHub objects, which
      # you can use to pull out extra bits of information. _Warning_
      # the interfaces of these objects is **not** considered a part of the Dangerfile public
      # API, and is viable to change occasionally on the whims of developers.
      # @return [EnvironmentManager]

      attr_reader :env

      private

      def initialize
        load_default_plugins
      end

      def load_default_plugins
        Dir["./danger_plugins/*.rb"].each do |file|
          require File.expand_path(file)
        end
      end
    end
  end
end

Version data entries

206 entries across 206 versions & 2 rubygems

Version Path
danger-additional-logging-0.0.23 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.22 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.21 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.20 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.19 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.18 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.17 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.16 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.15 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.14 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.13 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.12 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.11 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.10 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.9 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.8 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.7 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.6 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.5 lib/danger/danger_core/dangerfile_dsl.rb
danger-additional-logging-0.0.4 lib/danger/danger_core/dangerfile_dsl.rb