Sha256: e5f880edf04597c9f65f8915ac403f2659edf9ff5ded97c5365b7dac260a0bb1

Contents?: true

Size: 362 Bytes

Versions: 133

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

# :nocov:
module Primer
  module Static
    # :nodoc:
    module GenerateAuditedAt
      class << self
        def call
          Primer::Component.descendants.sort_by(&:name).each_with_object({}) do |component, mem|
            mem[component.to_s] = component.audited_at.to_s
          end
        end
      end
    end
  end
end

Version data entries

133 entries across 133 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.33.0 lib/primer/static/generate_audited_at.rb
primer_view_components-0.25.1 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.32.1 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.32.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.29.1 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.29.0 lib/primer/static/generate_audited_at.rb
primer_view_components-0.23.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.28.1 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.28.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.27.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.26.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.25.1 lib/primer/static/generate_audited_at.rb
primer_view_components-0.22.0 lib/primer/static/generate_audited_at.rb
primer_view_components-0.21.1 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.25.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.24.0 lib/primer/static/generate_audited_at.rb
primer_view_components-0.21.0 lib/primer/static/generate_audited_at.rb
primer_view_components-0.20.1 lib/primer/static/generate_audited_at.rb
primer_view_components-0.20.0 lib/primer/static/generate_audited_at.rb
openproject-primer_view_components-0.23.0 lib/primer/static/generate_audited_at.rb