Skip to content

Commit 1fcad1d

Browse files
authored
cleanup (#90)
* clean up files included * clean up files included * allowed host
1 parent e840406 commit 1fcad1d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

subroutine.gemspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ Gem::Specification.new do |spec|
1414
spec.homepage = "https://github.com/guideline-tech/subroutine"
1515
spec.license = "MIT"
1616

17-
spec.files = `git ls-files -z`.split("\x0")
17+
# Specify which files should be added to the gem when it is released.
18+
spec.files = Dir["lib/**/*"] + Dir["*.gemspec"]
1819
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19-
spec.test_files = spec.files.grep(%r{^(gemfiles|test)/})
2020
spec.require_paths = ["lib"]
2121

22+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
23+
2224
spec.add_dependency "activemodel", ">= 6.1"
2325
spec.add_dependency "activesupport", ">= 6.1"
2426
spec.add_dependency "base64"

0 commit comments

Comments
 (0)