aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed deprecation messageNobuyoshi Nakada2019-08-071-1/+1
|
* Revert "Don't echo results of assignment expressions"aycabta2019-08-063-63/+1
| | | | This reverts commit 1ee88c51b3c319b74b69540e111e4a1c24833cad.
* Don't echo results of assignment expressionsSteven Willis2019-08-063-1/+63
|
* Use host_os from RbConfig to detect host OS.Charles Oliver Nutter2019-08-061-1/+1
| | | | | | | | RUBY_PLATFORM on JRuby is always "java", so it will not reflect the host operating system. This regex appears to be the consensus way to detect Windows based on a search of Ruby code on Github: https://github.com/search?q=%2Fmswin%7Cmsys%7Cmingw%7Ccygwin%7Cbccwin%7Cwince%7Cemc%2F&type=Code
* Remove obsolete TODO commentaycabta2019-08-061-1/+1
|
* Update Unicode URL to 12.1.0aycabta2019-08-061-1/+1
|
* Improve same directory detection in FileUtilsJustin Collins2019-08-061-2/+5
| | | | Closes: https://github.com/ruby/ruby/pull/1425
* [rubygems/rubygems] Use the standard RUBY_ENGINE_VERSION instead of ↵Benoit Daloze2019-08-054-21/+10
| | | | | | | | | JRUBY_VERSION * RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby. * There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION. https://github.com/rubygems/rubygems/commit/431d0aefdd
* [rubygems/rubygems] Use gsub with HashKazuhiro NISHIYAMA2019-08-051-2/+2
| | | | https://github.com/rubygems/rubygems/commit/83eced0b39
* [rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73bronzdoc2019-08-052-0/+11
| | | | https://github.com/rubygems/rubygems/commit/5c3158d975
* [rubygems/rubygems] Fixed to warn with shadowing outer local variable.Hiroshi SHIBATA2019-08-051-4/+4
| | | | https://github.com/rubygems/rubygems/commit/b0588a87b1
* [rubygems/rubygems] Remove FIXME commentbronzdoc2019-08-051-2/+0
| | | | https://github.com/rubygems/rubygems/commit/5a1d3d618d
* [ruby/rexml] gemspec: updateSutou Kouhei2019-08-041-1/+0
| | | | https://github.com/ruby/rexml/commit/404bd99a7c
* [ruby/rexml] xpath: add missing value conversions for equality and ↵Kouhei Sutou2019-08-041-20/+39
| | | | | | | | | | relational expressions GitHub: fix #18 Reported by Mirko Budszuhn. Thanks!!! https://github.com/ruby/rexml/commit/0dca2a2ba0
* [ruby/rexml] xpath number: fix a bug that false is converted to NaNKouhei Sutou2019-08-041-10/+7
| | | | | | | | | | GitHub: fix #18 It must be 0. Reported by Mirko Budszuhn. Thanks!!! https://github.com/ruby/rexml/commit/b48f3afa3b
* [ruby/rexml] xpath local_name: fix a bug that nil is returned for ↵Kouhei Sutou2019-08-041-2/+3
| | | | | | | | nonexistent case It must be an empty string. https://github.com/ruby/rexml/commit/81bc7cd4f5
* [ruby/rexml] xpath boolean: implementKouhei Sutou2019-08-041-11/+16
| | | | https://github.com/ruby/rexml/commit/feb8ddb1ec
* [ruby/rexml] xpath: fix a bug for equality or relational expressionsKouhei Sutou2019-08-042-110/+86
| | | | | | | | | | | GitHub: fix #17 There is a bug when they are used against node set. They should return boolean value but they returned node set. Reported by Mirko Budszuhn. Thanks!!! https://github.com/ruby/rexml/commit/a02bf38440
* [ruby/rexml] Use PPKouhei Sutou2019-08-041-1/+6
| | | | https://github.com/ruby/rexml/commit/185062a4a4
* [ruby/rexml] xpath: add support for changing to debug mode by environment ↵Kouhei Sutou2019-08-041-16/+19
| | | | | | variable https://github.com/ruby/rexml/commit/59378a16ea
* [ruby/rexml] Bump versionKouhei Sutou2019-08-041-1/+1
| | | | https://github.com/ruby/rexml/commit/54452c103a
* [ruby/rexml] Message less confusing error to human (#16)ujihisa2019-08-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * Message less confusing error to human * Problem: Following error message is not helpful, because you have to reason that '' actually means it's in the top-level, and the 'div' (not '</div>') is an end tag require "rexml/parsers/lightparser" REXML::Parsers::LightParser.new('</div>').parse #=> Missing end tag for '' (got 'div') * Solution: add a special case in error handling just to change the error message require "rexml/parsers/lightparser" REXML::Parsers::LightParser.new('</div>').parse #=> Unexpected top-level end tag (got 'div') * Refactor by removing unnecessary `md` check * Thanks @a_matsuda to review this at asakusa.rb! https://github.com/ruby/rexml/commit/f6528d4477
* [ruby/rexml] Fix crash with nil XPath variables (#13)Alyssa Ross2019-08-041-4/+1
| | | | | Patch by Alyssa Ross. Thanks!!! https://github.com/ruby/rexml/commit/2a53c54f58
* [ruby/rexml] use #inspect to print meta-characters in error messagesFUJI Goro (gfx)2019-08-041-4/+4
| | | | https://github.com/ruby/rexml/commit/a124a19b9a
* [ruby/rexml] Bump versionKouhei Sutou2019-08-041-1/+1
| | | | https://github.com/ruby/rexml/commit/c0e3f14564
* [ruby/rexml] Fix attribute's default namespace behaviorKouhei Sutou2019-08-043-21/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: It's a backward incompatible change. If we have any serious problems with this change, we may revert this change. The XML namespace specification says the default namespace doesn't apply to attribute names but it does in REXML without this change: https://www.w3.org/TR/xml-names/#uniqAttrs > the default namespace does not apply to attribute names REXML reports a parse error for the following XML that is described as a valid XML in the XML nsmaspace specification without this change: <!-- http://www.w3.org is bound to n1 and is the default --> <x xmlns:n1="http://www.w3.org" xmlns="http://www.w3.org" > <good a="1" b="2" /> <good a="1" n1:a="2" /> </x> If attribute doesn't have prefix, the attribute should return "" for both #prefix and #namespace. https://github.com/ruby/rexml/commit/9e4fd552bc
* [ruby/rexml] FormatKouhei Sutou2019-08-041-10/+12
| | | | https://github.com/ruby/rexml/commit/2384586811
* [ruby/rexml] Revert "xpath: remove needless nil check"Kouhei Sutou2019-08-041-2/+6
| | | | | | | | This reverts commit 61b73c1bf8dc64d97fba7f0a8c503c24b11313f5. "*:local_name" becomes prefix=nil. https://github.com/ruby/rexml/commit/9e7dd4cd4e
* [ruby/rexml] xpath: remove needless nil checkKouhei Sutou2019-08-041-6/+2
| | | | | | It must not be nil. https://github.com/ruby/rexml/commit/61b73c1bf8
* [ruby/rexml] Add a TODO for Attribute#namespaceKouhei Sutou2019-08-041-0/+14
| | | | https://github.com/ruby/rexml/commit/70310a06e5
* [ruby/rexml] xpath: fix a bug that no namespace attribute isn't matched with ↵Kouhei Sutou2019-08-041-1/+5
| | | | | | | | | | prefix [ruby-list:50733] Reported by Yasuhiro KIMURA. Thanks!!! https://github.com/ruby/rexml/commit/8f3c5c176a
* [ruby/rexml] Bump versionKouhei Sutou2019-08-041-1/+1
| | | | https://github.com/ruby/rexml/commit/0f79e71210
* change call CGI methods from :: to .Semyon Pupkov2019-08-046-31/+31
| | | | Closes: https://github.com/ruby/ruby/pull/1749
* [bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated.Hiroshi SHIBATA2019-08-032-5/+1
| | | | https://github.com/bundler/bundler/commit/5215ae7fa3
* [bundler/bundler] Point to CoC which contains the contributor covenantAdam Wanninger2019-08-031-1/+2
| | | | https://github.com/bundler/bundler/commit/a94f74682e
* [bundler/bundler] Bump rubocop to 0.74.0David Rodríguez2019-08-033-3/+3
| | | | | | | And reenable exclusion because the bug why we added them has been fixed. See https://github.com/rubocop-hq/rubocop/issues/6861. https://github.com/bundler/bundler/commit/bda63fcffc
* [bundler/bundler] net-http-persistent 3.1.0 has been releasedDavid Rodríguez2019-08-033-9/+31
| | | | https://github.com/bundler/bundler/commit/ffb7d6fa53
* [bundler/bundler] Adapt to the way my automatiek patch worksDavid Rodríguez2019-08-031-1/+1
| | | | https://github.com/bundler/bundler/commit/b8ee4aec0b
* [bundler/bundler] Bump net-http-persistent to 3.0.1David Rodríguez2019-08-0312-440/+811
| | | | | | | | | | | | | * Adds an extra artifice task to vendorize new `connection_pool` dependency. * Cherry-pick's needed Windows fix not yet merged into master branch of `net-http-persistent`. * Update bundler usages to be compatible with the new version, and fix unit specs. https://github.com/bundler/bundler/commit/0575baa6bb
* [bundler/bundler] Enable `Style/UnneededInterpolation` copDavid Rodríguez2019-08-033-3/+3
| | | | https://github.com/bundler/bundler/commit/4c6a3c3cf7
* [bundler/bundler] Check for straneous quotesDavid Rodríguez2019-08-031-1/+1
| | | | | | And use single quotes consistenly. https://github.com/bundler/bundler/commit/8b9fbbb2df
* [bundler/bundler] [CurrentRuby] Say we are ruby? when the generic local ↵Samuel Giddins2019-08-031-0/+2
| | | | | | | | | platform is Gem::Platform::RUBY This allows us to always say we're ruby? when force_ruby_platform is set, and fixes using gemspec & force_ruby_platform on windows. https://github.com/bundler/bundler/commit/3cb89b7e5c
* [bundler/bundler] Fully remove compatibility guardDavid Rodríguez2019-08-034-15/+0
| | | | https://github.com/bundler/bundler/commit/2a7a5daba0
* [bundler/bundler] Remove development dependencies from gemspecDavid Rodríguez2019-08-031-7/+0
| | | | | | And refactor development setup. https://github.com/bundler/bundler/commit/f288806d02
* [bundler/bundler] RUBY_ENGINE should always be defined after 1.8.7David Rodríguez2019-08-033-15/+8
| | | | https://github.com/bundler/bundler/commit/d6c9196d18
* [bundler/bundler] Add exclamation mark to methodDavid Rodríguez2019-08-031-2/+2
| | | | | | | | | To indicate that it can raise. Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/584e841624
* [bundler/bundler] Move `strict` to an attributeDavid Rodríguez2019-08-031-8/+8
| | | | | | | Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/7b68d86bdd
* [bundler/bundler] Extract some methodsDavid Rodríguez2019-08-031-19/+31
| | | | | | | Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/027aba0cff
* [bundler/bundler] Unfold message to single line for readabilityDavid Rodríguez2019-08-031-2/+1
| | | | https://github.com/bundler/bundler/commit/d845a213ca
* [bundler/bundler] Extract a `print_gems` methodGuillermo Guerrero2019-08-031-16/+13
| | | | https://github.com/bundler/bundler/commit/0d8c8d207e