Skip to content

Commit e731e72

Browse files
committed
Minimize files included in the distributed Gem
1 parent f43c26b commit e731e72

File tree

11 files changed

+3
-2
lines changed

11 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ See [Testing](/docs/Testing.md#Testing).
325325

326326
## Documentation
327327

328+
`docs/` contains documentation for users to read. These files are included in the distributed Gem. `ai-docs/` contains AI-generated and design documents. These files are not included in the distributed Gem.
329+
328330
See [API Reference](http://www.rubydoc.info/github/simukappu/activity_notification/index) for more details.
329331

330332
RubyDoc.info does not support parsing methods in *included* and *class_methods* of *ActiveSupport::Concern* currently.

activity_notification.gemspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ Gem::Specification.new do |s|
1515
s.description = "Integrated user activity notifications for Ruby on Rails. Provides functions to configure multiple notification targets and make activity notifications with notifiable models, like adding comments, responding etc."
1616
s.license = "MIT"
1717

18-
s.files = `git ls-files`.split("\n")
19-
s.test_files = `git ls-files -- spec/*`.split("\n")
18+
s.files = Dir.glob("lib/**/*") + Dir.glob("app/**/*") + Dir.glob("docs/**/*") + ["README.md", "MIT-LICENSE"]
2019
s.require_paths = ["lib"]
2120
s.required_ruby_version = '>= 2.1.0'
2221

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)