Sha256: 7993fa88fb61dd1c9f556d41b63143f3aa1b76c3d36d17176ebbf41a847c0018

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

require 'sinatra/activerecord'
require 'sinatra/activerecord/rake'
require 'osso'

namespace :osso do
  desc 'Bootstrap Osso data for a deployment'
  task bootstrap: do
    %w[Production Staging Development].each do |environement|
      Osso::Models::OauthClient.create!(
        name: environement,
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osso-0.0.2.9 lib/tasks/bootstrap.rake