Commit 6a2dedd
authored
Modernize gemspec: add metadata, use Dir glob, drop defaults (#401)
## Summary
- Replace `git ls-files` shell-out with `Dir['lib/**/*.rb', ...]` to
avoid
dependency on git at build time and prevent accidental inclusion of
non-Ruby files or directories
- Add RubyGems metadata (homepage, bug tracker, changelog, docs, source
code)
and require MFA for gem pushes via `rubygems_mfa_required`
- Remove redundant `s.platform = Gem::Platform::RUBY` (it is the
default)1 parent 65d41f1 commit 6a2dedd
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
21 | | - | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
0 commit comments