Commit graph

10 commits

Author SHA1 Message Date
Nobuyoshi Nakada
7d94df63c4
[ruby/optparse] Add rdoc options
Specify the main page and the page directory.  Also in Rakefile,
extract and use the same options from the gemspec file.

d182cd60b5
2022-01-12 21:16:01 +09:00
Olle Jonsson
ec355813b0
[ruby/optparse] gemspec: Explicit files list [ci skip]
This avoid shelling out, and includes a narrower list of files.

f3ca83caff

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2021-04-08 12:37:24 +09:00
Olle Jonsson
2b66b22479 [ruby/optparse] gemspec: Explicitly list 0 executables
This gem exposes no executable files.

d14bf83007
2021-04-08 12:09:30 +09:00
Nobuyoshi Nakada
e97f21afcd [ruby/optparse] Exclude unnecessary files from the package
dfd9380231
2021-03-29 18:24:56 +09:00
Hiroshi SHIBATA
0bb8bd7623
Added the missing licenses field to some default gems 2020-08-18 20:26:39 +09:00
Nobuyoshi Nakada
b2d96abb42 Extract version number from the source
"requiring version.rb" strategy has some issues.

- cannot work when cross-compiling
- often introduces wrong namespace
- must know the superclasses
- costs at each runtime than at build-time

etc.
2020-07-30 19:03:18 +09:00
Nobuyoshi Nakada
ba99eae2a5
[ruby/optparse] Fix ls-files matching regexp
As splitting by NUL means to allow the file names to contain
newlines, path names should match at beginning-of-string instead
of beginning-of-line.

df3933aa2b
2020-07-24 11:00:34 +09:00
Nobuyoshi Nakada
f120e65200 [ruby/optparse] Define OptionParser::Version
4c0021b5b2
2020-07-23 10:57:33 +09:00
Nobuyoshi Nakada
cd429e68d2 [ruby/optparse] Update required ruby version
Now needs `DidYouMean#formatter` which is provided since
did_you_mean 1.2, which requires ruby 2.5.

d44bb5c715
2020-07-23 10:57:31 +09:00
Hiroshi SHIBATA
7befc0cdfc
Promote optparse to default gems 2020-07-22 18:38:51 +09:00