summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-07-31[rubygems/rubygems] Do not replace the cache entry if there is already oneBenoit Daloze
* That way, multiple lookups for the same file always return the same object. https://github.com/rubygems/rubygems/commit/50a431b6db
2019-07-31[rubygems/rubygems] Synchronize access to the Gem::Specification::LOAD_CACHE ↵Benoit Daloze
Hash * It's accessed concurrently, notably when installing a gem with a C extension. https://github.com/rubygems/rubygems/commit/543294d7dd
2019-07-31[rubygems/rubygems] Add a blank line after private to be consistent with the ↵bronzdoc
current style https://github.com/rubygems/rubygems/commit/df7c0e4223
2019-07-31[rubygems/rubygems] Return early if filename is emptybronzdoc
https://github.com/rubygems/rubygems/commit/1b9ab33083
2019-07-31[rubygems/rubygems] Simplify config_file_name assigmentbronzdoc
https://github.com/rubygems/rubygems/commit/1b3154f905
2019-07-31[rubygems/rubygems] Lazy require stringiobronzdoc
https://github.com/rubygems/rubygems/commit/82f0d4ca69
2019-07-31[rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if ↵bronzdoc
available https://github.com/rubygems/rubygems/commit/471239f1fa
2019-07-31[rubygems/rubygems] Move config_file_name logic to its own methodbronzdoc
https://github.com/rubygems/rubygems/commit/ac4596aace
2019-07-31[rubygems/rubygems] Migrate extension builder to use Open3David Rodríguez
Since it works on jruby. https://github.com/rubygems/rubygems/commit/5229e00df4
2019-07-31[rubygems/rubygems] Remove unused methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f2dbf242ea
2019-07-30`/o` should not use with instance variableKazuhiro NISHIYAMA
for example: ``` class C;def initialize(pat);@pat=pat;end;def re;/#{@pat}/o;end;end C.new('1').re #=> /1/ C.new('2').re #=> /1/ ```
2019-07-30Use lowercase letters for IPv6 addresses.Tanaka Akira
Reported by chucke (Tiago Cardoso). Patch by jeremyevans0 (Jeremy Evans). [Bug #14612]
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 `>> `)