-
Notifications
You must be signed in to change notification settings - Fork 7
/
rails-sharding.gemspec
35 lines (30 loc) · 1.55 KB
/
rails-sharding.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
29
30
31
32
33
34
35
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rails/sharding/version'
Gem::Specification.new do |spec|
spec.name = 'rails-sharding'
spec.version = Rails::Sharding::VERSION
spec.authors = ['Henrique Gubert']
spec.email = ['[email protected]']
spec.summary = 'Simple and robust sharding for Rails, including
Migrations and ActiveRecord extensions'
spec.description = 'This gems allows you to easily create extra databases
to your rails application, and freely allocate ActiveRecord instances to
any of the databases. It also provides rake tasks and migrations to help
you manage the schema by shard groups.'
spec.homepage = 'https://github.com/hsgubert/rails-sharding'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_runtime_dependency 'rails', '~> 5.2.0'
spec.add_development_dependency 'bundler', '~> 1.17'
spec.add_development_dependency 'byebug', '~> 11'
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1'
spec.add_development_dependency 'mysql2', '~> 0'
spec.add_development_dependency 'pg', '~> 0' # postgres driver
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'simplecov', '~> 0'
end