-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsimple-sql.gemspec
39 lines (29 loc) · 1.36 KB
/
simple-sql.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
36
37
38
39
# This file is part of the sinatra-sse ruby gem.
#
# Copyright (c) 2016, 2017 @radiospiel, mediapeers Gem
# Distributed under the terms of the modified BSD license, see LICENSE.BSD
Gem::Specification.new do |gem|
gem.name = "simple-sql"
gem.version = File.read "VERSION"
gem.authors = [ "radiospiel", "mediapeers GmbH" ]
gem.email = "[email protected]"
gem.homepage = "http://github.com/radiospiel/simple-sql"
gem.summary = "SQL with a simple interface"
gem.description = "SQL with a simple interface. Postgres only."
gem.files = `git ls-files`.split($/)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = %w(lib)
# executables are used for development purposes only
gem.executables = []
gem.required_ruby_version = '~> 2.3'
gem.add_dependency 'pg_array_parser', '~> 0', '>= 0.0.9'
gem.add_dependency 'expectation', '~> 1'
gem.add_dependency 'digest-crc', '~> 0'
gem.add_dependency 'simple-immutable', '~> 1.0'
pg_specs = ENV["SIMPLE_SQL_PG_SPECS"] || '~> 0.20'
gem.add_dependency 'pg', *(pg_specs.split(","))
# during tests we check the SIMPLE_SQL_ACTIVERECORD_SPECS environment setting.
# Run make tests to run all tests
activerecord_specs = ENV["SIMPLE_SQL_ACTIVERECORD_SPECS"] || '< 6.1'
gem.add_dependency 'activerecord', '>= 5.2.4.5', *(activerecord_specs.split(","))
end