summaryrefslogtreecommitdiff
path: root/lib/feed2imap
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-01-11 12:29:53 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-01-11 12:29:53 +0000
commitfc53a6dca11ba46317deead9e3d308305c06b6f5 (patch)
treed1d0cb64bae60a52fc280fcc9a67ccfab626d4fa /lib/feed2imap
parent075db8674b9e8e31585f57dc7f02f2d03a45f045 (diff)
downloadfeed2imap-fc53a6dca11ba46317deead9e3d308305c06b6f5.tar.gz
feed2imap-fc53a6dca11ba46317deead9e3d308305c06b6f5.tar.bz2
feed2imap-fc53a6dca11ba46317deead9e3d308305c06b6f5.zip
prepared release of 0.6
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@78 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/feed2imap.rb2
-rw-r--r--lib/feed2imap/httpfetcher.rb5
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb
index 78a443c..b0eff19 100644
--- a/lib/feed2imap/feed2imap.rb
+++ b/lib/feed2imap/feed2imap.rb
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
=end
# Feed2Imap version
-F2I_VERSION = '0.5.1'
+F2I_VERSION = '0.6'
require 'feed2imap/config'
require 'feed2imap/cache'
diff --git a/lib/feed2imap/httpfetcher.rb b/lib/feed2imap/httpfetcher.rb
index c72fc32..c7a92c7 100644
--- a/lib/feed2imap/httpfetcher.rb
+++ b/lib/feed2imap/httpfetcher.rb
@@ -33,7 +33,10 @@ MAXREDIR = 5
class HTTPFetcher
def HTTPFetcher::fetcher(baseuri, uri, lastcheck, recursion)
http = Net::HTTP::new(uri.host, uri.port)
- http.use_ssl = true if uri.scheme == 'https'
+ if uri.scheme == 'https'
+ http.use_ssl = true
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
+ end
if defined?(Feed2Imap)
useragent = "Feed2Imap v#{Feed2Imap.version} http://home.gna.org/feed2imap/"
else