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
csv [ruby/csv] Bump version 2020-12-27 15:26:24 +09:00
delegate
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
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
optparse
ostruct Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
pstore
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
timeout
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
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
abbrev.rb
base64.gemspec
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
debug.rb
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
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
open3.gemspec
open3.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
optionparser.rb
optparse.rb
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
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
readline.rb
reline.rb [ruby/reline] Cache pasting state in processing a key 2021-02-07 05:09:18 +09:00
resolv-replace.gemspec
resolv-replace.rb
resolv.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
resolv.rb
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
securerandom.rb
set.rb Import set 1.0.1 2020-12-22 21:41:44 +09:00
shellwords.gemspec
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
time.gemspec
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
tracer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tsort.gemspec
tsort.rb
un.gemspec
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