Skip to content

Commit

Permalink
gemspec fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dpep committed Jun 26, 2023
1 parent 5b5d6dc commit 2e75ab4
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions rspec-uuid.gemspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
package_name = File.basename(__FILE__).split(".")[0]
load Dir.glob("lib/**/version.rb")[0]

require_relative "lib/rspec/uuid/version"
package = RSpec::UUID

package_name = "rspec-uuid"

Gem::Specification.new do |s|
s.name = package_name
s.version = package.const_get "VERSION"
s.authors = ["Daniel Pepper"]
s.summary = package.to_s
s.description = "RSpec UUID matcher"
s.files = `git ls-files * ':!:spec'`.split("\n")
s.homepage = "https://github.com/dpep/#{package_name}"
s.license = "MIT"

s.files = Dir.glob("lib/**/*")
s.test_files = Dir.glob("spec/**/*_spec.rb")
s.name = package_name
s.summary = package.to_s
s.version = package.const_get "VERSION"

s.add_dependency "rspec-expectations", ">= 3"

Expand Down

0 comments on commit 2e75ab4

Please sign in to comment.