Mercurial > hg > soundsoftware-site
diff extra/mail_handler/rdm-mailhandler.rb @ 1294:3e4c3460b6ca redmine-2.2
Update to Redmine SVN revision 11972 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:01:12 +0100 |
parents | 433d4f72a19b |
children | 622f24f53b42 261b3d9a4903 |
line wrap: on
line diff
--- a/extra/mail_handler/rdm-mailhandler.rb Mon Jan 07 12:01:42 2013 +0000 +++ b/extra/mail_handler/rdm-mailhandler.rb Fri Jun 14 09:01:12 2013 +0100 @@ -10,8 +10,8 @@ def self.post_form(url, params, headers, options={}) request = Post.new(url.path) request.form_data = params + request.initialize_http_header(headers) request.basic_auth url.user, url.password if url.user - request.initialize_http_header(headers) http = new(url.host, url.port) http.use_ssl = (url.scheme == 'https') if options[:no_check_certificate] @@ -23,7 +23,7 @@ end class RedmineMailHandler - VERSION = '0.2' + VERSION = '0.2.1' attr_accessor :verbose, :issue_attributes, :allow_override, :unknown_user, :no_permission_check, :url, :key, :no_check_certificate