pauldix-feedzirra 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/feedzirra/feed.rb +2 -2
  2. data/lib/feedzirra.rb +1 -1
  3. metadata +1 -1
@@ -100,7 +100,7 @@ module Feedzirra
100
100
  curl.headers["User-Agent"] = (options[:user_agent] || USER_AGENT)
101
101
  curl.headers["If-Modified-Since"] = options[:if_modified_since].httpdate if options.has_key?(:if_modified_since)
102
102
  curl.headers["If-None-Match"] = options[:if_none_match] if options.has_key?(:if_none_match)
103
- # curl.headers["Accept-encoding"] = 'gzip, deflate'
103
+ curl.headers["Accept-encoding"] = 'gzip, deflate' if options.has_key?(:compress)
104
104
  curl.follow_location = true
105
105
  curl.userpwd = options[:http_authentication].join(':') if options.has_key?(:http_authentication)
106
106
 
@@ -216,7 +216,7 @@ module Feedzirra
216
216
  curl.headers["User-Agent"] = (options[:user_agent] || USER_AGENT)
217
217
  curl.headers["If-Modified-Since"] = options[:if_modified_since].httpdate if options.has_key?(:if_modified_since)
218
218
  curl.headers["If-None-Match"] = options[:if_none_match] if options.has_key?(:if_none_match)
219
- # curl.headers["Accept-encoding"] = 'gzip, deflate'
219
+ curl.headers["Accept-encoding"] = 'gzip, deflate' if options.has_key?(:compress)
220
220
  curl.follow_location = true
221
221
  curl.userpwd = options[:http_authentication].join(':') if options.has_key?(:http_authentication)
222
222
 
data/lib/feedzirra.rb CHANGED
@@ -30,5 +30,5 @@ require 'feedzirra/atom'
30
30
  require 'feedzirra/atom_feed_burner'
31
31
 
32
32
  module Feedzirra
33
- VERSION = "0.0.9"
33
+ VERSION = "0.0.10"
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pauldix-feedzirra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix