Sha256: 44b2f0e9efb25734d0f535498b42900e1a4c397642ad0b84390ff718cc130e58
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Danger # Defines all the values that should be available in someone's Dangerfile class AvailableValues def self.all self.scm + self.request_source end def self.scm [ :lines_of_code, :files_modified, :files_removed, :files_added, :deletions, :insertions ] end def self.request_source [ :pr_title, :pr_body, :pr_author, :pr_labels ] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danger-0.3.0 | lib/danger/available_values.rb |