Sha256: 12b470bf113c02337e4779b17459ec4fa57d961150b213427ffde3af141bb630

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

require 'rails-pg-extras'

namespace :pg_extras do
  RailsPGExtras::QUERIES.each do |query_name|
    desc RailsPGExtras.public_send("#{query_name}_description")
    task query_name.to_sym => :environment do
      RailsPGExtras.public_send(query_name)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails-pg-extras-0.5.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.4.1 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.4.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.3.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.2.0 lib/rails-pg-extras/tasks/all.rake