File: redis-clustering.gemspec

package info (click to toggle)
ruby-redis 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,160 kB
  • sloc: ruby: 11,445; makefile: 117; sh: 24
file content (51 lines) | stat: -rw-r--r-- 1,387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# frozen_string_literal: true

require_relative "../lib/redis/version"

Gem::Specification.new do |s|
  s.name = "redis-clustering"

  s.version = Redis::VERSION

  github_root = "https://github.com/redis/redis-rb"
  s.homepage = "#{github_root}/blob/master/cluster"

  s.summary = "A Ruby client library for Redis Cluster"

  s.description = <<-EOS
  A Ruby client that tries to match Redis' Cluster API one-to-one, while still
    providing an idiomatic interface.
  EOS

  s.license = "MIT"

  s.authors = [
    "Ezra Zygmuntowicz",
    "Taylor Weibley",
    "Matthew Clark",
    "Brian McKinney",
    "Salvatore Sanfilippo",
    "Luca Guidi",
    "Michel Martens",
    "Damian Janowski",
    "Pieter Noordhuis"
  ]

  s.email = ["redis-db@googlegroups.com"]

  s.metadata = {
    "bug_tracker_uri" => "#{github_root}/issues",
    "changelog_uri" => "#{s.homepage}/CHANGELOG.md",
    "documentation_uri" => "https://www.rubydoc.info/gems/redis/#{s.version}",
    "homepage_uri" => s.homepage,
    "source_code_uri" => "#{github_root}/tree/v#{s.version}/cluster"
  }

  s.files         = Dir["CHANGELOG.md", "LICENSE", "README.md", "lib/**/*"]
  s.executables   = `git ls-files -- exe/*`.split("\n").map { |f| File.basename(f) }

  s.required_ruby_version = '>= 2.7.0'

  s.add_runtime_dependency('redis', s.version)
  s.add_runtime_dependency('redis-cluster-client', '>= 0.10.0')
end