summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-20[ruby/csv] Adding call-seq to methods RDoc (#155)Burdette Lamar
* Adding call-seq to methods RDoc Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/dbd860c1cd Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] RDoc: summary lists for options (#154)Burdette Lamar
* RDoc: summary lists for options * Enhanced RDoc for certain attributes and instance methods * Enhanced RDoc for certain attributes and instance methods * Enhanced RDoc for certain attributes and instance methods * Enhanced RDoc for certain attributes and instance methods https://github.com/ruby/csv/commit/72d8a25dc9 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] RDoc remark about instance methods (#152)Burdette Lamar
https://github.com/ruby/csv/commit/76379bbe62 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Revised introductory RDoc (#151)Burdette Lamar
https://github.com/ruby/csv/commit/60f6f1c28f Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Enhanced RDoc for filter (#149)Burdette Lamar
* Enhanced RDoc for filter * Correct return values for ::filter, ::foreach, ::parse * Enhanced RDoc for filter * Remove "returns nil"s Co-authored-by: Sutou Kouhei <kou@clear-code.com> https://github.com/ruby/csv/commit/2c347f9a3d Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Enhancements for RDoc (#148)Burdette Lamar
Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/25dd4cddbb Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Improve RDoc for common options (#146)Burdette Lamar
https://github.com/ruby/csv/commit/223cbee35d Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Organize files in doc/ (#145)Burdette Lamar
https://github.com/ruby/csv/commit/bc9ea859b0 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] RDoc for parse_line (adds headers examples) (#143)Burdette Lamar
* RDoc for parse_line (adds headers examples) * RDoc for parse_line (adds headers examples) https://github.com/ruby/csv/commit/a161be928e Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Added headers to RDoc for CSV.foreach (#142)Burdette Lamar
* Added headers: to RDoc for CSV.foreach * Correct options remark for CSV.generate * Improve citation for option headers https://github.com/ruby/csv/commit/b01945ec3a Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add headers cases to CSV.parse (#141)Burdette Lamar
* Add headers cases to CSV.parse * Adjust call-seq for CSV.parse * Update csv.rb https://github.com/ruby/csv/commit/848c760c43 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add missing file doc/argument_io.rdoc (#140)Burdette Lamar
https://github.com/ruby/csv/commit/e37f04aa5c Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] doc: fix return value of open {} and use File.open {} (#139)Burdette Lamar
* Enhanced RDoc for CSV * Repair example code for foreach https://github.com/ruby/csv/commit/16b425eb37 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Rdoc (#137)Burdette Lamar
Enhancements for open, parse, minor tweaks. https://github.com/ruby/csv/commit/35392f4e45 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add document for CSV.instance (#136)Burdette Lamar
Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/85e293c1ba Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add RDoc links for delegated methods (#135)Burdette Lamar
https://github.com/ruby/csv/commit/1a4b96b418 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add `invalid: :replace` for `CSV.open` (#130)Koichi ITO
This PR adds `invalid: :replace` for `CSV.open`. It is a PR similar to #129. https://github.com/ruby/csv/commit/5bf687341c Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Fix an error for `CSV.open` (#131)Koichi ITO
Follow up to https://github.com/ruby/csv/pull/130/files#r434885191. This PR fixes `ArgumentError` for `CSV.open` when processing invalid byte sequence in UTF-8. https://github.com/ruby/csv/commit/a4b528c209 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add `undef: :replace` for `CSV.open` (#129)Koichi ITO
This PR adds `undef: :replace` option for `CSV.open`. `File.open` has `undef: :replace` option, but `CSV.open` does not. It would be convenient if `CSV.open` could have a shortcut by having `undef: :replace` option. https://github.com/ruby/csv/commit/cff8b18480 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] RDoc for foreach, generate (#127)Burdette Lamar
* Rdoc for foreach * Enhanced Rdoc for CSV.generate https://github.com/ruby/csv/commit/8c26c0ab1f Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/c6577e5b6e Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Enhanced Rdoc (#124)Burdette Lamar
* Enhanced Rdoc for ::new * Rdoc for parse_line * More on parse_line * Make ::new neater with :call-seq: * Make better use of :call-seq: * Rdoc for generate_line * Respond to review https://github.com/ruby/csv/commit/0d42df39cb Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Add missing document files to .gemSutou Kouhei
GitHub: fix GH-125 Reported by joast. Thanks!!! https://github.com/ruby/csv/commit/bf41fa94cf Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/936f15f3cd Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Don't drop stack trace in CSV.parse_lineSutou Kouhei
GitHub: fix GH-120 Reported by Kyle d'Oliveira. Thanks!!! https://github.com/ruby/csv/commit/2959483f90 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] test scanner: specify encoding explicitlySutou Kouhei
https://github.com/ruby/csv/commit/6e83a1de9c Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Fix a bug that write_nil_value or write_empty_value don't work ↵Sutou Kouhei
with non String GitHub: fix GH-123 Reported by asm256. Thanks!!! https://github.com/ruby/csv/commit/b4492139be Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Revert "test: use binary mode explicitly for Ruby 2.7"Sutou Kouhei
This reverts commit 736174d28413a4c36630b0daf2f170c8d2fc9abe. It doesn't solve anything. https://github.com/ruby/csv/commit/0ee3bdd0d3 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] test: use binary mode explicitly for Ruby 2.7Sutou Kouhei
https://github.com/ruby/csv/commit/736174d284 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Enhanced Rdoc for CSV (#122)Burdette Lamar
https://github.com/ruby/csv/commit/cd670595d5 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/edc6cb9022 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Fix a parse bug when split character exists in middle of column valueSutou Kouhei
GitHub: fix #115 Reported by TOMITA Masahiro. Thanks!!! https://github.com/ruby/csv/commit/398b3564c5 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Fix docs for :strip option (#114)TOMITA Masahiro
https://github.com/ruby/csv/commit/fb10925271 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Ensuring StringIO's encoding in CSV.generate (#111)Seiei Miyagi
https://github.com/ruby/csv/commit/dbf55ef008 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Do not loop forever when skip_lines regexp matches zero length ↵Mike MacDonald
with anchors (#110) * Do not loop forever when skip_lines regexp matches zero length with anchors * Remove needless white spaces * Add missing eos check in skip_needless_lines * Simplify test https://github.com/ruby/csv/commit/3b15d4a3e8 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Make CSV::Row#dup return a usable Row (#108)Jim Kane
* Make CSV::Row#dup return a usable Row Previously, calling `dup` on a `CSV::Row` object yielded an object whose copy was too shallow. Changing the clone's fields would also change the fields on the source. This change makes the clone more distinct from the source, so that changes can be made to its fields without affecting the source. * Simplify https://github.com/ruby/csv/commit/64a1ea06fc Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Suppress warningsSutou Kouhei
https://github.com/ruby/csv/commit/b37df55f46 Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20[ruby/csv] Bump versionSutou Kouhei
https://github.com/ruby/csv/commit/284ce810bc Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-20Revert "test/csv/write/test_general.rb: suppress warnings"Nobuyoshi Nakada
This reverts commit 375cf129189f32f7be76ac525035bcde691a63e7, to sync csv from the upstream. Notes: Merged: https://github.com/ruby/ruby/pull/3332
2020-07-19Special case Range#max for integer beginning and Float::Infinity endJeremy Evans
Popular Ruby libraries such as Rails and Rubocop relying on the previous behavior, even though it is technically a bug. The correct behavior is probably raising RangeError, since that is what an endless range raises. Related to [Bug #17017]
2020-07-19Fixed a typoNobuyoshi Nakada
2020-07-19* 2020-07-19 [ci skip]git
2020-07-19Fix Range#max for beginless Integer ranges [Bug #17034]Michael Kohl
* Fix Range#max for beginless Integer ranges * Update test/ruby/test_range.rb * Fix formatting https://github.com/ruby/ruby/pull/3328 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged-By: nobu <nobu@ruby-lang.org>
2020-07-18Optimize Array#min (#3324)Kenta Murata
The benchmark result is below: | |compare-ruby|built-ruby| |:---------------|-----------:|---------:| |ary2.min | 39.105M| 39.442M| | | -| 1.01x| |ary10.min | 23.995M| 30.762M| | | -| 1.28x| |ary100.min | 6.249M| 10.783M| | | -| 1.73x| |ary500.min | 1.408M| 2.714M| | | -| 1.93x| |ary1000.min | 828.397k| 1.465M| | | -| 1.77x| |ary2000.min | 332.256k| 570.504k| | | -| 1.72x| |ary3000.min | 338.079k| 573.868k| | | -| 1.70x| |ary5000.min | 168.217k| 286.114k| | | -| 1.70x| |ary10000.min | 85.512k| 143.551k| | | -| 1.68x| |ary20000.min | 43.264k| 71.935k| | | -| 1.66x| |ary50000.min | 17.317k| 29.107k| | | -| 1.68x| |ary100000.min | 9.072k| 14.540k| | | -| 1.60x| |ary1000000.min | 872.930| 1.436k| | | -| 1.64x| compare-ruby is 9f4b7fc82e. Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2020-07-18Optimize Array#max (#3325)Kenta Murata
The benchmark result is below: | |compare-ruby|built-ruby| |:---------------|-----------:|---------:| |ary2.max | 38.837M| 40.830M| | | -| 1.05x| |ary10.max | 23.035M| 32.626M| | | -| 1.42x| |ary100.max | 5.490M| 11.020M| | | -| 2.01x| |ary500.max | 1.324M| 2.679M| | | -| 2.02x| |ary1000.max | 699.167k| 1.403M| | | -| 2.01x| |ary2000.max | 284.321k| 570.446k| | | -| 2.01x| |ary3000.max | 282.613k| 571.683k| | | -| 2.02x| |ary5000.max | 145.120k| 285.546k| | | -| 1.97x| |ary10000.max | 72.102k| 142.831k| | | -| 1.98x| |ary20000.max | 36.065k| 72.077k| | | -| 2.00x| |ary50000.max | 14.343k| 29.139k| | | -| 2.03x| |ary100000.max | 7.586k| 14.472k| | | -| 1.91x| |ary1000000.max | 726.915| 1.495k| | | -| 2.06x| Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2020-07-18Suppress bell during the testNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3322
2020-07-18* 2020-07-18 [ci skip]git
2020-07-17Fix MonitorMixin when the super's initialize has kwargsMasataka Pocke Kuwabara
Notes: Merged: https://github.com/ruby/ruby/pull/3310
2020-07-16skip inlining cexpr! that are not attr! inline卜部昌平
Requested by ko1. Notes: Merged: https://github.com/ruby/ruby/pull/3314
2020-07-16* 2020-07-16 [ci skip]git