-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpg_exec_array_params.gemspec
More file actions
29 lines (22 loc) · 1.09 KB
/
pg_exec_array_params.gemspec
File metadata and controls
29 lines (22 loc) · 1.09 KB
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
# frozen_string_literal: true
require_relative 'lib/pg_exec_array_params/version'
Gem::Specification.new do |spec|
spec.name = 'pg_exec_array_params'
spec.version = PgExecArrayParams::VERSION
spec.authors = ['Vlad Bokov']
spec.email = ['vlad@lunatic.cat']
spec.license = 'MIT'
spec.summary = 'PG::Connection#exec_params with arrays'
spec.description = 'Escape each array element inside PG::Connection#exec_params properly'
spec.homepage = 'https://github.com/lunatic-cat/pg_exec_array_params'
spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/lunatic-cat/pg_exec_array_params'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.require_paths = ['lib']
spec.add_dependency('pg_query', '~> 1')
spec.add_development_dependency('pg', ENV.fetch('PG_GEM_VERSION', '~> 0'))
spec.add_development_dependency('rspec', '~> 3.0')
end