-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathactiverecord-postgis.gemspec
More file actions
29 lines (23 loc) · 1.04 KB
/
Copy pathactiverecord-postgis.gemspec
File metadata and controls
29 lines (23 loc) · 1.04 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/active_record/connection_adapters/postgis/version'
Gem::Specification.new do |spec|
spec.name = 'activerecord-postgis'
spec.version = ActiveRecord::ConnectionAdapters::PostGIS::VERSION
spec.authors = [ 'Abdelkader Boudih' ]
spec.email = [ 'terminale@gmail.com' ]
spec.summary = 'PostGIS Type support for ActiveRecord'
spec.description = spec.summary
spec.homepage = 'https://github.com/seuros/activerecord-postgis'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.3.0', '< 5.0'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/master/CHANGELOG.md"
gemspec = File.basename(__FILE__)
spec.files = Dir.glob('{lib}/**/*') + [ gemspec, 'LICENSE.txt', 'README.md' ]
spec.require_paths = [ 'lib' ]
spec.add_dependency 'activerecord', '>= 8.1.0', '< 8.2'
spec.add_dependency 'pg'
spec.add_dependency 'rgeo', '>= 3.1.0'
spec.add_dependency 'rgeo-activerecord', '>= 8.0'
end