-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathurbanopt-rnm-us-gem.gemspec
37 lines (32 loc) · 1.83 KB
/
urbanopt-rnm-us-gem.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'urbanopt/rnm/version'
Gem::Specification.new do |spec|
spec.name = 'urbanopt-rnm-us'
spec.version = URBANopt::RNM::VERSION
spec.authors = ['Katherine Fleming', 'Luca de Rosa']
spec.email = ['katherine.fleming@nrel.gov', 'luca.derosa@iit.comillas.edu']
spec.summary = 'Library to create input files for RNM-US'
spec.description = 'Library to create input files for RNM-US'
spec.homepage = 'https://github.com/urbanopt/urbanopt-RNM-us-gem'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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.files += Dir.glob('catalogs/**')
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib', 'catalogs']
# We support exactly Ruby v3.2.2 because os-extension requires bundler==2.4.10 and that requires Ruby 3.2.2: https://stdgems.org/bundler/
# It would be nice to be able to use newer patches of Ruby 3.2, which would require os-extension to relax its dependency on bundler.
spec.required_ruby_version = '3.2.2'
spec.add_dependency 'geoutm', '~> 1.0.2'
# Matrix is in stdlib; needs to be specifically added here for compatibility with Ruby 3.2
spec.add_dependency 'matrix', '~> 0.4.2'
spec.add_dependency 'rubyzip', '~> 2.3.2'
spec.add_dependency 'urbanopt-geojson', '~> 1.0.0'
spec.add_development_dependency 'rspec', '~> 3.13'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
end