| 1 | |
| 2 | |
| 3 | |
| 4 | - # Specify which files should be added to the gem when it is released. |
| 5 | - # The `git ls-files -z` loads the files in the RubyGem that have been added into git. |
| 6 | - spec.files = Dir.chdir(File.expand_path(__dir__)) do |
| 7 | - `git ls-files -z`.split("\x0").reject do |f| |
| 8 | - (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) |
| 9 | - end |
| 10 | - end |
| 11 | + spec.files = Dir["exe/*", "ext/**/*", "lib/**/*.rb"] |