Skip to content

Require either redis or dalli but not both #3

@jeremywadsack

Description

@jeremywadsack

Right now, your gemspec has the following:

  spec.add_dependency "dalli"
  spec.add_dependency "redis"

We only use Redis as a backend, not Memcached. Adding the dependency on dalli bloats our code.

Would it be possible to make this a dynamic dependency? It seems that the Gemfile using Suo is likely to already have redis or dalli included, so can you just skip the dependencies and load them on-demand? (You'd still need them in development_dependencies for tests.) I think you'd need a note in the README about that requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions