Gemspec adds the version, but tests also need it.

This commit is contained in:
Dan Milne
2023-09-10 10:31:46 +10:00
parent 5774ca2836
commit 27a47700e1
5 changed files with 34 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require_relative "lib/Probot/version"
require_relative "lib/probot/version"
Gem::Specification.new do |spec|
spec.name = "Probot"
@@ -8,14 +8,12 @@ Gem::Specification.new do |spec|
spec.authors = ["Dan Milne"]
spec.email = ["d@nmilne.com"]
spec.summary = "A Robots.txt parser."
spec.description = "A more fully featured Robotos.txt parser."
spec.summary = "A robots.txt parser."
spec.description = "A fully featured robots.txt parser."
spec.homepage = "http://github.com/dkam/probot"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0"
spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "http://github.com/dkam/probot"
spec.metadata["changelog_uri"] = "http://github.com/dkam/probot/CHANGELOG.md"