1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Jeremy Evans 14e1739ff3 [ruby/irb] Make save-history extension safe for concurrent use
This makes the save-history extension check for modifications to
the history file before saving it.  If the history file was modified
after the history was loaded and before it was saved, append only
the new history lines to the history file.

This can result in more lines in the history file than SAVE_HISTORY
allows.  However, that will be fixed the next time irb is run and
the history is saved.

Fixes [Bug #13654]

https://github.com/ruby/irb/commit/041ef53845
2021-03-06 00:18:32 +09:00
..
benchmark Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
bundler Track Bundler master(2.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20 2021-01-04 13:14:43 +09:00
cgi Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
csv [ruby/csv] Bump version 2020-12-27 15:26:24 +09:00
delegate Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
did_you_mean Sync did_you_mean 2020-12-22 14:42:32 +09:00
drb Added ruby2_keywords for Ruby 2.5 and 2.6 2021-01-18 20:41:33 +09:00
erb [ruby/erb] Version 2.2.2 2021-01-21 15:29:40 +09:00
forwardable Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
getoptlong Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
irb [ruby/irb] Make save-history extension safe for concurrent use 2021-03-06 00:18:32 +09:00
logger Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
matrix [ruby/matrix] v0.3.1 2020-12-09 02:15:41 -05:00
net [ruby/net-http] Replace "iff" with "if and only if" 2021-01-23 10:20:28 +09:00
observer Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
optparse Added the missing licenses field to some default gems 2020-08-18 20:26:39 +09:00
ostruct Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
pstore Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
racc [ruby/racc] Bump version to 1.5.2 2020-12-26 15:10:49 +09:00
rdoc [ruby/rdoc] Support iso-strict format in git-log 2021-01-25 18:33:33 +09:00
reline [ruby/reline] Version 0.2.4 2021-02-26 05:24:01 +09:00
rinda Added dependencies for rinda 2020-12-04 20:21:41 +09:00
rubygems Clear each test own temporary directories 2021-01-25 12:51:18 +09:00
set Import set 1.0.1 2020-12-22 21:41:44 +09:00
singleton Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
timeout Update the license for the default gems to dual licenses 2020-08-18 20:26:39 +09:00
tracer Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
unicode_normalize
uri Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
weakref Added dependencies for weakref 2020-12-01 19:48:24 +09:00
yaml Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
.document Remove unnecessary files from .document 2020-12-20 16:00:13 +09:00
abbrev.gemspec Promote abbrev to default gems 2020-09-10 18:56:16 +09:00
abbrev.rb
base64.gemspec Promote base64 to default gems 2020-09-10 18:56:17 +09:00
base64.rb
benchmark.rb [lib/benchmark] Use $stdout instead of STDOUT [Bug #17600] 2021-03-01 19:23:21 -05:00
bundler.rb Merge RubyGems 3.2.3 and Bundler 2.2.3 2020-12-23 10:17:41 +09:00
cgi.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
csv.rb [ruby/csv] Fix typo [ci skip] 2020-12-27 15:27:46 +09:00
debug.gemspec Promote debug.rb to default gems. 2020-10-30 21:45:23 +09:00
debug.rb [Feature #16513] TracePoint#inspect returns "... file:line" (#3391) 2020-08-06 11:56:24 +09:00
delegate.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
did_you_mean.rb
drb.rb
English.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
English.rb
erb.gemspec Fix the relative path for Ruby core 2021-01-20 21:45:34 -08:00
erb.rb [ruby/erb] Let ERB.version just return a version 2021-01-21 15:26:55 +09:00
fileutils.gemspec [ruby/fileutils] Drop support for dead old versions 2021-01-17 12:20:55 +09:00
fileutils.rb [ruby/fileutils] Removed code for dead versions 2021-01-17 12:20:57 +09:00
find.gemspec Promote find to default gems 2020-08-20 21:00:53 +09:00
find.rb
forwardable.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
getoptlong.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
ipaddr.gemspec [ruby/ipaddr] fixup 90b46678a5b09ed32612b0629b7c51c6d39a0444 2020-12-03 17:48:32 +09:00
ipaddr.rb
irb.rb [ruby/irb] Update help message for next context-mode of 4 2021-02-27 06:51:12 +09:00
logger.rb
matrix.rb [ruby/matrix] Replace "iff" with "whether" [doc] 2021-01-21 13:22:25 -05:00
mkmf.rb MSys is a variant of Cygwin 2021-02-20 23:33:22 +09:00
mutex_m.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
mutex_m.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
observer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
open-uri.gemspec Added dependencies for open-uri 2020-12-01 19:48:24 +09:00
open-uri.rb Remove the deprecated override of Kernel#open in open-uri 2020-08-16 07:41:40 -07:00
open3.gemspec Manually picked 724bdb8e1d 2020-09-14 14:07:37 +09:00
open3.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
optionparser.rb
optparse.rb Separate send into public_send and __send__ 2020-10-27 16:12:45 +09:00
ostruct.rb [ruby/ostruct] Bump version 2021-01-13 01:09:29 -05:00
pp.gemspec [ruby/pp] Removed needless files from Gem::Specification#files 2020-12-28 16:20:37 +09:00
pp.rb [DOC] Add doc to sharing_detection= [ci skip] 2020-12-23 11:13:50 +09:00
prettyprint.gemspec Promote prettyprint to default gems 2020-10-08 16:40:46 +09:00
prettyprint.rb
prime.gemspec [ruby/prime] Fix gemspec 2020-12-09 01:30:06 -05:00
prime.rb [ruby/prime] v0.1.2 2020-12-09 00:45:56 -05:00
pstore.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
racc.rb
rdoc.rb
readline.gemspec Fixed the invalid SPDX identifier on gemspec 2020-08-18 20:26:40 +09:00
readline.rb
reline.rb [ruby/reline] Cache pasting state in processing a key 2021-02-07 05:09:18 +09:00
resolv-replace.gemspec Promote resolv-replace to default gems 2020-09-11 22:01:08 +09:00
resolv-replace.rb
resolv.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
resolv.rb fe80 should be case insensitive too 2020-11-09 16:16:30 +09:00
ruby2_keywords.gemspec Use real-case version number for the result of gem list 2021-01-19 11:51:39 +09:00
rubygems.rb Track RubyGems master(3.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20 2021-01-04 13:14:43 +09:00
securerandom.gemspec Promote securerandom to default gems 2020-09-11 21:15:25 +09:00
securerandom.rb Make SecureRandom support Ractor 2020-09-09 12:45:43 -07:00
set.rb Import set 1.0.1 2020-12-22 21:41:44 +09:00
shellwords.gemspec Promote shellwords to default gems 2020-09-10 18:56:17 +09:00
shellwords.rb
singleton.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tempfile.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tempfile.rb [ruby/tempfile] Improve the documentation for Tempfile.create and recommend Tempfile.open instead 2020-10-05 19:17:25 +02:00
time.gemspec Added dependencies for time 2020-12-01 19:48:24 +09:00
time.rb [ruby/time] Use Time#strftime to format 2021-01-15 19:04:33 +09:00
timeout.rb [ruby/timeout] Removed deprecated names that had been warned for 5 years 2021-01-03 20:19:30 +09:00
tmpdir.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tmpdir.rb [ruby/tmpdir] Warn when environment variables skipped (fixes #2) 2020-09-14 18:22:37 +09:00
tracer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tsort.gemspec Promote tsort to default gems 2020-09-09 21:53:09 +09:00
tsort.rb
un.gemspec Promote un.rb to the default gems. It's preparation for 3.0.0-preview2. 2020-11-05 20:21:31 +09:00
un.rb Use abort(message) instead of puts and exit 2020-12-10 21:06:10 +09:00
uri.rb
weakref.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
yaml.rb Remove unnecessary word from comment 2020-07-28 12:14:45 +09:00