Skip to content

Commit

Permalink
fix: remove test files from built gem
Browse files Browse the repository at this point in the history
fixes #139
  • Loading branch information
YOU54F committed Jul 30, 2024
1 parent cb2e411 commit 4bb7bac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pact-broker-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ Gem::Specification.new do |gem|
gem.description = %q{Client for the Pact Broker. Publish, retrieve and query pacts and verification results. Manage webhooks and environments.}
gem.summary = %q{See description}
gem.homepage = "https://github.com/pact-foundation/pact_broker-client.git"
gem.files = `git ls-files`.split($/).reject { |file| file.match(/(test|spec|features)/) }

gem.required_ruby_version = '>= 2.0'

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.license = 'MIT'

Expand Down

0 comments on commit 4bb7bac

Please sign in to comment.