fluent-plugin-twitter.gemspec in fluent-plugin-twitter-0.5.4 vs fluent-plugin-twitter.gemspec in fluent-plugin-twitter-0.6.0

- old
+ new

@@ -1,11 +1,11 @@ # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| s.name = "fluent-plugin-twitter" - s.version = "0.5.4" + s.version = "0.6.0" s.authors = ["Kentaro Yoshida"] s.email = ["y.ken.studio@gmail.com"] s.homepage = "https://github.com/y-ken/fluent-plugin-twitter" s.summary = %q{Fluentd Input/Output plugin to collect/process tweets with Twitter Streaming API.} s.license = "Apache-2.0" @@ -17,15 +17,9 @@ s.add_development_dependency "rake" s.add_development_dependency "test-unit", ">= 3.1.0" s.add_development_dependency "appraisal" - # Since Fluentd v0.14 requires ruby 2.1 or later. - if defined?(RUBY_VERSION) && RUBY_VERSION < "2.1" - s.add_runtime_dependency "fluentd", "< 0.14" - else - s.add_runtime_dependency "fluentd", ">= 0.10.46" - end - s.add_runtime_dependency "twitter", ">= 5.0.0" - s.add_runtime_dependency "tweetstream", ">= 2.6.1" - s.add_runtime_dependency "string-scrub", ">= 0.0.3" if RUBY_VERSION.to_f < 2.1 + s.add_runtime_dependency "fluentd", [">= 0.10.46", "< 2"] + s.add_runtime_dependency "twitter", "~> 5.0" + s.add_runtime_dependency "string-scrub", [">= 0.0.3", "<= 0.0.5"] end