forked from sauspiel/postamt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostamt.gemspec
27 lines (24 loc) · 1.26 KB
/
postamt.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'postamt/version'
Gem::Specification.new do |spec|
spec.name = "postamt"
spec.version = Postamt::VERSION
spec.authors = ["Martin Schürrer", "Martin Kavalar"]
spec.email = ["[email protected]", "[email protected]"]
spec.description = %q{Choose per model and/or controller&action whether a read-only query should be sent to master or a hot standby. Or just use Postamt.on(:slave) { ... }. }
spec.summary = %q{Performs (some of) your read-only queries on a hot standby}
spec.homepage = "https://github.com/sauspiel/postamt"
spec.license = "MIT"
spec.files = `git ls-files`.split($/).reject { |f| f.start_with? 'testapp' }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 2.1.1'
spec.add_dependency "railties", ["~> 4.1", "< 4.3"]
spec.add_dependency "activerecord", ["~> 4.1", "< 4.3"]
spec.add_dependency "thread_safe", [">= 0.3.3"]
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
end