openstudio-analysis.gemspec in openstudio-analysis-1.0.2 vs openstudio-analysis.gemspec in openstudio-analysis-1.0.3

- old
+ new

@@ -1,34 +1,38 @@ lib = File.expand_path('lib', __dir__) -$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib) - +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'openstudio/analysis/version' Gem::Specification.new do |s| s.name = 'openstudio-analysis' s.version = OpenStudio::Analysis::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Nicholas Long'] s.email = ['Nicholas.Long@nrel.gov'] + s.homepage = 'http://openstudio.nrel.gov' s.summary = 'Create JSON, ZIP to communicate with OpenStudio Distributed Analysis in the Cloud' s.description = 'Basic classes for generating the files needed for OpenStudio-Server' s.license = 'BSD' - s.required_ruby_version = '~> 2.5.1' - s.required_rubygems_version = '>= 1.3.6' - - s.files = `git ls-files -z`.split("\x0") - s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } - s.test_files = s.files.grep(%r{^(test|spec|features)/}) + s.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) + end + s.bindir = 'exe' + s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) } s.require_paths = ['lib'] - s.add_dependency 'bcl', '~> 0.5.8' + s.required_ruby_version = '~> 2.5.0' + + s.add_dependency 'bcl', '= 0.5.8' s.add_dependency 'dencity', '~> 0.1.0' s.add_dependency 'faraday', '~> 0.14' - s.add_dependency 'nokogiri', '~> 1.8.2' - s.add_dependency 'roo', '~> 2.7.1' - s.add_dependency 'rubyzip', '~> 1.2' + s.add_dependency 'nokogiri', '~> 1.8.2' + s.add_dependency 'roo', '~> 2.8.3' + s.add_dependency 'rubyzip', '~> 2.3.0' s.add_dependency 'semantic', '~> 1.4' - s.add_development_dependency 'rake', '~> 12.3.1' + s.add_development_dependency 'rake', '~> 13.0' + s.add_development_dependency 'rspec', '~> 3.9' + s.add_development_dependency 'rubocop', '~> 0.54.0' + s.add_development_dependency 'rubocop-checkstyle_formatter', '~> 0.4.0' end