lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'urbanopt/scenario/version' Gem::Specification.new do |spec| spec.name = 'urbanopt-scenario' spec.version = URBANopt::Scenario::VERSION spec.authors = ['Rawad El Kontar', 'Dan Macumber'] spec.email = ['rawad.elkontar@nrel.gov'] spec.summary = 'Library to export data point OSW files from URBANopt Scenario CSV' spec.description = 'Library to export data point OSW files from URBANopt Scenario CSV' spec.homepage = 'https://github.com/urbanopt' spec.licenses = 'Nonstandard' # 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|lib.measures.*tests|spec|features)/}) } end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.required_ruby_version = '~> 2.5.0' spec.add_development_dependency 'bundler', '~> 2.1' spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.7' spec.add_runtime_dependency 'json-schema', '~> 2.8' spec.add_runtime_dependency 'json_pure', '~> 2.3' spec.add_runtime_dependency 'sqlite3', '1.4.2' spec.add_runtime_dependency 'urbanopt-core', '~> 0.5.1' spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.3.6' # extension gem is included in urbanopt-core so we shouldn't need to explicitly require it here # spec.add_runtime_dependency 'openstudio-extension', '~> 0.3.1' # need to include all measure gems listed in mappers in project gemfiles # scenario_csv loads the mappers and need access to the extension gems when they are added to a mapper spec.add_runtime_dependency 'openstudio-calibration', '~> 0.3.1' spec.add_runtime_dependency 'openstudio-common-measures', '~> 0.3.2' spec.add_runtime_dependency 'openstudio-ee', '~> 0.3.2' spec.add_runtime_dependency 'openstudio-load-flexibility-measures', '~> 0.2.1' spec.add_runtime_dependency 'openstudio-model-articulation', '~> 0.3.1' end