summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-07-15Simplify history saving codeaycabta
2019-07-15The default charset of text/* media type is UTF-8.Tanaka Akira
Thanks for the patch gareth (Gareth Adams). [Bug #15933] ------- Combines two small, but very related changes 1: Treat HTTPS the same as HTTP Previously, OpenURI followed guidance in RFC2616/3.7.1: > When no explicit charset parameter is provided by the sender, media > subtypes of the "text" type are defined to have a default charset > value of "ISO-8859-1" when received via HTTP. However this RFC was written before TLS was established and OpenURI was never updated to treat HTTPS traffic the same way. So, HTTPS documents received a different default to HTTP documents. This commit removes the scheme check so that all text/* documents processed by OpenURI are treated the same way. In theory this processing gets applied to FTP URIs too, but there's no mechanism in OpenURI for FTP documents to have Content-Type metadata appended to them, so this ends up being a no-op. 2: Change default charset for text/* to UTF-8 Replaces the default ISO-8859-1 charset previously defined in RFC2616 (now obsoleted) with a UTF-8 charset as defined in RFC6838. Fixes: https://bugs.ruby-lang.org/issues/15933
2019-07-15Use #to_a for Readline::HISTORY directlyaycabta
2019-07-15Add lib/irb/color.rb to destribution file listaycabta
2019-07-15Remove debug printaycabta
2019-07-15Support multiline irb_historyaycabta
A history line ends with "\" to escape newline if it's a continuous line.
2019-07-15Check wether prompt_i is nilaycabta
2019-07-15Save history in IRB is enabled by defaultaycabta
2019-07-15Auto indent in IRB is enabled by defaultaycabta
2019-07-15Version 1.1.0.pre.2aycabta
2019-07-15Need reline-0.0.1 or later for some featuresaycabta
2019-07-15Version 0.0.1aycabta
2019-07-15Remove unused method.manga_osyo
2019-07-15[ruby/matrix] Add Matrix::VERSION constantMarcus Stollsteimer
Add Matrix::VERSION for the gem version, use it in the gemspec, and make it also available for library users. https://github.com/ruby/matrix/commit/65c2bb1fa1
2019-07-15[ruby/matrix] Add missing `lib/matrix/' files to file list in gemspecMarcus Stollsteimer
https://github.com/ruby/matrix/commit/2bbb9be233
2019-07-15Add `class Reline::History` and test.manga_osyo
2019-07-15Suppress warningsMasataka Pocke Kuwabara
2019-07-15[ruby/rdoc] Bump version to 6.1.1aycabta
https://github.com/ruby/rdoc/commit/55c0627fe0
2019-07-15[ruby/rdoc] Correction to include regexp_handling in list of loaded filespoloka
https://github.com/ruby/rdoc/commit/1940b2318c
2019-07-14[ruby/csv] Fix a bug that strip: true removes newlinesKouhei Sutou
https://github.com/ruby/csv/commit/5540d35a30
2019-07-14[ruby/csv] add options doc :quote_empty (#89)kawa_tech
https://github.com/ruby/csv/commit/5ca8d79f60
2019-07-14[ruby/csv] Add options doc: :write_converters, :write_nil_value, ↵Masafumi Koba
:write_empty_value (#87) https://github.com/ruby/csv/commit/5923ee08b7
2019-07-14[ruby/csv] add document of strip (#88)hayashiyoshino
* add document of strip * modify typo https://github.com/ruby/csv/commit/de0257dc31
2019-07-14[ruby/csv] Bump versionKouhei Sutou
https://github.com/ruby/csv/commit/3976985008
2019-07-14[ruby/csv] Don't raise on eof?Kouhei Sutou
GitHub: fix #86 Reported by krororo. Thanks!!! https://github.com/ruby/csv/commit/5a8d9d9297
2019-07-14[ruby/csv] Refactor range in delete_suffix (#85)Kazuhiro NISHIYAMA
https://github.com/ruby/csv/commit/7ff57a50e8
2019-07-14[ruby/csv] Bump versionKouhei Sutou
https://github.com/ruby/csv/commit/312f844693
2019-07-14Fix links to headingsMaxime Lapointe
A previous change made the header's id be fully referenced (for the sidebar I believe) but this broke links to them. This fixes the issue.
2019-07-14Warn open-uri's "open" method at Kernel.Tanaka Akira
Use URI.open instead. Thanks for the patch by jeremyevans0 (Jeremy Evans) [Misc #15893].
2019-07-14fix issue with 'SIGINT' handling in LineEditor#resetLuke Gruber
@old_trap is the string "DEFAULT" and not a callable object (Proc) if there are no other signal handlers for SIGINT signal to chain.
2019-07-13Removed useless `freeze`s from gemspec filesNobuyoshi Nakada
2019-07-13Drop fossil rubygems supportNobuyoshi Nakada
2019-07-13Removed stub lines from gemspec filesNobuyoshi Nakada
2019-07-13change default value of load_limit (ignore load_limit)Masatoshi SEKI
2019-07-11Add arg check to Reline.dig_perfect_match_proc=aycabta
2019-07-11WEBrick::HTTPResponse create tempfile if required.Tanaka Akira
WEBrick::HTTPProxyServer implementes HTTP proxy using WEBrick and Net::HTTP. WEBrick accepts HTTP/1.0 clients and Net::HTTP uses always HTTP/1.1. However HTTP/1.1 supports chunked transfer coding HTTP/1.0 doesn't. Chunked transfer coding doesn't require that content-length before the content is sent. But non-chunked transfer coding require content-length before the content is sent. So, when HTTP/1.0 clients connects WEBrick::HTTPProxyServer and origin server returns chunked response, WEBrick::HTTPProxyServer needs to store whole content to know the length of it. This patch do it using tempfile.
2019-07-10handle_interrupt to defend monitor state [Bug #15992]NARUSE, Yui
If an exception is raised from another thread for example Timeout and this thread is just after `mon_exit`'s `@mon_owner = nil`, the exception breaks the state of MonitorMixin. To prevent that situation, it need to block interruption in mon_enter and mon_exit.
2019-07-08Suppress a warning when `write_headers: true`Nobuyoshi Nakada
2019-07-07Fix default argument values for OptParse::Switch#summarizeJeremy Evans
The documentation describes these arguments being hashes, and the method is called with hashes, so a hash default makes more sense. The method would fail previously if called without arguments and @short or @long contained a non-integer value. Fixes [Bug #10928]
2019-07-06Refactored width calculationsNobuyoshi Nakada
2019-07-06SimplifiedNobuyoshi Nakada
2019-07-06Fix showing document of ClassName.method_name in IRBaycabta
In IRB, Time.new is split as "Time", ".", and "new". The receiver "Time" is processed by #class method but it means that "Time" changes to "Class". This commit fixes it.
2019-07-04Support Control- and Meta-aycabta
2019-07-04Move a comment to proper placeaycabta
2019-07-04Parse key sequence more strictlyNobuyoshi Nakada
2019-07-04Use lstrip instead of gsub which can match only onceNobuyoshi Nakada
2019-07-04Skip indented comment lines [Bug #15981]Nobuyoshi Nakada
2019-07-03Check code_block_open for whether code continuesaycabta
2019-07-03Try to avoid `not delagated` errorKazuhiro NISHIYAMA
``` .../ruby/lib/delegate.rb:405:in `__getobj__': not delegated (ArgumentError) ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190703T063006Z.fail.html.gz
2019-07-02Keyword token that follows EXPR_FNAME must be a method nameaycabta