Sha256: bfcfe7ad7aab0e5cf41f18cf47bf2b81fcbebef02dd0c4ee197574b499a3ff77
Contents?: true
Size: 795 Bytes
Versions: 1
Compression:
Stored size: 795 Bytes
Contents
require_relative './railtie' require 'active_support' require 'rails_cloud_tasks/rack/errors' module RailsCloudTasks extend ActiveSupport::Autoload autoload :Scheduler autoload :Credentials autoload :Adapter autoload :AppEngine autoload :Configuration autoload :Version module Rack extend ActiveSupport::Autoload autoload :Jobs autoload :Tasks end attr_writer :config def self.configure yield(config) end def self.config @config ||= Configuration.new end def self.logger return @logger if @logger @logger ||= (Rails.logger || Logger.new($stdout)).tap do |logger| logger.formatter = proc do |severity, datetime, _progname, msg| "[#{datetime}] #{severity} [rails-cloud-tasks]: #{msg}\n" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-cloud-tasks-0.0.2 | lib/rails-cloud-tasks.rb |