Sha256: fbd71e31b1e8b4088acaff2dffc390818a8dfa2105d213828dfa584c22fe2a67

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

module Rhinestone
  class Injector
    include Dependor::AutoInject
    look_in_modules Rhinestone

    def cache_backend
      @cache_backend ||= FilesystemCacheBackend.new(".cache")
    end

    def hostname
      "rubygems.org"
    end

    def important_headers
      %w{Content-Type Cache-Control ETag Set-Cookie}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhinestone-0.0.1 lib/rhinestone/injector.rb