Sha256: b5fba39977c9b4bb8f1c741376c06edb1727688381472f64825d28a70207e17b

Contents?: true

Size: 858 Bytes

Versions: 30

Compression:

Stored size: 858 Bytes

Contents

require_relative "souls/index"
require_relative "souls/cli"
require "active_support/core_ext/string/inflections"
require "date"
require "json"
require "net/http"
require "paint"
require "whirly"
require "tty-prompt"
require "thor"
require "resolv"
require "google/cloud/pubsub"

module SOULs
  extend SOULs::Utils
  class Error < StandardError; end
  class << self
    attr_accessor :configuration

    def configure
      self.configuration ||= Configuration.new
      yield(configuration)
    end
  end

  class Configuration
    attr_accessor :app, :strain, :project_id, :region, :endpoint, :fixed_gems, :workers

    def initialize
      @app = nil
      @project_id = nil
      @region = nil
      @endpoint = nil
      @strain = nil
      @fixed_gems = nil
      @workers = nil
    end

    def instance_name
      "souls-#{@app}-db"
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
souls-1.21.11 lib/souls.rb
souls-1.21.10 lib/souls.rb
souls-1.21.9 lib/souls.rb
souls-1.21.8 lib/souls.rb
souls-1.21.7 lib/souls.rb
souls-1.21.6 lib/souls.rb
souls-1.21.5 lib/souls.rb
souls-1.21.4 lib/souls.rb
souls-1.21.3 lib/souls.rb
souls-1.21.2 lib/souls.rb
souls-1.21.1 lib/souls.rb
souls-1.21.0 lib/souls.rb
souls-1.20.13 lib/souls.rb
souls-1.20.12 lib/souls.rb
souls-1.20.11 lib/souls.rb
souls-1.20.10 lib/souls.rb
souls-1.20.9 lib/souls.rb
souls-1.20.8 lib/souls.rb
souls-1.20.7 lib/souls.rb
souls-1.20.6 lib/souls.rb