-
Notifications
You must be signed in to change notification settings - Fork 7
/
octoball.gemspec
28 lines (24 loc) · 1.15 KB
/
octoball.gemspec
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
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'octoball/version'
Gem::Specification.new do |s|
s.name = 'octoball'
s.version = Octoball::VERSION
s.licenses = ['MIT']
s.summary = "Octopus-like Database Sharding Helper for ActiveRecord 6.1+"
s.description = "Octoball provides Octopus-like database sharding helper methods for ActiveRecord 6.1 or later, using Rails' native horizontal sharding handling. This provides migration path to Rails 6.1+ for applications using Octopus gem with older Rails."
s.authors = ["Tomoki Sekiyama"]
s.email = '[email protected]'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {spec}/*`.split("\n")
s.homepage = 'https://github.com/aktsk/octoball'
s.require_paths = ['lib']
s.required_ruby_version = '>= 3.1.0'
s.add_dependency 'activerecord', '>= 7.0'
s.add_dependency 'activesupport', '>= 7.0'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', '>= 3'
s.add_development_dependency 'rubocop'
s.add_development_dependency 'debug'
end