deepl-rb.gemspec in deepl-rb-2.2.2 vs deepl-rb.gemspec in deepl-rb-2.2.3

- old
+ new

@@ -1,30 +1,29 @@ # Generated by juwelier # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: deepl-rb 2.2.2 ruby lib +# stub: deepl-rb 2.2.3 ruby lib Gem::Specification.new do |s| s.name = "deepl-rb".freeze - s.version = "2.2.2" + s.version = "2.2.3" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Daniel Herzog".freeze] - s.date = "2020-06-18" + s.date = "2020-11-14" s.description = "A simple ruby wrapper for the DeepL translation API (v1). For more information, check this: https://www.deepl.com/docs/api-reference.html".freeze s.email = "info@danielherzog.es".freeze s.extra_rdoc_files = [ "LICENSE.md", "README.md" ] s.files = [ ".circleci/config.yml", ".rubocop.yml", "Gemfile", - "Gemfile.lock", "LICENSE.md", "README.md", "Rakefile", "VERSION", "deepl-rb.gemspec", @@ -56,20 +55,18 @@ "spec/resources/usage_spec.rb", "spec/spec_helper.rb" ] s.homepage = "http://github.com/wikiti/deepl-rb".freeze s.licenses = ["MIT".freeze] - s.rubygems_version = "2.6.14".freeze + s.rubygems_version = "3.1.2".freeze s.summary = "A simple ruby wrapper for the DeepL API".freeze if s.respond_to? :specification_version then s.specification_version = 4 + end - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<juwelier>.freeze, [">= 0"]) - else - s.add_dependency(%q<juwelier>.freeze, [">= 0"]) - end + if s.respond_to? :add_runtime_dependency then + s.add_development_dependency(%q<juwelier>.freeze, [">= 0"]) else s.add_dependency(%q<juwelier>.freeze, [">= 0"]) end end