aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net
Commit message (Collapse)AuthorAgeFilesLines
* We don't need "require 'uri'" after "require 'net/http'".Igor Zubkov2021-01-071-1/+0
|
* Update library versions of the default gems.Hiroshi SHIBATA2020-12-224-4/+4
| | | | | They are followed up with https://github.com/ruby/ruby/commit/8fb02b7a97317090e3946e6f2d4a7d034f9699f1
* digest gem is available nowHiroshi SHIBATA2020-12-033-3/+3
|
* Added dependencies for net-popHiroshi SHIBATA2020-12-021-0/+2
|
* Added dependencies for net-imapHiroshi SHIBATA2020-12-021-0/+2
|
* Added dependencies for net-ftpHiroshi SHIBATA2020-12-021-0/+1
|
* Added dependencies for net-httpHiroshi SHIBATA2020-12-021-0/+1
|
* Added dependencies for net-smtpHiroshi SHIBATA2020-12-021-0/+2
|
* Added dependencies for net-protocolHiroshi SHIBATA2020-12-021-0/+3
|
* [ruby/net-smtp] Bump version to 0.2.1Hiroshi SHIBATA2020-11-181-1/+1
| | | | https://github.com/ruby/net-smtp/commit/6e5c09dcc4
* Import net-smtp-0.2.0 from https://github.com/ruby/net-smtpHiroshi SHIBATA2020-11-171-27/+47
|
* Added dependency for net-protocolHiroshi SHIBATA2020-11-065-0/+10
|
* Separate `send` into `public_send` and `__send__`Nobuyoshi Nakada2020-10-273-7/+7
|
* [ruby/net-smtp] Add SNI support to net/smtpnicholas a. evans2020-09-141-0/+1
| | | | https://github.com/ruby/net-smtp/commit/b706942392
* [ruby/net-smtp] Net::SMTP.start arguments are keyword argumentsTOMITA Masahiro2020-09-141-16/+34
| | | | | | | | | The helo argument is not important, but the helo argument must be specified to specify the user and secret arguments. If helo, user, secret, and authtype arguments are keyword arguments, it is not necessary to specify the helo argument. https://github.com/ruby/net-smtp/commit/269774deac
* [ruby/net-smtp] TLS should not check the host name by default.TOMITA Masahiro2020-09-141-1/+1
| | | | | | | | In tlsconnect(), the host name is checked when @ssl_context.verify_mode is not OpenSSL::SSL::VERIFY_NONE, but the verify_mode of @ssl_context generated by default is nil. https://github.com/ruby/net-smtp/commit/bde75a15b5
* Update the license for the default gems to dual licensesHiroshi SHIBATA2020-08-182-2/+2
|
* Added the missing licenses field to some default gemsHiroshi SHIBATA2020-08-184-0/+4
|
* Fixed the inconsistency gemspec location with net-* gems.Hiroshi SHIBATA2020-08-054-4/+4
|
* net-ftp is under `lib/net` instead of `lib/net/ftp`Hiroshi SHIBATA2020-08-031-1/+1
|
* Followed up b2d96abb42abbe2e01f010ffc9ac51f0f9a50002 for net-ftp.Hiroshi SHIBATA2020-08-031-0/+0
|
* Extract version number from the sourceNobuyoshi Nakada2020-07-3016-64/+58
| | | | | | | | | | | "requiring version.rb" strategy has some issues. - cannot work when cross-compiling - often introduces wrong namespace - must know the superclasses - costs at each runtime than at build-time etc.
* [ruby/net-ftp] Moved Net::Ftp::Version to Net::FTPNobuyoshi Nakada2020-07-283-10/+8
| | | | | | | On case-insensitive filesystem, generated Net/FTP.html is overwritten by Net/Ftp.html. https://github.com/ruby/net-ftp/commit/14a6ff5134
* Use typewriter notation for var[:sym] correctlyaycabta2020-07-271-5/+5
|
* Drop to Ruby 2.4Hiroshi SHIBATA2020-06-111-0/+1
|
* [ruby/net-imap] Drop to Ruby 2.4Hiroshi SHIBATA2020-06-111-1/+1
| | | | https://github.com/ruby/net-imap/commit/c3256e3848
* Update docs in net/http.rbKir Shatrov2020-06-051-1/+1
| | | ...to reflect that Net::HTTP.start accepts keep_alive_timeout as an option.
* Fix error raised by Net::HTTPResponse#inflater if the block raisesBenoit Daloze2020-05-311-2/+3
| | | | * See https://bugs.ruby-lang.org/issues/13882#note-6
* Improve documentation for Net::HTTPHeader#set_form [ci skip]Jeremy Evans2020-05-271-16/+36
| | | | Fixes [Misc #16916]
* Ignore exceptions when closing data connections [Bug #16780]Shugo Maeda2020-05-191-8/+8
| | | | Patch by koshigoe (Masataka SUZUKI). Thanks!
* Add missing `,`Kazuhiro NISHIYAMA2020-05-121-1/+1
|
* Expose SSLContext#extra_chain_cert in Net::HTTPStephen Touset2020-05-121-0/+6
| | | | | | | | | | Currently, Net::HTTP can only send a single SSL certificate when it establishes a connection. Some use-cases involve sending an entire certificate chain to the destination; for this, SSLContext supports assigning to #extra_chain_cert=. This adds support in Net::HTTP for exposing this underlying SSLContext property to end-users. [Feature #9758]
* The current net-http is only works with Ruby 2.6+Hiroshi SHIBATA2020-04-081-1/+1
|
* Add workaround for test-bundler failureKazuhiro NISHIYAMA2020-03-126-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/ruby/actions/runs/500526558?check_suite_focus=true#step:16:127 ``` Failures: 1) Bundler.setup when Bundler is bundled doesn't blow up Failure/Error: expect(err).to be_empty expected `"fatal: not a git repository (or any of the parent directories): .git\nfatal: not a git repository (o...the parent directories): .git\nfatal: not a git repository (or any of the parent directories): .git".empty?` to return true, got false Commands: $ /home/runner/work/actions/actions/snapshot-master/ruby \ -I/home/runner/work/actions/actions/snapshot-master/lib:/home/runner/work/actions/actions/snapshot-master/spec/bundler \ -rsupport/hax -rsupport/artifice/fail \ /home/runner/work/actions/actions/snapshot-master/libexec/bundle install --retry 0 Resolving dependencies... Using bundler 2.1.4 Bundle complete! 1 Gemfile dependency, 1 gem now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git # $? => 0 $ /home/runner/work/actions/actions/snapshot-master/ruby \ -I/home/runner/work/actions/actions/snapshot-master/lib:/home/runner/work/actions/actions/snapshot-master/spec/bundler \ -rsupport/hax -rsupport/artifice/fail \ /home/runner/work/actions/actions/snapshot-master/libexec/bundle exec ruby -e \ require\ \'bundler\'\;\ Bundler.setup fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git # $? => 0 # ./spec/bundler/runtime/setup_spec.rb:1056:in `block (3 levels) in <top (required)>' # ./spec/bundler/spec_helper.rb:111:in `block (3 levels) in <top (required)>' # ./spec/bundler/spec_helper.rb:111:in `block (2 levels) in <top (required)>' # ./spec/bundler/spec_helper.rb:78:in `block (2 levels) in <top (required)>' make: *** [yes-test-bundler] Error 1 ```
* Fix an example committed to a wrong place [ci skip]Takashi Kokubun2020-03-101-1/+1
|
* Let Net::HTTP.get take request headers (#2957)Takashi Kokubun2020-03-101-10/+24
| | | | | | | | | | | * Let Net::HTTP.get take request headers * Add more test cases for no header usages * Add examples with request headers * Add a NEWS entry [ci skip] [Feature #16686]
* Specify explicit separator not to be affected by $;Nobuyoshi Nakada2020-03-082-2/+2
|
* Removed unnecessary `chomp`Nobuyoshi Nakada2020-03-071-1/+1
| | | | | As `String#split` with the default argument drops trailing newline as a separator, preceding `String#chomp` is futile.
* Fixed net-ftp sync task and resync from standalone repoHiroshi SHIBATA2020-02-211-2/+2
|
* Promote net-http to the default gems.Hiroshi SHIBATA2020-02-213-1/+35
| | | | | test/net/http/test_https.rb: rename fixture methods to read_fixture because it conflicts with test-unit gem.
* Promote net-ftp to default gemsHiroshi SHIBATA2020-02-213-1/+35
|
* Fallback to load version file in ruby core repositoryHiroshi SHIBATA2020-02-201-1/+5
|
* Promote net-imap to the default gemsHiroshi SHIBATA2020-02-203-1/+31
|
* * append newline at EOF. [ci skip]git2020-02-171-1/+1
|
* Promote net-protocol to default gemsHiroshi SHIBATA2020-02-172-0/+34
|
* Unnamed groups are not captured when named groups are usedNobuyoshi Nakada2020-01-301-4/+4
|
* Add #verify_hostname= and #verify_hostname to skip hostname verification (#2858)Yuta Iwama2020-01-231-3/+11
| | | | | | | | | | | | According to https://github.com/ruby/openssl/pull/60, > Currently an user who wants to do the hostname verification needs to call SSLSocket#post_connection_check explicitly after the TLS connection is established. if an user who wants to skip the hostname verification, SSLSocket#post_connection_check doesn't need to be called https://bugs.ruby-lang.org/issues/16555
* lib/net/imap.rb: use `&blk` instead of Kernel#proc with no blockYusuke Endoh2020-01-091-4/+5
| | | | [Bug #16488]
* Fixed misspellingsNobuyoshi Nakada2019-12-201-1/+1
| | | | Fixed misspellings reported at [Bug #16437], for default gems.
* Use while instead of loopKazuhiro NISHIYAMA2019-12-171-12/+4
|