Commit graph

18 commits

Author SHA1 Message Date
Hiroshi SHIBATA
965719f5eb
Fixed the file path for net-imap.gemspec 2021-05-06 15:24:49 +09:00
Hiroshi SHIBATA
5de6f1ab47
Move net-imap.gemspec to under the lib/net/imap directory. 2021-05-06 15:20:35 +09:00
nicholas a. evans
5a02281fab
[ruby/net-imap] Many documentation improvements
* updated obsoleted RFCs to current versions
* linked most references to their RFCs
* linked extension commands to their RFCs
* removed unidiomatic `()` from instance method links
* escaped `IMAP` in a few places
* converted all response structs to explicit classes: this makes much
  nicer rdoc output than listing them all under "constants"
* grouped flags constants into their own sections

9cd562ac84
2021-05-06 15:20:35 +09:00
nicholas a. evans
b0de2e7fe9
[ruby/net-imap] Move send_*_data into net/imap/command_data
Partially implements #10.

64d1080d63
2021-05-06 15:20:35 +09:00
nicholas a. evans
deae61e939
[ruby/net-imap] Move flags to net/imap/flags
Partially implements #10.

2a9afa83bf
2021-05-06 15:20:34 +09:00
nicholas a. evans
337c0e312b
[ruby/net-imap] Move UTF7 & datetime formatting to net/imap/data_encoding
Partially implements #10.

0d43c5e856
2021-05-06 15:20:34 +09:00
nicholas a. evans
4dc7b82427
[ruby/net-imap] move command data formatters to net/imap/command_data
Partially implements #10.

24e929fdd2
2021-05-06 15:20:34 +09:00
nicholas a. evans
affb51045c
[ruby/net-imap] move response data structs to net/imap/response_data
Partially implements #10.

746757b936
2021-05-06 15:20:34 +09:00
nicholas a. evans
395a287736
[ruby/net-imap] move ResponseParser to lib/net/imap/response_parser
Partially implements #10.

c2408aac9a
2021-05-06 15:20:34 +09:00
nicholas a. evans
2fc91da86c
[ruby/net-imap] Clean up authenticators rdoc
Added RFC links to all SASL mechanism specifications.

53ff4b0c09
2021-05-06 15:20:34 +09:00
nicholas a. evans
912f39b2c3
[ruby/net-imap] Update AUTH=PLAIN to be a little closer to RFC4616
* Add authzid support
* must not contain NULL chars
* improve rdoc

a587fc71b7
2021-05-06 15:20:34 +09:00
nicholas a. evans
331005812f
[ruby/net-imap] Move each authenticator to its own file
Also updates rdoc with SASL specifications and deprecations.  Of these
four, only `PLAIN` isn't deprecated!

+@@authenticators+ was changed to a class instance var
+@authenticators+.  No one should have been using the class variable
directly, so that should be fine.

23f241b081
2021-05-06 15:20:33 +09:00
Hiroshi SHIBATA
8f71bb0e4f
Fixed the inconsistency gemspec location with net-* gems. 2020-08-05 20:01:03 +09:00
Nobuyoshi Nakada
b2d96abb42 Extract version number from the source
"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.
2020-07-30 19:03:18 +09:00
Hiroshi SHIBATA
44581d98bb [ruby/net-imap] Drop to Ruby 2.4
c3256e3848
2020-06-11 12:39:31 +09:00
Kazuhiro NISHIYAMA
de10631dcf
Add workaround for test-bundler failure
500526558 (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
```
2020-03-12 19:17:08 +09:00
Hiroshi SHIBATA
3e12b65861
Fallback to load version file in ruby core repository 2020-02-20 21:32:27 +09:00
Hiroshi SHIBATA
e9d872a06e
Promote net-imap to the default gems 2020-02-20 21:24:19 +09:00