Sha256: 03eb45f632e79bfaabe942c48bf3b9bfa70446643fadebdb2920395e877fd7e7

Contents?: true

Size: 494 Bytes

Versions: 26

Compression:

Stored size: 494 Bytes

Contents

# frozen_string_literal: true

namespace :static do
  task :dump do
    ENV["RAILS_ENV"] = "test"
    require File.expand_path("./../../demo/config/environment.rb", __dir__)
    require "primer/view_components"
    # Loads all components for `.descendants` to work properly
    Dir["./app/components/primer/**/*.rb"].sort.each { |file| require file }

    Primer::ViewComponents.dump(:statuses)
    Primer::ViewComponents.dump(:constants)
    Primer::ViewComponents.dump(:audited_at)
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
primer_view_components-0.0.120 lib/tasks/static.rake
primer_view_components-0.0.119 lib/tasks/static.rake
primer_view_components-0.0.118 lib/tasks/static.rake
primer_view_components-0.0.117 lib/tasks/static.rake
primer_view_components-0.0.116 lib/tasks/static.rake
primer_view_components-0.0.115 lib/tasks/static.rake
primer_view_components-0.0.114 lib/tasks/static.rake
primer_view_components-0.0.113 lib/tasks/static.rake
primer_view_components-0.0.112 lib/tasks/static.rake
primer_view_components-0.0.111 lib/tasks/static.rake
primer_view_components-0.0.110 lib/tasks/static.rake
primer_view_components-0.0.109 lib/tasks/static.rake
primer_view_components-0.0.108 lib/tasks/static.rake
primer_view_components-0.0.107 lib/tasks/static.rake
primer_view_components-0.0.106 lib/tasks/static.rake
primer_view_components-0.0.105 lib/tasks/static.rake
primer_view_components-0.0.104 lib/tasks/static.rake
primer_view_components-0.0.103 lib/tasks/static.rake
primer_view_components-0.0.102 lib/tasks/static.rake
primer_view_components-0.0.101 lib/tasks/static.rake