forked from eac/replica
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathactive_record_shards.gemspec
32 lines (27 loc) · 1.11 KB
/
active_record_shards.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "active_record_shards"
s.version = "2.5.7"
s.platform = Gem::Platform::RUBY
s.authors = ["Mick Staugaard", "Eric Chapweske", "Ben Osheroff"]
s.homepage = "http://github.com/staugaard/active_record_shards"
s.summary = "Simple database switching for ActiveRecord."
s.description = "Easily run queries on shard and slave databases."
s.add_runtime_dependency("activerecord", ">= 2.3.5", "< 3.2")
s.add_development_dependency("rake")
s.add_development_dependency("mysql")
s.add_development_dependency("bundler")
s.add_development_dependency("shoulda")
s.add_development_dependency("mocha")
s.add_development_dependency("appraisal")
if RUBY_VERSION < "1.9"
s.add_development_dependency("ruby-debug")
else
s.add_development_dependency("ruby-debug19")
end
s.files = Dir.glob("lib/**/*") + %w(README.md)
s.test_files = Dir.glob("test/**/*")
s.require_path = 'lib'
end