Граф коммитов

863 Коммитов

Автор SHA1 Сообщение Дата
BurdetteLamar 0d1d779c23 [ruby/optparse] Beginnings of tutorial
https://github.com/ruby/optparse/commit/f209276f79
2021-04-08 12:09:29 +09:00
Samuel Williams 511acba4ae Update method name and add documentation. 2021-03-30 18:38:42 +13:00
Kenichi Kamiya 31ae931e16
[Doc] Update regex engine to Onigumo in doc/extension.* [ci skip]
regex.c has been removed in 8e65234086
2021-03-27 17:22:57 +09:00
Kazuki Tsujimoto 21863470d9
Pattern matching pin operator against expression [Feature #17411]
This commit is based on the patch by @nobu.
2021-03-21 15:14:31 +09:00
Kenichi Kamiya c7e6914b39 [Doc] Fix multiple `Magic Comments` example
[ci skip]
2021-03-13 15:44:34 +09:00
Lars Kanis 09c74a1702 [DOC] Fix copy+paste mistake [ci skip]
It was introduced in commit 089b7a8460 .
2021-02-23 10:48:31 +09:00
Lars Kanis 089b7a8460
Improve extension docs, remove deprecated rb_cData [ci skip]
rb_cData is deprecated and the characteristic alloc_func was already
removed in ruby-3.0. So this updates the recommendation accordingly.

It also adds fdbm_alloc() in order to show the allocation process
and to gives TypedData_Make_Struct() more context.

Moreover it describes fdbm_aref(), so that the relation to
rb_define_method() is shown.

And fdbm_aref() makes use of GetDBM() now, to show how this macro
might be used.
2021-02-22 12:18:16 +09:00
Nobuyoshi Nakada f3f78f9654
[DOC] Improved regexp.rdoc [ci skip]
* Sub-sectioned "Repetition" section
* Added examples of "Possessive match"
2021-02-11 22:20:41 +09:00
Use amazing-print instead 189bf0106f Fix broken link
The document should point to doc/syntax/comments.rdoc (with an "s") as there currently no `doc/syntax/comment.rdoc`
2021-02-09 13:16:32 -08:00
Use amazing-print instead e7a831de8e Improve the wording surrounding `Proc#isolate`
This change moves the statement that `Proc#isolate` isn't yet exposed for Ruby users to the first time the method is mentioned. This is so that readers don't waste time trying to look it up in Ruby docs.

There was also unnecessary duplication:
```
Paragraph 1: "Given block will be isolated from outer scope by Proc#isolate."
Paragraph 2: "Given block will be isolated by Proc#isolate method"
```
So I combined the two sentences and slightly improved the wording for clarity.
2021-02-09 08:22:37 -05:00
Masataka Pocke Kuwabara 23a833ee67
Add File.absolute_path? to NEWS-2.7.0 [ci skip]
`File.absolute_path?` has been added since Ruby 2.7.0, but it isn't
mentioned in the NEWS. So this patch adds a NEWS entry.

ref: https://bugs.ruby-lang.org/issues/15868

Co-authored-by: nagachika <nagachika@ruby-lang.org>
2021-02-01 14:01:47 +09:00
Hiroshi SHIBATA 19902e2e0a
Update the maintainer of net-smtp 2021-01-17 08:14:02 +09:00
Burdette Lamar e7f1afbccd
Additions to method_documentation.rdoc (#4065)
* Additions to method_documentation.rdoc
2021-01-15 14:25:56 -06:00
Marc-Andre Lafortune 65787f18b9 Typo fixes [doc] 2021-01-12 23:30:47 -05:00
Adam Pogwizd 75212f2fc6
Update wording in ractor.md (#4056) [doc] 2021-01-12 23:28:34 -05:00
Marcus Stollsteimer 3108ad7bf3 [DOC] Fix grammar: "is same as" -> "is the same as" 2021-01-05 15:13:53 +01:00
Marc-Andre Lafortune a495cb2fd5 NEWS-3.0.0: backquote a few code related words. [doc] 2021-01-02 21:55:03 -05:00
Marc-Andre Lafortune fdf3539967 NEWS: We have links now, and there is no changelog anymore [doc] 2021-01-02 21:54:00 -05:00
Marcus Stollsteimer 228ad7d84b doc/ractor.md: Fix indentation
Reintroduce removed empty line to fix indentation on rendered page
(the first line is _not_ indented despite the leading spaces,
and ends up "outdented" compared to the rest of the block).

Also add a missing "-".
2020-12-27 22:39:42 +01:00
Sampat Badhe 677ccb927c [ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)
https://github.com/ruby/csv/commit/77ccf486fe
2020-12-27 15:27:03 +09:00
Marcus Stollsteimer ab6adf2772 doc/ractor.md: Fix indentation in code blocks
Remove unnecessary indentation of code in code blocks
(it is also not rendered properly in the generated HTML).

Also remove an empty line.
2020-12-26 22:51:48 +01:00
Marcus Stollsteimer 3fc53de5c9 methods.rdoc: Improve method definition documentation
* typos, grammar, formatting
* use `concrete_method` again in `regular_method` example,
  to better distinguish from `forwarding_method` example
* clarify that leading arguments before `...` require Ruby 3.0
2020-12-26 10:40:52 +01:00
Marcus Stollsteimer ce65a7687f methods.rdoc: Clarify "currently" means "in 2.7" here 2020-12-26 10:40:47 +01:00
zverok 255ee4de8c Update method definition documentation
* Add endless methods
* Add argument forwarding ...
2020-12-25 22:10:09 +09:00
Nobuyoshi Nakada aaf0474e76
Adjusted the heading level of "Block Arguments" [ci skip] 2020-12-25 22:09:22 +09:00
Kazuhiro NISHIYAMA 7e3d710a22
Copy NEWS.md to doc/NEWS-3.0.0.md and update for 3.1.0 2020-12-25 17:31:48 +09:00
Kenta Murata 9b091084a1
[memory_view] Add documentation [ci skip] 2020-12-25 01:44:54 +09:00
Marcus Stollsteimer 9f9a389d95 doc/syntax/pattern_matching.rdoc: fix typos, grammar, style 2020-12-24 11:35:03 +01:00
Marcus Stollsteimer a4419a55f0 doc/extension.ja.rdoc: remove trailing whitespace 2020-12-24 11:31:06 +01:00
Marcus Stollsteimer c601a7ecfd doc/keywords.rdoc: fix typo 2020-12-24 11:30:30 +01:00
Yusuke Endoh 1a74fb011d doc/maintainers.rdoc: typo 2020-12-24 18:03:39 +09:00
Koichi Sasada 8664c3ddef update doc/ractor.md 2020-12-24 17:51:47 +09:00
Yusuke Endoh 85f0179479 doc/keywords.rdoc: mention pattern matching in the `in` keyword section 2020-12-24 17:15:24 +09:00
Yusuke Endoh 1729fd8c0a doc/contributing.rdoc: remove outdated content 2020-12-24 17:00:30 +09:00
Marc-Andre Lafortune 8aa299de24 Tweak magic comments [doc] 2020-12-24 01:36:08 -05:00
Koichi Sasada e43b5aa52d remove redundant example.
pointed by @marcandre.
2020-12-24 14:31:01 +09:00
Koichi Sasada 6f29716f9f shareable_constant_value: experimental_copy
"experimental_everything" makes the assigned value, it means
the assignment change the state of assigned value.
"experimental_copy" tries to make a deep copy and make copyied object
sharable.
2020-12-24 14:28:47 +09:00
Koichi Sasada 9aca51e8a5 add about Ractor into extension.rdoc [ci skip] 2020-12-24 12:10:17 +09:00
Marcus Stollsteimer ae26d5bd41 doc/fiber.md: fix typos 2020-12-23 21:56:04 +01:00
Marcus Stollsteimer 458d5175b9 Small improvements in magic comments docs
* remove a duplicate statement
* fix rdoc markup
* fix typos
2020-12-23 19:47:26 +01:00
Marc-Andre Lafortune 8feb40f49a Document shareable_constant_value and other magic constants [doc] 2020-12-23 11:50:33 -05:00
Kazuki Tsujimoto b222a1a494
Fix a message in example code
Thanks to @zverok for the report.
2020-12-23 02:37:27 +09:00
Hiroshi SHIBATA f08cbdbf7d
Move the library to extensions for some of default gems 2020-12-22 20:55:41 +09:00
Samuel Williams 93a56a5e98 Update fiber scheduler documentation. 2020-12-22 23:51:02 +13:00
Kazuki Tsujimoto 5c0abe2d94
Update documentation for pattern matching 2020-12-22 02:08:57 +09:00
Ivan Denysov 435b619a3d fix phrasing in comment 2020-12-20 12:38:11 -05:00
Kazuki Tsujimoto 85ec6cc387
Fix markups and indentation 2020-12-20 13:35:20 +09:00
Kazuki Tsujimoto d37be18af5
Fix typos 2020-12-20 13:25:43 +09:00
Kazuki Tsujimoto 4902f96ee5
Update documentation for pattern matching 2020-12-20 13:22:53 +09:00
Nobuyoshi Nakada 553d6fa0a0
[DOC] Marked dtrace arguments as description list [ci skip] 2020-12-19 15:34:37 +09:00
Nobuyoshi Nakada a5832c9a37
[DOC] Fixed markups in dtrace_probes.rdoc [ci skip]
* `+` can enclose just a word.
* TIDYLINK with braces gets confused when other braces even inside
  code precede.
2020-12-19 15:34:37 +09:00
Kazuhiro NISHIYAMA 85a7f723c3
Fix a typo [ci skip] 2020-12-14 10:26:04 +09:00
Kazuki Tsujimoto 88f3ce12d3
Reintroduce `expr in pat` [Feature #17371] 2020-12-13 11:51:49 +09:00
Hiroshi SHIBATA b084f8abcf Completely removed webrick 2020-12-10 18:06:25 +09:00
Hiroshi SHIBATA 0e73b49b4c Promote webrick to bundled gems 2020-12-10 18:06:25 +09:00
Marc-Andre Lafortune 47ff8de645 Update maintainers list [doc] [ci skip] 2020-12-09 01:03:29 -05:00
Samuel Williams 2553c5f94a Add support for non-blocking `Process.wait`. 2020-12-09 08:55:35 +13:00
Hiroshi SHIBATA 30d4a7ad9a
Update rubygems.org links for publlished default gems. 2020-12-08 21:42:03 +09:00
James Koenig a67cd8a888 -> creates a lambda so this updates the documentation to reflect that 2020-11-30 20:11:18 -05:00
Burdette Lamar 20a9131270 [ruby/csv] RDoc recipes for RFC-compliant generation (#187)
https://github.com/ruby/csv/commit/5adeaff91f
2020-11-24 09:33:55 +09:00
Burdette Lamar d48e688f64 [ruby/csv] RDoc recipes for diagnostics (#186)
https://github.com/ruby/csv/commit/d9e67918e2
2020-11-24 09:33:55 +09:00
Burdette Lamar 9266410c7a [ruby/csv] RDoc Recipes for write converters and RFC 4180 compliance (#185)
https://github.com/ruby/csv/commit/bee48b04c4
2020-11-24 09:33:55 +09:00
Burdette Lamar c5fcafd2fd [ruby/csv] Split recipes into three pages: parsing, generating, filtering (#184)
Co-authored-by: Sutou Kouhei <kou@clear-code.com>

https://github.com/ruby/csv/commit/f0bab6a592
2020-11-24 09:33:55 +09:00
Burdette Lamar 3cfb63fcd8 [ruby/csv] More on Recipes headers (#183)
https://github.com/ruby/csv/commit/d7ae3df801
2020-11-24 09:33:55 +09:00
Burdette Lamar 15e457d6a3 [ruby/csv] Refine RDoc for headers recipes (#182)
https://github.com/ruby/csv/commit/bd8085e126
2020-11-24 09:33:55 +09:00
Burdette Lamar 6e28ec06c1 [ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)
https://github.com/ruby/csv/commit/c52d53761e
2020-11-24 09:33:55 +09:00
Burdette Lamar 4641a9a92b [ruby/csv] Emphasize with-headers over without-headers in recipes (#180)
https://github.com/ruby/csv/commit/c7bbedd28a
2020-11-24 09:33:55 +09:00
Burdette Lamar 76e5e5aaec [ruby/csv] More RDoc for field converters (#179)
https://github.com/ruby/csv/commit/2a4ef5d86a
2020-11-24 09:33:55 +09:00
Burdette Lamar 4be336b1b7 [ruby/csv] Recipes for field converters (#177)
https://github.com/ruby/csv/commit/aea896f030
2020-11-24 09:33:55 +09:00
Burdette Lamar 98d52d873e [ruby/csv] Organize page Recipes better (#176)
https://github.com/ruby/csv/commit/338b7f0d57
2020-11-24 09:33:55 +09:00
Burdette Lamar 8ea293b79c [ruby/csv] Experimenting with recipes in CSV RDoc (#175)
https://github.com/ruby/csv/commit/01ffd0d2de
2020-11-24 09:33:55 +09:00
Samuel Williams afe3cb782b `Fiber.new(blocking: false)` is now the default. 2020-11-08 20:40:52 +13:00
Samuel Williams a08ee8330d Rename to `Fiber#set_scheduler`. 2020-11-07 23:39:50 +13:00
Hiroshi SHIBATA b2ca183cc9
Promote un.rb to the default gems. It's preparation for 3.0.0-preview2. 2020-11-05 20:21:31 +09:00
Hiroshi SHIBATA f211f9cda4
use https 2020-11-04 13:30:27 +09:00
Kazuki Tsujimoto b601532411
Pattern matching is no longer experimental 2020-11-01 13:33:58 +09:00
Nobuyoshi Nakada ea8fc7fdd3
[DOC] standard_library.rdoc: tweaked to make style consistent
[ci skip]
2020-10-31 11:06:01 +09:00
Hiroshi SHIBATA 66bf743b93
Promote debug.rb to default gems.
It have no upstream repo yet. This change is experimental for 3.0.0-preview2.
2020-10-30 21:45:23 +09:00
Hiroshi SHIBATA a1828a1ff4
Promote win32ole to default gems.
But win32ole gem is still experimental for 3.0.0-preview2.
  I'm working to extract this library on https://github.com/ruby/win32ole.
2020-10-30 15:18:50 +09:00
Hiroshi SHIBATA f6680c9ad1
Added rbs and typeprof to doc/* 2020-10-20 21:33:02 +09:00
Hiroshi SHIBATA 3f97940252
Followed up with 708413807a
* Added sync task for digest
  * Update doc/* for default gems
  * Update the latest version of gemspec
2020-10-19 18:56:19 +09:00
Hiroshi SHIBATA 9aab916990
Promote pathname to default gems 2020-10-14 14:42:53 +09:00
Hiroshi SHIBATA 1e316edf60
Promote drb to the default gems 2020-10-14 14:42:53 +09:00
Victor Goff 1336698294 Respectively, instead of respentively 2020-10-12 13:08:13 +09:00
Benoit Daloze bfc1c7205d Add Ractor#receive and Ractor.receive and use it in all places
* Keep Ractor#recv/Ractor.recv as an alias for now.
2020-10-10 12:48:09 +02:00
Hiroshi SHIBATA 0f9edf2f48
Promote prettyprint to default gems 2020-10-08 16:40:46 +09:00
Hiroshi SHIBATA 2711e3bab9
Promote pp to default gems 2020-10-08 16:40:46 +09:00
Svyatoslav Kryukov 3a3000f577 Fix traditional Ring example in Actor-model 2020-10-05 10:35:11 -04:00
Gwitr 74aaa8e7ab Update marshal.rdoc 2020-10-02 02:04:24 -04:00
Nobuyoshi Nakada dcb705ace7
doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip] 2020-09-29 15:28:09 +09:00
Yusuke Endoh 2e947bc181 doc/syntax/literals.rdoc: explain `#@foo` and `#$foo` 2020-09-29 14:39:52 +09:00
Samuel Williams f7aa51b2b8 Update NEWS & documentation relating to scheduler. 2020-09-21 15:28:03 +12:00
Kazuhiro NISHIYAMA e4dbb91f4c
Fix typos [ci skip]
s/overriden/overridden/
2020-09-17 20:34:59 +09:00
Samuel Williams 132453fa52 Rename `Fiber{}` to `Fiber.schedule{}`. 2020-09-14 16:44:09 +12:00
Hiroshi SHIBATA 6042b7433d
Promote time.rb to default gems 2020-09-12 08:29:06 +09:00
Hiroshi SHIBATA 01e0d74965
Promote resolv-replace to default gems 2020-09-11 22:01:08 +09:00
Hiroshi SHIBATA e0675b1c76
Promote resolv to default gems 2020-09-11 21:50:07 +09:00
Hiroshi SHIBATA d1851ba5b9
Promote securerandom to default gems 2020-09-11 21:15:25 +09:00
Hiroshi SHIBATA 2f24818319
Promote open-uri to default gems 2020-09-11 20:38:18 +09:00
Hiroshi SHIBATA 867204c4a5
Promote syslog to default gems 2020-09-10 20:42:53 +09:00