aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [ruby/stringio] Raise an error if encoding conversion not succeededNobuyoshi Nakada2020-07-202-1/+31
| | | | | | | | | | As `rb_str_conv_enc()` returns the argument string object itself unchanged when any conversion failed, check the incompatibility in that case. Fixes https://github.com/ruby/stringio/issues/13 https://github.com/ruby/stringio/commit/ede6bdcc71
* Make StringIO encoding fixedNobuyoshi Nakada2020-07-202-3/+3
| | | | Get rid of affects by default external encoding.
* Remove trailing spaces [ci skip]Nobuyoshi Nakada2020-07-205-6/+6
|
* Move declarations to private `internal/thread.h` header.Samuel Williams2020-07-202-5/+4
|
* Rename `rb_current_thread_scheduler` to `rb_thread_scheduler_if_nonblocking`.Samuel Williams2020-07-204-39/+46
| | | | | Correctly capture thread before releasing GVL and pass as argument to `rb_thread_scheduler_if_nonblocking`.
* Add multi-threaded I/O test.Samuel Williams2020-07-201-0/+23
|
* Improve consistency of tests.Samuel Williams2020-07-203-5/+13
|
* Add more timeouts to macos, mjit, ubuntu and windows workflows.Samuel Williams2020-07-204-0/+6
|
* * 2020-07-20 [ci skip]git2020-07-201-1/+1
|
* [ruby/csv] CSV.generate_line: use the encoding of the first non ASCII field ↵Sutou Kouhei2020-07-202-2/+26
| | | | | | | | as the expected encoding See also: https://github.com/ruby/stringio/issues/13#issuecomment-660543554 https://github.com/ruby/csv/commit/004cf49d18
* [ruby/csv] force_quotes: add support for specifying the target indexes or namesSutou Kouhei2020-07-202-3/+122
| | | | | | | | GitHub: fix GH-153 Reported by Aleksandr. Thanks!!! https://github.com/ruby/csv/commit/8812c58a26
* [ruby/csv] RDoc for converters (#157)Burdette Lamar2020-07-204-224/+484
| | | | | | | | | | | * More on RDoc for converters * More on RDoc for converters * Fix indent Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/6044976160
* [ruby/csv] Adding call-seq to methods RDoc (#155)Burdette Lamar2020-07-201-0/+51
| | | | | | | | | * Adding call-seq to methods RDoc Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/dbd860c1cd
* [ruby/csv] RDoc: summary lists for options (#154)Burdette Lamar2020-07-202-72/+126
| | | | | | | | | | | | | * 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
* [ruby/csv] RDoc remark about instance methods (#152)Burdette Lamar2020-07-201-1/+8
| | | | https://github.com/ruby/csv/commit/76379bbe62
* [ruby/csv] Revised introductory RDoc (#151)Burdette Lamar2020-07-201-68/+147
| | | | https://github.com/ruby/csv/commit/60f6f1c28f
* [ruby/csv] Enhanced RDoc for filter (#149)Burdette Lamar2020-07-201-44/+70
| | | | | | | | | | | | | * 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
* [ruby/csv] Enhancements for RDoc (#148)Burdette Lamar2020-07-201-19/+52
| | | | | Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/25dd4cddbb
* [ruby/csv] Improve RDoc for common options (#146)Burdette Lamar2020-07-203-37/+74
| | | | https://github.com/ruby/csv/commit/223cbee35d
* [ruby/csv] Organize files in doc/ (#145)Burdette Lamar2020-07-2023-30/+30
| | | | https://github.com/ruby/csv/commit/bc9ea859b0
* [ruby/csv] RDoc for parse_line (adds headers examples) (#143)Burdette Lamar2020-07-201-16/+40
| | | | | | | * RDoc for parse_line (adds headers examples) * RDoc for parse_line (adds headers examples) https://github.com/ruby/csv/commit/a161be928e
* [ruby/csv] Added headers to RDoc for CSV.foreach (#142)Burdette Lamar2020-07-201-7/+44
| | | | | | | | | * 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
* [ruby/csv] Add headers cases to CSV.parse (#141)Burdette Lamar2020-07-201-2/+54
| | | | | | | | | * Add headers cases to CSV.parse * Adjust call-seq for CSV.parse * Update csv.rb https://github.com/ruby/csv/commit/848c760c43
* [ruby/csv] Add missing file doc/argument_io.rdoc (#140)Burdette Lamar2020-07-201-0/+5
| | | | https://github.com/ruby/csv/commit/e37f04aa5c
* [ruby/csv] doc: fix return value of open {} and use File.open {} (#139)Burdette Lamar2020-07-201-4/+8
| | | | | | | * Enhanced RDoc for CSV * Repair example code for foreach https://github.com/ruby/csv/commit/16b425eb37
* [ruby/csv] Rdoc (#137)Burdette Lamar2020-07-201-41/+116
| | | | | Enhancements for open, parse, minor tweaks. https://github.com/ruby/csv/commit/35392f4e45
* [ruby/csv] Add document for CSV.instance (#136)Burdette Lamar2020-07-201-66/+94
| | | | | Co-authored-by: Sutou Kouhei <kou@cozmixng.org> https://github.com/ruby/csv/commit/85e293c1ba
* [ruby/csv] Add RDoc links for delegated methods (#135)Burdette Lamar2020-07-201-34/+35
| | | | https://github.com/ruby/csv/commit/1a4b96b418
* [ruby/csv] Add `invalid: :replace` for `CSV.open` (#130)Koichi ITO2020-07-202-2/+35
| | | | | This PR adds `invalid: :replace` for `CSV.open`. It is a PR similar to #129. https://github.com/ruby/csv/commit/5bf687341c
* [ruby/csv] Fix an error for `CSV.open` (#131)Koichi ITO2020-07-202-1/+11
| | | | | | | | 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
* [ruby/csv] Add `undef: :replace` for `CSV.open` (#129)Koichi ITO2020-07-202-0/+29
| | | | | | | | | 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
* [ruby/csv] RDoc for foreach, generate (#127)Burdette Lamar2020-07-201-22/+123
| | | | | | | * Rdoc for foreach * Enhanced Rdoc for CSV.generate https://github.com/ruby/csv/commit/8c26c0ab1f
* [ruby/csv] Bump versionSutou Kouhei2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/c6577e5b6e
* [ruby/csv] Enhanced Rdoc (#124)Burdette Lamar2020-07-201-26/+100
| | | | | | | | | | | | | | | | | * 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
* [ruby/csv] Add missing document files to .gemSutou Kouhei2020-07-201-13/+24
| | | | | | | | GitHub: fix GH-125 Reported by joast. Thanks!!! https://github.com/ruby/csv/commit/bf41fa94cf
* [ruby/csv] Bump versionSutou Kouhei2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/936f15f3cd
* [ruby/csv] Don't drop stack trace in CSV.parse_lineSutou Kouhei2020-07-201-1/+1
| | | | | | | | GitHub: fix GH-120 Reported by Kyle d'Oliveira. Thanks!!! https://github.com/ruby/csv/commit/2959483f90
* [ruby/csv] test scanner: specify encoding explicitlySutou Kouhei2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/6e83a1de9c
* [ruby/csv] Fix a bug that write_nil_value or write_empty_value don't work ↵Sutou Kouhei2020-07-202-5/+5
| | | | | | | | | | with non String GitHub: fix GH-123 Reported by asm256. Thanks!!! https://github.com/ruby/csv/commit/b4492139be
* [ruby/csv] Revert "test: use binary mode explicitly for Ruby 2.7"Sutou Kouhei2020-07-201-1/+1
| | | | | | | | This reverts commit 736174d28413a4c36630b0daf2f170c8d2fc9abe. It doesn't solve anything. https://github.com/ruby/csv/commit/0ee3bdd0d3
* [ruby/csv] test: use binary mode explicitly for Ruby 2.7Sutou Kouhei2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/736174d284
* [ruby/csv] Enhanced Rdoc for CSV (#122)Burdette Lamar2020-07-2022-216/+962
| | | | https://github.com/ruby/csv/commit/cd670595d5
* [ruby/csv] Bump versionSutou Kouhei2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/edc6cb9022
* [ruby/csv] Fix a parse bug when split character exists in middle of column valueSutou Kouhei2020-07-202-3/+13
| | | | | | | | GitHub: fix #115 Reported by TOMITA Masahiro. Thanks!!! https://github.com/ruby/csv/commit/398b3564c5
* [ruby/csv] Fix docs for :strip option (#114)TOMITA Masahiro2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/fb10925271
* [ruby/csv] Ensuring StringIO's encoding in CSV.generate (#111)Seiei Miyagi2020-07-204-25/+38
| | | | https://github.com/ruby/csv/commit/dbf55ef008
* [ruby/csv] Do not loop forever when skip_lines regexp matches zero length ↵Mike MacDonald2020-07-202-1/+8
| | | | | | | | | | | | | | 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
* [ruby/csv] Make CSV::Row#dup return a usable Row (#108)Jim Kane2020-07-202-1/+4
| | | | | | | | | | | | | | * 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
* [ruby/csv] Suppress warningsSutou Kouhei2020-07-201-2/+16
| | | | https://github.com/ruby/csv/commit/b37df55f46
* [ruby/csv] Bump versionSutou Kouhei2020-07-201-1/+1
| | | | https://github.com/ruby/csv/commit/284ce810bc