git_presenter.gemspec in git_presenter-1.2.0 vs git_presenter.gemspec in git_presenter-1.3.0

- old
+ new

@@ -1,22 +1,22 @@ # Generated by jeweler # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: git_presenter 1.2.0 ruby lib +# stub: git_presenter 1.3.0 ruby lib Gem::Specification.new do |s| - s.name = "git_presenter" - s.version = "1.2.0" + s.name = "git_presenter".freeze + s.version = "1.3.0" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.require_paths = ["lib"] - s.authors = ["Colin Gemmell"] - s.date = "2014-07-09" - s.description = "Code presentation tool using git" - s.email = "pythonandchips@gmail.com" - s.executables = ["git-presenter"] + s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= + s.require_paths = ["lib".freeze] + s.authors = ["Colin Gemmell".freeze] + s.date = "2021-01-11" + s.description = "Code presentation tool using git".freeze + s.email = "pythonandchips@gmail.com".freeze + s.executables = ["git-presenter".freeze] s.extra_rdoc_files = [ "LICENSE.txt", "README.markdown" ] s.files = [ @@ -45,38 +45,31 @@ "spec/lib/git_presenter/slide_spec.rb", "spec/spec_helper.rb", "spec/support/command_line_helper.rb", "spec/support/git_helpers.rb" ] - s.homepage = "http://github.com/pythonandchips/git-presenter" - s.licenses = ["MIT"] - s.rubygems_version = "2.2.2" - s.summary = "Code presentation tool using git" + s.homepage = "http://github.com/pythonandchips/git-presenter".freeze + s.licenses = ["MIT".freeze] + s.rubygems_version = "3.2.3".freeze + s.summary = "Code presentation tool using git".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_runtime_dependency(%q<git>, [">= 0"]) - s.add_runtime_dependency(%q<launchy>, ["~> 2.1"]) - s.add_development_dependency(%q<pry>, [">= 0"]) - s.add_development_dependency(%q<rspec>, ["~> 2.7"]) - s.add_development_dependency(%q<bundler>, [">= 0"]) - s.add_development_dependency(%q<jeweler>, ["~> 1.6"]) - else - s.add_dependency(%q<git>, [">= 0"]) - s.add_dependency(%q<launchy>, ["~> 2.1"]) - s.add_dependency(%q<pry>, [">= 0"]) - s.add_dependency(%q<rspec>, ["~> 2.7"]) - s.add_dependency(%q<bundler>, [">= 0"]) - s.add_dependency(%q<jeweler>, ["~> 1.6"]) - end + if s.respond_to? :add_runtime_dependency then + s.add_runtime_dependency(%q<git>.freeze, [">= 0"]) + s.add_runtime_dependency(%q<launchy>.freeze, ["~> 2.5"]) + s.add_development_dependency(%q<pry>.freeze, [">= 0"]) + s.add_development_dependency(%q<rspec>.freeze, ["~> 2.7"]) + s.add_development_dependency(%q<bundler>.freeze, [">= 0"]) + s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3"]) else - s.add_dependency(%q<git>, [">= 0"]) - s.add_dependency(%q<launchy>, ["~> 2.1"]) - s.add_dependency(%q<pry>, [">= 0"]) - s.add_dependency(%q<rspec>, ["~> 2.7"]) - s.add_dependency(%q<bundler>, [">= 0"]) - s.add_dependency(%q<jeweler>, ["~> 1.6"]) + s.add_dependency(%q<git>.freeze, [">= 0"]) + s.add_dependency(%q<launchy>.freeze, ["~> 2.5"]) + s.add_dependency(%q<pry>.freeze, [">= 0"]) + s.add_dependency(%q<rspec>.freeze, ["~> 2.7"]) + s.add_dependency(%q<bundler>.freeze, [">= 0"]) + s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"]) end end