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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dbb6e2b6d5d0ccc7f366aab3cd56b140135f36e
4
- data.tar.gz: c5d5123bc892714980d032602151c94f5edd0cbe
3
+ metadata.gz: b2bc1327e52311ae1c2731d5f722ed845dc8a105
4
+ data.tar.gz: f155c109b398297e20f66c12d0fece66d100ca71
5
5
  SHA512:
6
- metadata.gz: 2b5dae66477ba3410859897ba899e79a69a7285a4211caaa7e3cc641f46a50a4927c5cfb1304c38790145d290e7761058832ceb68c926a3e433424fd783c5ebb
7
- data.tar.gz: 73b06b7821eae214634372fbd408227f5ce5882858a8e5484fb307b142f90ef9d18bcc78063b80ad4864fd4ab6f64b1ce36ab7d3275797235e920a8d011479be
6
+ metadata.gz: 0c81778de17035048ae754a841abff3bb1f438b9692344448bf297600e288e338eab5cd990f32733b9ec3dcf0e0637885041b6c6d2ce36222c02658407203d37
7
+ data.tar.gz: fe7d4392740d6f7e952e6f2c041ff2fb5edb969e9ded6fe6cc3d7190072bcd7efefb5295c9d21dda98fad434201bfb596b49aa5dd95fb50ef42e3c0323e0c9e2
@@ -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
@@ -1,3 +1,3 @@
1
1
  module LHC
2
- VERSION ||= "6.6.0.zipkin.pre.02"
2
+ VERSION ||= "6.6.0.zipkin.pre.03"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lhc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.6.0.zipkin.pre.02
4
+ version: 6.6.0.zipkin.pre.03
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://github.com/local-ch/lhc/contributors