lhc 6.6.0.zipkin.pre.02 → 6.6.0.zipkin.pre.03
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhc/request.rb +2 -1
- data/lib/lhc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2bc1327e52311ae1c2731d5f722ed845dc8a105
|
4
|
+
data.tar.gz: f155c109b398297e20f66c12d0fece66d100ca71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c81778de17035048ae754a841abff3bb1f438b9692344448bf297600e288e338eab5cd990f32733b9ec3dcf0e0637885041b6c6d2ce36222c02658407203d37
|
7
|
+
data.tar.gz: fe7d4392740d6f7e952e6f2c041ff2fb5edb969e9ded6fe6cc3d7190072bcd7efefb5295c9d21dda98fad434201bfb596b49aa5dd95fb50ef42e3c0323e0c9e2
|
data/lib/lhc/request.rb
CHANGED
@@ -8,7 +8,7 @@ class LHC::Request
|
|
8
8
|
|
9
9
|
TYPHOEUS_OPTIONS ||= [:params, :method, :body, :headers, :follow_location]
|
10
10
|
|
11
|
-
attr_accessor :response, :options, :raw, :format, :error_handler, :errors_ignored
|
11
|
+
attr_accessor :response, :options, :raw, :format, :error_handler, :errors_ignored, :interceptor_environment
|
12
12
|
|
13
13
|
def initialize(options, self_executing = true)
|
14
14
|
self.errors_ignored = options.fetch(:ignored_errors, [])
|
@@ -19,6 +19,7 @@ class LHC::Request
|
|
19
19
|
self.iprocessor = LHC::InterceptorProcessor.new(self)
|
20
20
|
self.raw = create_request
|
21
21
|
self.format = options.delete('format') || LHC::Formats::JSON.new
|
22
|
+
self.interceptor_environment ||= {}
|
22
23
|
iprocessor.intercept(:before_request, self)
|
23
24
|
raw.run if self_executing && !response
|
24
25
|
end
|
data/lib/lhc/version.rb
CHANGED