aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added gemspec for readline gem that is wrapper library for reline and ↵Hiroshi SHIBATA2019-11-091-0/+23
| | | | readline extension
* Suppress "shadowing outer local variable" warning in 2.5aycabta2019-11-083-15/+21
|
* Fixed test failure related Net::ProtocolHiroshi SHIBATA2019-11-072-2/+4
|
* SMTP is not moduleHiroshi SHIBATA2019-11-071-1/+1
|
* Promote cgi to default gemsHiroshi SHIBATA2019-11-072-0/+30
|
* Promote net-smtp to default gemsHiroshi SHIBATA2019-11-073-1/+33
|
* Promote net-pop to default gemsHiroshi SHIBATA2019-11-073-1/+33
|
* Promote benchmark to default gemsHiroshi SHIBATA2019-11-072-0/+32
|
* Promote delegate to default gemsHiroshi SHIBATA2019-11-072-0/+30
|
* Promote pstore to default gemsHiroshi SHIBATA2019-11-072-0/+32
|
* Promote getoptlong to default gemsHiroshi SHIBATA2019-11-072-0/+32
|
* Promote open3 to default gemsHiroshi SHIBATA2019-11-072-0/+32
|
* Promote singleton to default gemsHiroshi SHIBATA2019-11-072-0/+30
|
* Time#strftime does not support `%Q`Kazuhiro NISHIYAMA2019-11-061-1/+0
| | | | | | | | ``` % ruby -r date -e 't=Time.utc(2001,2,3,4,5,6,7);p t; p [t, t.to_date, t.to_datetime].map{|d|d.strftime("%Q")}' 2001-02-03 04:05:06.000007 UTC ["%Q", "981158400000", "981173106000"] ```
* Only taint on Ruby <2.7Jeremy Evans2019-11-051-2/+2
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* Only untaint line on Ruby <2.7Jeremy Evans2019-11-051-1/+1
| | | | Untaint is deprecated and has no effect on Ruby 2.7+.
* Use ident hash for top-level recursion checkJohn Hawthorn2019-11-041-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We track recursion in order to not infinite loop in ==, inspect, and similar methods by keeping a thread-local 1 or 2 level hash. This allows us to track when we have seen the same object (ex. using inspect) or same pair of objects (ex. using ==) in this stack before and to treat that differently. Previously both levels of this Hash used the object's memory_id as a key (using object_id would be slow and wasteful). Unfortunately, prettyprint (pp.rb) uses this thread local variable to "pretend" to be inspect and inherit its same recursion behaviour. This commit changes the top-level hash to be an identity hash and to use objects as keys instead of their object_ids. I'd like to have also converted the 2nd level hash to an ident hash, but it would have prevented an optimization which avoids allocating a 2nd level hash for only a single element, which we want to keep because it's by far the most common case. So the new format of this hash is: { object => true } (not paired) { lhs_object => rhs_object_memory_id } (paired, single object) { lhs_object => { rhs_object_memory_id => true, ... } } (paired, many objects) We must also update pp.rb to match this (using identity hashes).
* Fixed a typoNobuyoshi Nakada2019-11-041-1/+1
|
* [ruby/racc] Strip trailing whitespaces at the last line of actionsNobuyoshi Nakada2019-11-041-0/+1
| | | | https://github.com/ruby/racc/commit/a887ebe529
* Use prompt_list to calculate height by linesaycabta2019-11-021-12/+14
|
* Fix verbose warning being emittedJeremy Evans2019-10-311-1/+1
| | | | Fixes Ruby Bug 16281.
* [ruby/fileutils] Remove use of untaint on Ruby 2.7 to avoid deprecation warningsJeremy Evans2019-10-311-1/+2
| | | | https://github.com/ruby/fileutils/commit/5ac9a8a1f7
* Update the latest versions from upstream repository of raccHiroshi SHIBATA2019-10-309-17/+20
|
* [ruby/rdoc] Support different drive latters in include pathsaycabta2019-10-291-3/+18
| | | | https://github.com/ruby/rdoc/commit/946d2592e2
* Version 0.0.4aycabta2019-10-291-1/+1
|
* Improve Net::HTTP docs:zverok2019-10-262-6/+12
| | | | | | | * Make links from Net::GenericHTTPRequest work; * Document +dest+ param of HTTPResponse#read_body; * Slightly improve reference to particular response classes from HTTPResponse class docs.
* OptionParser: document into: argumentzverok2019-10-261-3/+12
|
* open-uri: change global docs to reflect that URI.open syntax is preferredzverok2019-10-261-7/+7
|
* Net::FTP: fix formatting problems for #status methodzverok2019-10-261-1/+2
|
* IRB: Document command evaluation history.zverok2019-10-262-10/+57
|
* Update ERB docszverok2019-10-261-8/+21
| | | | | * Actualize Notes about other templating engines; * Document #location= method.
* Make `(#methodname)` a link with --hyperlink-all optionaycabta2019-10-261-1/+1
|
* Make `(#methodname)` a linkNobuyoshi Nakada2019-10-261-1/+1
|
* [ruby/forwardable] Use Gemfile instead of ↵Hiroshi SHIBATA2019-10-261-3/+0
| | | | | | Gem::Specification#add_development_dependency. https://github.com/ruby/forwardable/commit/1e7123a81b
* [ruby/forwardable] Remove string allocation in def_{instance,single}_delegatorsJeremy Evans2019-10-261-2/+2
| | | | https://github.com/ruby/forwardable/commit/1a994c90e1
* [ruby/forwardable] Make def_{instance,single}_delegators skip :__send__ and ↵Jeremy Evans2019-10-261-6/+4
| | | | | | | | | | | :__id__ Previously, __send__ and __id__ were skipped if provided as strings, but not skipped if provided as symbols. Fixes Ruby Bug 8855. https://github.com/ruby/forwardable/commit/2e61c8c66c
* [ruby/forwardable] Update spec.filesHiroshi SHIBATA2019-10-261-1/+1
| | | | https://github.com/ruby/forwardable/commit/1b6991e589
* [ruby/forwardable] Extracted VERSION constant for gemspecHiroshi SHIBATA2019-10-263-6/+8
| | | | https://github.com/ruby/forwardable/commit/387758d45a
* Rename old var name with new nameaycabta2019-10-251-1/+1
|
* [ruby/tracer] Use Gemfile instead of ↵Hiroshi SHIBATA2019-10-251-3/+0
| | | | | | Gem::Specification#add_development_dependency. https://github.com/ruby/tracer/commit/9df7d7937b
* Remove unsused output_method argumentJeremy Evans2019-10-242-9/+3
| | | | Fixes Ruby Bug 9876.
* [ruby/webrick] Don't check tainting in access log escapingJeremy Evans2019-10-241-5/+3
| | | | | | | Only untaint result on Ruby <2.7, as taint support is deprecated in Ruby 2.7+ and no longer has an effect. https://github.com/ruby/webrick/commit/4c430f9410
* [ruby/webrick] Support literal IPv6 addresses in X-Forwarded-HostJeremy Evans2019-10-241-1/+6
| | | | https://github.com/ruby/webrick/commit/6b6990ec81
* [ruby/webrick] Remove the squishing of whitespace in header valuesJeremy Evans2019-10-241-4/+1
| | | | | | | | | | While the stripping of header values is required by RFC 2616 4.2 and RFC 7230 3.2.4, the squishing is not and can break things, such as when one header contains an HMAC of another header. Fixes Ruby Bug 7021. https://github.com/ruby/webrick/commit/8b96088a86
* [ruby/webrick] bump version to 1.5.0Hiroshi SHIBATA2019-10-241-1/+1
| | | | https://github.com/ruby/webrick/commit/00c281caa7
* [ruby/webrick] Remove Webrick::HTTPResponse#to_sJeremy Evans2019-10-241-6/+0
| | | | | | | It is currently broken, and even if it worked, it can cause problems when debugging. See Ruby Bug 10715. https://github.com/ruby/webrick/commit/575dea8656
* Revert "Fixed the require path for e2mmap version file."Hiroshi SHIBATA2019-10-241-1/+1
| | | | This reverts commit ff953a003e03f5f070112ececefab4c07ff4cb0e.
* Fixed the require path for e2mmap version file.Hiroshi SHIBATA2019-10-241-1/+1
|
* Treat only left alt key as meta-key on Windowsaycabta2019-10-241-2/+3
| | | | | | On German keyboard, right alt key acts as like shift key. Ex. right-alt-8 is just "[". This input doesn't have meta-key statement.
* Support forced enter insertion by Ctrl+Enter on Windowsaycabta2019-10-241-2/+5
|