footrest 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,6 @@ module Footrest
35
35
  end
36
36
 
37
37
  def process_response(env)
38
- env[:raw_body] = env[:body] if preserve_raw?(env)
39
38
  env[:body] = parse(env[:body])
40
39
  end
41
40
 
@@ -70,9 +69,5 @@ module Footrest
70
69
  def parse_response?(env)
71
70
  env[:body].respond_to? :to_str
72
71
  end
73
-
74
- def preserve_raw?(env)
75
- env[:request].fetch(:preserve_raw, @options[:preserve_raw])
76
- end
77
72
  end
78
73
  end
@@ -1,3 +1,3 @@
1
1
  module Footrest
2
- VERSION = '0.3.0' unless defined?(Footrest::VERSION)
2
+ VERSION = '0.3.1' unless defined?(Footrest::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: footrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: