summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-07-29Should match the beginning/end of stringNobuyoshi Nakada
2019-07-29Match suffix for content type more preciselyNobuyoshi Nakada
Suffix needs a dot and should match the end of string.
2019-07-29Chomp html suffix literallyNobuyoshi Nakada
Unescaped dot does not mean a suffix.
2019-07-28[reline] Do not compile regexp for each lineNobuyoshi Nakada
2019-07-28[reline] Do not escape and compile regexp for each byteNobuyoshi Nakada
2019-07-27Ignore history file without saving if permissions cannot be changedJeremy Evans
Fixes [Ruby Bug 13907]
2019-07-27Use JRuby equivalent of RubyVM.compile.Charles Oliver Nutter
RubyVM is specific to CRuby and not supported on JRuby. This is the equivalent operation.
2019-07-26Document and add spec for delegating to constants in ForwardableJeremy Evans
Fixes [Bug #13142]
2019-07-26[ruby/rdoc] Fix image links in rdoc.cssMaxime Lapointe
Every image in the rdoc.css that use url has the wrong one. They end up pointing to `css/images/zoom.png` instead of `images/zoom.png`. Just open this page https://ruby.github.io/rdoc/RDoc/CodeObject.html on chrome and you can see in the console the spam of the failed GET queries. This fixes it. https://github.com/ruby/rdoc/commit/daf36f9894
2019-07-26[ruby/rdoc] Update jQuery to 3.3.1aycabta
https://github.com/ruby/rdoc/commit/17df871ee
2019-07-26[ruby/rdoc] Support nesting text page URLaycabta
RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class or module but it's also used for the replaced name on text pages. This causes a bug when text pages are in nesting directory. This commit fixes #615. https://github.com/ruby/rdoc/commit/d73b915b1e
2019-07-26[ruby/rdoc] Normalization of comment should check languageaycabta
RDoc::Text#normalize_comment that is included RDoc::Comment always remove Ruby style comment indicator "#" and C style comment indicator "/**/", but should check language and remove only the language's comment indicator. https://github.com/ruby/rdoc/commit/ca68ba1e73
2019-07-26[ruby/rdoc] ClassModule#add_comment should receive RDoc::Commentaycabta
https://github.com/ruby/rdoc/commit/3fb03bf399
2019-07-25Check wether multibyte character is splitaycabta
2019-07-25Fix a typo in inspectKazuhiro NISHIYAMA
2019-07-24[rubygems/rubygems] Resolve `@@project_dir` from test file pathsNobuyoshi Nakada
`Dir.pwd` may differ from the source path. Test directories and files should be resolved from test file paths. https://github.com/rubygems/rubygems/commit/e18e7c81b4
2019-07-24Show the caller's locationNobuyoshi Nakada
* lib/net/http/header.rb: show the caller's location instead of the current lines.
2019-07-23Make pkg_config in mkmf include -I cflags in return valueJeremy Evans
This was the historical behavior, it was modified unintentionally by 097c3e9cbbf23718371f08c24b2d2297b039f63f, which started storing these flags in a different global variable. Also, include the incflags when logging, and document that the method modifies $INCFLAGS. Fixes [Bug #10651]
2019-07-20Some keywords, "true", "false", and "nil" should be treated as a variableaycabta
2019-07-19Fix showing doc of "nil.to_s", nil doesn't have #nameaycabta
2019-07-17Get rid of LoadError with $DEBUGNobuyoshi Nakada
2019-07-15Require Ruby 2.4 or later because needs lex_state from Ripperaycabta
2019-07-15Also fixed up with 036039c8a29d3d8045207c111f9bbc481c904998Hiroshi SHIBATA
2019-07-15Fixed LoadError of version file.Hiroshi SHIBATA
2019-07-15Fixed inconsitency locations of default gems.Hiroshi SHIBATA
2019-07-15[ruby/logger] Add option to set the binary mode of the log deviceRafael Mendonça França
Without binmode strings with incompatible encoding can't be written in the file. This is very common in applications that log user provided parameters. We need to allow changing the binnary mode because right now it is impossible to use the built-in log rotation feature when you provide a File object to the LogDevice, and if you provide a filename you can't have binmode. https://github.com/ruby/logger/commit/9114b3ac7e
2019-07-15[ruby/logger] Set filename when initializing logger with a File objectJeremy Evans
This should allow reopen to work. Requested in ruby issue #14595. https://github.com/ruby/logger/commit/bd367aff12
2019-07-15[ruby/logger] Enable `frozen_string_literal: true` in `logger.rb`.Samuel Williams
https://github.com/ruby/logger/commit/2dc832e901
2019-07-15[ruby/logger] Prefer require_relative, it's a little bit faster.Samuel Williams
https://github.com/ruby/logger/commit/1e2aab4bea
2019-07-15[ruby/logger] Update logger.gemspecsonots
https://github.com/ruby/logger/commit/1335a71d98
2019-07-15[ruby/logger] require 'logger/errors' just for compatsonots
https://github.com/ruby/logger/commit/255a51dc10
2019-07-15[ruby/logger] split logger classes/modules into separate filesColby Swandale
https://github.com/ruby/logger/commit/f10ce9fff2
2019-07-15[ruby/logger] Add support for changing severity using bang methods.Samuel Williams
https://github.com/ruby/logger/commit/ae4c6dfcbb
2019-07-15[ruby/logger] Add missing closing "Samuel Giddins
https://github.com/ruby/logger/commit/b4b3caae40
2019-07-15[ruby/logger] Say that logger requires ruby >= 2.3Samuel Giddins
Since it uses `&.`, it can't be used on older rubies https://github.com/ruby/logger/commit/b872f90ab9
2019-07-15[ruby/logger] dont lock bundler to a specific version in travisColby Swandale
https://github.com/ruby/logger/commit/eb5ac229a5
2019-07-15[ruby/logger] remove files that dont need to be included in gem releasesColby Swandale
https://github.com/ruby/logger/commit/9a3be8650f
2019-07-15Change PROMPT_S of simple-promptKazuhiro NISHIYAMA
When input `"` or `/` with simple-prompt, Before: `"` or `/` (prompt disappeared and indent is changed) After: `"> "` or `/> /` (indent is unchanged since `>> `)
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