Skip to content

Commit 19a6188

Browse files
authored
Merge pull request #2304 from greysteil/slim-down-gem
Slim down bundled gem by excluding test files and docs
2 parents 3419a01 + 14113ba commit 19a6188

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Breaking changes:
77
Features:
88

99
- [#2327](https://github.com/rails-api/active_model_serializers/pull/2327) Add support for Ruby 2.6 on Travis CI (@wasifhossain)
10+
- [#2304](https://github.com/rails-api/active_model_serializers/pull/2304) Slim down bundled gem by excluding test files and docs (@greysteil)
1011

1112
Fixes:
1213

active_model_serializers.gemspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Gem::Specification.new do |spec|
1515
spec.homepage = 'https://github.com/rails-api/active_model_serializers'
1616
spec.license = 'MIT'
1717

18-
spec.files = `git ls-files -z`.split("\x0")
19-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18+
spec.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
2019
spec.require_paths = ['lib']
2120
spec.executables = []
2221

0 commit comments

Comments
 (0)