-
Notifications
You must be signed in to change notification settings - Fork 2
/
db-switch.gemspec
32 lines (26 loc) · 1.2 KB
/
db-switch.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'db-switch/version'
Gem::Specification.new do |spec|
spec.name = 'db-switch'
spec.version = DbSwitch::VERSION
spec.authors = ['Anjlab']
spec.email = ['[email protected]']
spec.summary = 'Simple database connection switcher for Rails 5'
spec.description = 'Dead-simple gem for Rails 5 that allows to switch between database connections on-the-fly'
spec.homepage = 'https://github.com/anjlab/db-switch'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_development_dependency 'rake', '>= 12.3.3'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'pg', '~> 0.19'
spec.add_development_dependency 'rubocop', '0.50.0'
spec.add_development_dependency 'appraisal', '~> 2.1'
# Rails 5 dependencies
spec.add_runtime_dependency 'activerecord', '~> 5.0'
spec.add_runtime_dependency 'railties', '~> 5.0'
end