forked from ankane/pghero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pghero.gemspec
34 lines (29 loc) · 1.19 KB
/
pghero.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "pghero/version"
Gem::Specification.new do |spec|
spec.name = "pghero"
spec.version = PgHero::VERSION
spec.authors = ["Andrew Kane"]
spec.email = ["[email protected]"]
spec.summary = "A performance dashboard for Postgres"
spec.description = "A performance dashboard for Postgres"
spec.homepage = "https://github.com/ankane/pghero"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features|guides)/})
spec.require_paths = ["lib"]
spec.add_dependency "activerecord"
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"
spec.add_development_dependency "activerecord-import"
if RUBY_PLATFORM == "java"
spec.add_development_dependency "activerecord-jdbcpostgresql-adapter"
else
spec.add_development_dependency "pg"
spec.add_development_dependency "pg_query"
end
end