Takashi Kokubun
1753cf59cc
Fix a broken interpolation #{head}
2022-11-20 21:23:28 -08:00
Nobuyoshi Nakada
230c7de252
sync_default_gems.rb: Fix substitution [ci skip]
...
As there should be no modified files just affter `git cherry-pick`
succeeded in `sync_default_gems_with_commits`, reset to the previous
revision once to pick up the committed files.
2022-11-20 18:51:41 +09:00
Nobuyoshi Nakada
7e3af23d1d
sync_default_gems.rb: fix a typo [ci skip]
2022-11-04 16:22:47 +09:00
Nobuyoshi Nakada
b6d7e98f25
sync_default_gems.rb: fix the position to insert the original URL
...
Since the regexp had expected an empty line before `Co-Authored-By:`
trailer lines, it failed to match when the body has the trailer only.
2022-11-04 15:43:29 +09:00
Nobuyoshi Nakada
570dee15a6
sync_default_gems.rb: accept log input from other than STDIN
2022-11-04 15:43:29 +09:00
Nobuyoshi Nakada
1de8a42869
sync_default_gems.rb: do not add extra empty lines [ci skip]
2022-10-28 19:04:53 +09:00
Nobuyoshi Nakada
e6e202234c
sync_default_gems.rb: append orignal commit URLs to subject only log
2022-10-28 13:15:14 +09:00
Nobuyoshi Nakada
d76284dfb7
sync_default_gems.rb: Ignore unmergeable files [ci skip]
2022-10-25 13:52:53 +09:00
Nobuyoshi Nakada
1654f88ca7
sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]
2022-10-19 09:11:11 +09:00
Nobuyoshi Nakada
e1ca90c2a4
sync_default_gems.rb: fold too long subject [ci skip]
...
Line with substituted issue references with URLs are often very long.
Although Git (and GitHub) recommends folding subject lines less than
50 columns, but many commits ignore this, so fold at 68 columns for
now.
2022-10-18 17:43:43 +09:00
Takashi Kokubun
134acf98d8
ruby/ruby-commit-hook has been renamed [ci skip]
...
to ruby/git.ruby-lang.org
2022-10-17 21:16:09 -07:00
Nobuyoshi Nakada
ab3b1b2381
sync_default_gems.rb: fix links to GitHub issues
...
- Substitute `GH-xxxx` which does not contain `#` too.
- Split each substitutions.
2022-10-18 11:37:12 +09:00
Nobuyoshi Nakada
b57ecc3eb8
sync_default_gems: Replace the URIs to be redirected
...
The reference generated by using RDoc without the proper `--page-dir`
option (or `.rdoc_options`) file may contain `/doc/`. Since these
URIs are redirected by the server now, replace such URIs with the
corresponding rdoc-refs too.
2022-10-12 13:24:53 +09:00
Nobuyoshi Nakada
2b5d4fe28d
sync_default_gems: Add rdoc-ref command to test
2022-10-12 12:27:40 +09:00
Nobuyoshi Nakada
df588440ee
sync_default_gems: Replace the external URIs to docs with rdoc-ref
2022-10-12 12:27:40 +09:00
Nobuyoshi Nakada
c67e496886
sync_default_gems: Should match with the beginning of the strings
...
`git status -z` result is NUL-separated, and can contain newline
characters.
2022-10-12 12:27:40 +09:00
Nobuyoshi Nakada
c28a4e0340
Replace "Fixes"/"Fixed" in commit logs as well as vcs.rb [ci skip]
...
Use the same regexp to replace "(#NNNN)" and "GH-NNNN" style
references in vcs.rb, too.
2022-09-14 11:24:06 +09:00
Hiroshi SHIBATA
f3becd73e3
Ignore test libraries like assert_ractor from did_you_mean
2022-09-01 17:02:55 +09:00
Hiroshi SHIBATA
41a275c89a
Support main branch for syntax_suggest
2022-08-29 09:52:09 +09:00
Hiroshi SHIBATA
1cbee173be
Sync examples and cli from syntax_suggest
2022-08-26 12:15:47 +09:00
Hiroshi SHIBATA
17d0e5bee7
syntax_suggest moved to under the ruby organization.
2022-08-19 13:20:20 +09:00
schneems
a50df1ab0e
Setup SyntaxSuggest as default gem
...
Adds the `syntax_suggest` syntax error display tool to Ruby through the same mechanism as `error_highlight` and `did_you_mean`. Reference ticket: https://bugs.ruby-lang.org/issues/18159
close #4845
## What is syntax_suggest?
When a syntax error is raised by requiring a file, dead_end will use a combination of indentation and lexing to identify the problem.
> Note: Previously this tool was named `dead_end`.
## Known issues
- SyntaxSearch's approach of showing syntax errors only works through integration with `require`, `load`, `autoload`, and `require_relative` (since it monkeypatches them to detect syntax errors). It does not work with direct Ruby file invocations https://github.com/zombocom/dead_end/issues/31 .
- This causes failure in the test suite (test_expected_backtrace_location_when_inheriting_from_basic_object_and_including_kernel) and confusion when inspecting backtraces if there's a different error when trying to require a file such as measuring memory (https://github.com/zombocom/syntax_suggest/issues/124#issuecomment-1006705016 ).
- Discussed fix. We previously talked about opening up `SyntaxError` to be monkeypatched in the same way that other gems hook into `NoMethodError`. This is currently not possible and requires development work. When we last talked about it at RubyKaigi Nobu expressed an ability to make such a change.
2022-08-19 10:02:24 +09:00
Burdette Lamar
412da2c221
Sync new doc in Date ( #6215 )
2022-08-05 13:05:38 -05:00
Hiroshi SHIBATA
62849b3379
Keep gitignore for libyaml source with psych
2022-07-29 19:10:10 +09:00
Hiroshi SHIBATA
b404a5f106
8fa66467de
is broken with rubygems/rubygems and flori/json.
...
Revert "Fix sync_default_gems.rb to use absolute path"
This reverts commit 8fa66467de
.
2022-07-26 13:42:37 +09:00
Peter Zhu
8fa66467de
Fix sync_default_gems.rb to use absolute path
2022-07-25 16:29:14 -04:00
Burdette Lamar
43c11f6c49
For rdoc, copy doc/rdoc to doc/ ( #6181 )
2022-07-25 14:58:41 -05:00
Nobuyoshi Nakada
a3ef0746ce
Extract pipe_readlines
method which reads from the pipeline
2022-04-16 17:13:24 +09:00
Nobuyoshi Nakada
b09e96341e
Simplify the condition expression to ignore commits
2022-04-16 16:45:46 +09:00
Nobuyoshi Nakada
492185e39c
Do not import any files under rakelib
2022-04-16 16:45:11 +09:00
Hiroshi SHIBATA
0024a76ea0
Ignore pre-release for sync target on sync_default_gems
2022-03-10 13:35:21 +09:00
Hiroshi SHIBATA
1adc7aa630
Added release option to sync only released version of the default gems
2022-03-08 21:08:46 +09:00
David Rodríguez
517d7c3221
Sync latest Bundler & RubyGems
2022-02-01 08:09:23 +09:00
Nobuyoshi Nakada
083cf6a577
sync_default_gems.rb: Expand GH-xxxx style GitHub links [ci skip]
2021-12-24 14:34:14 +09:00
Nobuyoshi Nakada
097c4a2adf
sync_default_gems.rb: GitHub links at word boundary only [ci skip]
2021-12-24 14:27:03 +09:00
Hiroshi SHIBATA
b06e37e242
Followed up f5d80c26d4
for sync_default_gems.rb
2021-12-09 19:33:47 +09:00
Nobuyoshi Nakada
e563c6068e
sync_default_gems.rb: convert commit hashes to github URLs [ci skip]
2021-12-06 14:18:01 +09:00
Nobuyoshi Nakada
6586783508
Move win32ole.gemspec to the proper place
2021-11-26 11:32:38 +09:00
Nobuyoshi Nakada
c8da3b95e7
Add win32ole to sync_default_gems.rb
2021-11-25 23:53:15 +09:00
Hiroshi SHIBATA
84fdaaab46
Ignore LUCENSE files of standard libraries for sync target
2021-11-16 20:11:34 +09:00
Hiroshi SHIBATA
cc3afdb165
Added LICENSE entry of vendored net-http-persistent to LEGAL
2021-11-16 20:07:30 +09:00
Hiroshi SHIBATA
ef11414b1f
Added LICENSE entry of vendored connection_pool to LEGAL
2021-11-16 20:05:07 +09:00
Hiroshi SHIBATA
9a76072873
Added LICENSE entry of vendored molinillo to LEGAL
2021-11-16 19:51:06 +09:00
Hiroshi SHIBATA
1ff7b9cac4
Added LICENSE entry of vendored thor to LEGAL
2021-11-16 19:48:32 +09:00
Hiroshi SHIBATA
018266ca38
Merge digest-3.0.3.pre3 and efd76821b8
2021-11-16 19:42:20 +09:00
Hiroshi SHIBATA
9e86a60306
Removed redundant digest namespace
2021-10-14 14:07:50 +09:00
Hiroshi SHIBATA
3265af2f9e
separate pure ruby location under the digest/* extensions
2021-10-14 13:31:45 +09:00
Hiroshi SHIBATA
13772caee2
Move pure ruby files under the ext/gemname/lib directory.
2021-10-14 13:23:45 +09:00
Takashi Kokubun
b5f0e20936
Add comments in sync_default_gems.rb
...
to ease the maintenance of ruby-commit-hook/bin/update-default-gem.sh
2021-10-10 23:49:15 -07:00
Takashi Kokubun
69cedee2a6
chmod +x tool/sync_default_gems.rb
...
I'm too lazy to start the command with `ruby`.
2021-10-10 23:38:51 -07:00