Sha256: 55c33eee699c6d57c95c26bb85718c0728e33902953b5a0d0349b35d94aa6f98

Contents?: true

Size: 357 Bytes

Versions: 19

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

19 entries across 19 versions & 1 rubygems

Version Path
osso-0.0.3.18 lib/tasks/bootstrap.rake
osso-0.0.3.17 lib/tasks/bootstrap.rake
osso-0.0.3.16 lib/tasks/bootstrap.rake
osso-0.0.3.15 lib/tasks/bootstrap.rake
osso-0.0.3.14 lib/tasks/bootstrap.rake
osso-0.0.3.13 lib/tasks/bootstrap.rake
osso-0.0.3.12 lib/tasks/bootstrap.rake
osso-0.0.3.11 lib/tasks/bootstrap.rake
osso-0.0.3.9 lib/tasks/bootstrap.rake
osso-0.0.3.8 lib/tasks/bootstrap.rake
osso-0.0.3.7 lib/tasks/bootstrap.rake
osso-0.0.3.6 lib/tasks/bootstrap.rake
osso-0.0.3.5 lib/tasks/bootstrap.rake
osso-0.0.3.4 lib/tasks/bootstrap.rake
osso-0.0.3.3 lib/tasks/bootstrap.rake
osso-0.0.3.2 lib/tasks/bootstrap.rake
osso-0.0.3.1 lib/tasks/bootstrap.rake
osso-0.0.3 lib/tasks/bootstrap.rake
osso-0.0.2.10 lib/tasks/bootstrap.rake