tools/riemann-elasticsearch/Rakefile in riemann-tools-1.1.1 vs tools/riemann-elasticsearch/Rakefile in riemann-tools-1.2.0

- old
+ new

@@ -9,29 +9,26 @@ ENV['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true' ENV['COPYFILE_DISABLE'] = 'true' # Gemspec gemspec = Gem::Specification.new do |s| - s.rubyforge_project = 'riemann-elasticsearch' - s.name = 'riemann-elasticsearch' - s.version = '0.2.4' + s.version = '0.2.5' s.author = 'Gavin Sandie' s.email = 'beach@vicecity.co.uk' s.homepage = 'https://github.com/riemann/riemann-tools' s.platform = Gem::Platform::RUBY s.summary = 'Submits elasticsearch stats to riemann.' s.license = 'MIT' - s.add_dependency 'riemann-tools', '>= 0.2.13' - s.add_dependency 'faraday', '>= 0.8.5' - s.add_dependency 'json' + s.add_runtime_dependency 'riemann-tools', '~> 1.0', '>= 1.1.1' + s.add_runtime_dependency 'faraday', '~> 2.3', '>= 2.3.0' + s.add_runtime_dependency 'json', '~> 2.6', '>=2.6.2' - s.files = FileList['bin/*', 'LICENSE', 'README.md'].to_a + s.files = FileList['bin/*', 'lib/**/*.rb', 'LICENSE', 'README.md'].to_a s.executables |= Dir.entries('bin/') - s.has_rdoc = false - s.required_ruby_version = '>= 1.8.7' + s.required_ruby_version = Gem::Requirement.new('>= 2.6.0') end Gem::PackageTask.new gemspec do |p| end