nxt_http_client 1.0.3 → 1.0.4

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
  SHA256:
3
- metadata.gz: 4260cb5f0853f547f8ab196f0c7d4cb66fc34f3c1aba748d3e0836183ee68f18
4
- data.tar.gz: ef7c3095fe541847fc57eb4ba807f1f9a2e9b3d7413b08980d619805339c4557
3
+ metadata.gz: f15083d70472500d85d5b14313db955407d41c0381253824df06d7b62408be81
4
+ data.tar.gz: c8eac41c1f068d3cfb2892eadda053deb928e8bb1595cade76549d53e72db677
5
5
  SHA512:
6
- metadata.gz: 57806fbcb6fe0f44a47c820a24d4036ca6ae9dc24d1c9cbaa746ecff4567e29aba8f4a000885f461fa6dccf1d049e77c1528d5df0ccecdc731ce81e0b95d7795
7
- data.tar.gz: 97452f30577ad9f0ae35a62be8a82e6c7cf0a99a2d2c35e69d90c6fb0d290f74cdb1c7b787c0ffdfc4d3196255d6f56069f3ebc59e315f83af1bb6a7581c2c19
6
+ metadata.gz: edaeb82434e63eaebe71ddfc93d029d91e468d800dc21b42825136e483ef4353f229df48737eb59f373bea51f5365c8d3ba6faea553b93ac4b4fa4f2eed5c376
7
+ data.tar.gz: 141abc01af4c33257773c42e4d8f6ca82e59034e9ecdbd49adf837b395d0c345bbc493e0e718f2c779d1befeea4057c0ef9a1b5913315a25419349aeec1a8319
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v1.0.4 2022-06-08
2
+ - Fix bug where callbacks were shared between unrelated child client class ([#130](https://github.com/nxt-insurance/nxt_http_client/pull/130))
3
+
1
4
  # v1.0.3 2022-02-08
2
5
 
3
6
  - Relax dependency version constraints, allow activesupport < 8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_http_client (1.0.3)
4
+ nxt_http_client (1.0.4)
5
5
  activesupport (< 8.0)
6
6
  nxt_registry
7
7
  typhoeus
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (7.0.1)
12
+ activesupport (7.0.3)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
@@ -17,7 +17,7 @@ GEM
17
17
  addressable (2.8.0)
18
18
  public_suffix (>= 2.0.2, < 5.0)
19
19
  coderay (1.1.3)
20
- concurrent-ruby (1.1.9)
20
+ concurrent-ruby (1.1.10)
21
21
  crack (0.4.5)
22
22
  rexml
23
23
  diff-lcs (1.5.0)
@@ -25,7 +25,7 @@ GEM
25
25
  ffi (>= 1.15.0)
26
26
  ffi (1.15.5)
27
27
  hashdiff (1.0.1)
28
- i18n (1.9.1)
28
+ i18n (1.10.0)
29
29
  concurrent-ruby (~> 1.0)
30
30
  method_source (1.0.0)
31
31
  minitest (5.15.0)
@@ -37,38 +37,40 @@ GEM
37
37
  pry (0.14.1)
38
38
  coderay (~> 1.1)
39
39
  method_source (~> 1.0)
40
- public_suffix (4.0.6)
40
+ public_suffix (4.0.7)
41
41
  rake (13.0.6)
42
42
  redis (4.6.0)
43
43
  rexml (3.2.5)
44
- rspec (3.10.0)
45
- rspec-core (~> 3.10.0)
46
- rspec-expectations (~> 3.10.0)
47
- rspec-mocks (~> 3.10.0)
48
- rspec-core (3.10.2)
49
- rspec-support (~> 3.10.0)
50
- rspec-expectations (3.10.2)
44
+ rspec (3.11.0)
45
+ rspec-core (~> 3.11.0)
46
+ rspec-expectations (~> 3.11.0)
47
+ rspec-mocks (~> 3.11.0)
48
+ rspec-core (3.11.0)
49
+ rspec-support (~> 3.11.0)
50
+ rspec-expectations (3.11.0)
51
51
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.10.0)
53
- rspec-mocks (3.10.3)
52
+ rspec-support (~> 3.11.0)
53
+ rspec-mocks (3.11.1)
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.10.0)
56
- rspec-support (3.10.3)
55
+ rspec-support (~> 3.11.0)
56
+ rspec-support (3.11.0)
57
57
  rspec_junit_formatter (0.5.1)
58
58
  rspec-core (>= 2, < 4, != 2.12.0)
59
- timecop (0.9.4)
59
+ timecop (0.9.5)
60
60
  typhoeus (1.4.0)
61
61
  ethon (>= 0.9.0)
62
62
  tzinfo (2.0.4)
63
63
  concurrent-ruby (~> 1.0)
64
- vcr (6.0.0)
64
+ vcr (6.1.0)
65
65
  webmock (3.14.0)
66
66
  addressable (>= 2.8.0)
67
67
  crack (>= 0.3.2)
68
68
  hashdiff (>= 0.4.0, < 2.0.0)
69
69
 
70
70
  PLATFORMS
71
+ ruby
71
72
  x86_64-darwin-19
73
+ x86_64-darwin-20
72
74
  x86_64-linux
73
75
 
74
76
  DEPENDENCIES
@@ -46,6 +46,11 @@ module NxtHttpClient
46
46
  callback_chain.call
47
47
  end
48
48
 
49
+ def initialize_copy(original)
50
+ @registry = original.instance_variable_get(:@registry).clone
51
+ super
52
+ end
53
+
49
54
  private
50
55
 
51
56
  attr_reader :registry
@@ -1,3 +1,3 @@
1
1
  module NxtHttpClient
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Robecke
8
8
  - Nils Sommer
9
9
  - Raphael Kallensee
10
10
  - Luetfi Demirci
11
- autorequire:
11
+ autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2022-02-08 00:00:00.000000000 Z
14
+ date: 2022-06-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: typhoeus
@@ -234,7 +234,7 @@ metadata:
234
234
  allowed_push_host: https://rubygems.org
235
235
  homepage_uri: https://github.com/nxt-insurance
236
236
  source_code_uri: https://github.com/nxt-insurance/nxt_http_client
237
- post_install_message:
237
+ post_install_message:
238
238
  rdoc_options: []
239
239
  require_paths:
240
240
  - lib
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  requirements: []
252
252
  rubygems_version: 3.1.6
253
- signing_key:
253
+ signing_key:
254
254
  specification_version: 4
255
255
  summary: NxtHttpClinet is a simple DSL on top the typhoeus http gem
256
256
  test_files: []