-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathspatial_stats.gemspec
50 lines (43 loc) · 2.38 KB
/
spatial_stats.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
40
41
42
43
44
45
46
47
48
49
50
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
# Maintain your gem's version:
require 'spatial_stats/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = 'spatial_stats'
spec.version = SpatialStats::VERSION
spec.authors = ['Keith Doggett']
spec.email = ['[email protected]']
spec.homepage = 'https://www.github.com/keithdoggett/spatial_stats'
spec.summary = 'An ActiveRecord/PostGIS extension that provides statistical methods to spatial postgresql databases.'
spec.description = 'An ActiveRecord/PostGIS extension that provides '\
'statistical methods to spatial postgresql databases. '\
'It integrates with ActiveRecord to perform spatial weighting'\
' in PostGIS and performs statistical computations '\
'inside your rails app. Supports contiguious and distance-based'\
' calculations.'
spec.license = 'BSD-3-Clause'
spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0')
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['documentation_uri'] = 'https://keithdoggett.github.io/spatial_stats/'
spec.metadata['changelog_uri'] = 'https://www.github.com/keithdoggett/spatial_stats/CHANGELOG.md'
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
# if spec.respond_to?(:metadata)
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
# else
# raise "RubyGems 2.0 or newer is required to protect against " \
# "public gem pushes."
# end
spec.files = Dir['{app,config,db,lib,ext}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
spec.extensions = ['ext/spatial_stats/extconf.rb']
spec.add_dependency 'numo-narray', '~>0.9.1'
spec.add_dependency 'rails', '>= 6.0.0'
spec.add_development_dependency 'activerecord-postgis-adapter', '>= 6.0.0'
spec.add_development_dependency 'database_cleaner', '~> 2.0.2'
spec.add_development_dependency 'pg', '~> 1.0'
spec.add_development_dependency 'rake-compiler', '~>1.1.0'
spec.add_development_dependency 'ruby-prof', '~> 1.3.1'
spec.add_development_dependency 'tzinfo', '>= 1.2.6'
end