mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Merge pull request #2304 from greysteil/slim-down-gem
Slim down bundled gem by excluding test files and docs
This commit is contained in:
commit
19a6188323
@ -7,6 +7,7 @@ Breaking changes:
|
|||||||
Features:
|
Features:
|
||||||
|
|
||||||
- [#2327](https://github.com/rails-api/active_model_serializers/pull/2327) Add support for Ruby 2.6 on Travis CI (@wasifhossain)
|
- [#2327](https://github.com/rails-api/active_model_serializers/pull/2327) Add support for Ruby 2.6 on Travis CI (@wasifhossain)
|
||||||
|
- [#2304](https://github.com/rails-api/active_model_serializers/pull/2304) Slim down bundled gem by excluding test files and docs (@greysteil)
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
||||||
|
|||||||
@ -15,8 +15,7 @@ Gem::Specification.new do |spec|
|
|||||||
spec.homepage = 'https://github.com/rails-api/active_model_serializers'
|
spec.homepage = 'https://github.com/rails-api/active_model_serializers'
|
||||||
spec.license = 'MIT'
|
spec.license = 'MIT'
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0")
|
spec.files = Dir["CHANGELOG.md", "MIT-LICENSE", "README.md", "lib/**/*"]
|
||||||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
||||||
spec.require_paths = ['lib']
|
spec.require_paths = ['lib']
|
||||||
spec.executables = []
|
spec.executables = []
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user