openstudio-model-articulation.gemspec in openstudio-model-articulation-0.1.1 vs openstudio-model-articulation.gemspec in openstudio-model-articulation-0.2.0
- old
+ new
@@ -3,30 +3,35 @@
require 'openstudio/model_articulation/version'
Gem::Specification.new do |spec|
spec.name = 'openstudio-model-articulation'
spec.version = OpenStudio::ModelArticulation::VERSION
+ spec.platform = Gem::Platform::RUBY
spec.authors = ['David Goldwasser']
spec.email = ['david.goldwasser@nrel.gov']
+ spec.homepage = 'https://openstudio.net'
spec.summary = 'Library and measures for OpenStudio Model Articulation'
spec.description = 'Library and measures for OpenStudio Model Articulation'
- spec.homepage = 'https://openstudio.net'
+ spec.metadata = {
+ 'bug_tracker_uri' => 'https://github.com/NREL/openstudio-model-articulation-gem/issues',
+ 'changelog_uri' => 'https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/CHANGELOG.md',
+ # 'documentation_uri' => 'https://www.rubydoc.info/gems/openstudio-model-articulation-gem/#{gem.version}',
+ 'source_code_uri' => "https://github.com/NREL/openstudio-model-articulation-gem/tree/v#{spec.version}"
+ }
- # 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)/}) }
+ spec.files = `git ls-files -z`.split("\x0").reject do |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.bindir = 'exe'
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_development_dependency 'bundler', '~> 1.14'
- spec.add_development_dependency 'rake', '~> 12.3'
- spec.add_development_dependency 'rspec', '3.7.0'
- spec.add_development_dependency 'rubocop', '~> 0.54.0'
+ spec.required_ruby_version = '~> 2.5.0'
- # OpenStudio Common Measures will inherit the OpenStudio Extension (0.1.2 -> 0.1.6)
- spec.add_dependency 'openstudio-common-measures', '~> 0.1.2'
- spec.add_dependency 'openstudio-standards', '~> 0.2.10'
+ spec.add_dependency 'bundler', '~> 2.1'
+ spec.add_dependency 'openstudio-extension', '~> 0.2.3'
+ spec.add_dependency 'openstudio-standards', '~> 0.2.11'
+
+ spec.add_development_dependency 'rake', '~> 13.0'
+ spec.add_development_dependency 'rspec', '~> 3.9'
end