Sha256: e121d3ffa4a6041332034bb60bcb40097c10684fad49605ede2e73e48e9500a9

Contents?: true

Size: 298 Bytes

Versions: 9

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

require 'rails-pg-extras'

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-pg-extras-1.2.3 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-1.2.1 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-1.2.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-1.1.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-1.0.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.7.0 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.6.2 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.6.1 lib/rails-pg-extras/tasks/all.rake
rails-pg-extras-0.6.0 lib/rails-pg-extras/tasks/all.rake