1. 06 12月, 2016 1 次提交
  2. 30 11月, 2016 1 次提交
  3. 29 10月, 2016 1 次提交
  4. 14 9月, 2016 1 次提交
  5. 07 8月, 2016 2 次提交
  6. 06 7月, 2016 1 次提交
  7. 07 6月, 2016 1 次提交
    • J
      Do not suggest nonsensical OpenSSL verify modes [ci skip] · 5e3fb2f7
      Jonne Haß 提交于
      SSL_set_verify(3) explains:
      
      SSL_VERIFY_FAIL_IF_NO_PEER_CERT
        Server mode: if the client did not return a certificate, the TLS/SSL
      handshake is immediately terminated with a "handshake failure" alert.
      This flag must
        be used together with SSL_VERIFY_PEER.
      
        Client mode: ignored
      
      SSL_VERIFY_CLIENT_ONCE
        Server mode: only request a client certificate on the initial TLS/SSL
      handshake. Do not ask for a client certificate again in case of a
      renegotiation.
        This flag must be used together with SSL_VERIFY_PEER.
      
        Client mode: ignored
      
      The SMTP connection here uses a OpenSSL socket in client mode,
      suggesting invalid/ignored flags is rather misleading.
      5e3fb2f7
  8. 31 5月, 2016 1 次提交
  9. 16 5月, 2016 1 次提交
    • J
      Action Mailer: Declarative exception handling with `rescue_from`. · e35b98e6
      Jeremy Daer 提交于
      Follows the same pattern as controllers and jobs. Exceptions raised in
      delivery jobs (enqueued by `#deliver_later`) are also delegated to the
      mailer's rescue_from handlers, so you can handle the DeserializationError
      raised by delivery jobs:
      
      ```ruby
      class MyMailer < ApplicationMailer
        rescue_from ActiveJob::DeserializationError do
          …
        end
      ```
      
      ActiveSupport::Rescuable polish:
      * Add the `rescue_with_handler` class method so exceptions may be
        handled at the class level without requiring an instance.
      * Rationalize `exception.cause` handling. If no handler matches the
        exception, fall back to the handler that matches its cause.
      * Handle exceptions raised elsewhere. Pass `object: …` to execute
        the `rescue_from` handler (e.g. a method call or a block to
        instance_exec) against a different object. Defaults to `self`.
      e35b98e6
  10. 10 5月, 2016 1 次提交
  11. 14 4月, 2016 1 次提交
  12. 10 4月, 2016 1 次提交
  13. 04 3月, 2016 1 次提交
  14. 24 2月, 2016 4 次提交
  15. 13 2月, 2016 1 次提交
  16. 06 2月, 2016 2 次提交
  17. 17 12月, 2015 1 次提交
  18. 04 12月, 2015 1 次提交
  19. 03 12月, 2015 1 次提交
  20. 24 11月, 2015 5 次提交
  21. 31 10月, 2015 1 次提交
  22. 30 10月, 2015 9 次提交
  23. 28 9月, 2015 1 次提交