Sha256: 36de98b392bc141b81d161f36687e21149114be9e526de24f0c6d26a7f07291b

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

require 'rails-pg-extras'

namespace :pg_extras do
  RailsPGExtras::QUERIES.each do |query_name|
    desc RailsPGExtras.description_for(query_name: query_name)
    task query_name.to_sym => :environment do
      RailsPGExtras.public_send(query_name)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-pg-extras-0.5.2 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.5.1 lib/rails-pg-extras/tasks/all.rake