Sha256: bdf64043c5fa648d88727e4d91ec490ce12aa9722a0acdbbdb94f1735d55b980

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

module RfFooter
  class DeploymentInfo
    class << self
      include Git
      include Environment

      def revision
        sha || "unknown revision"
      end

      def environment
        stage || "undefined environment"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rf_footer-1.5.0 lib/rf_footer/deployment_info.rb
rf_footer-1.4.0 lib/rf_footer/deployment_info.rb
rf_footer-1.3.0 lib/rf_footer/deployment_info.rb
rf_footer-1.2.0 lib/rf_footer/deployment_info.rb