| 1 | |
| 2 | |
| 3 | @@ -23,12 +23,7 @@
|
| 4 | spec.metadata["source_code_uri"] = spec.homepage
|
| 5 | spec.metadata["changelog_uri"] = spec.homepage + "/releases"
|
| 6 |
|
| 7 | - # Specify which files should be added to the gem when it is released.
|
| 8 | - # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
| 9 | - spec.files = Dir.chdir(__dir__) do
|
| 10 | - `git ls-files -z 2>/dev/null`.split("\x0")
|
| 11 | - .grep_v(%r{^(\.git(ignore)?|\.mailmap|(\.github|bin|test|spec|benchmarks|features|rfcs)/)})
|
| 12 | - end
|
| 13 | + spec.files = Dir["lib/**/*.rb"]
|
| 14 | spec.bindir = "exe"
|
| 15 | spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
| 16 | spec.require_paths = ["lib"]
|