nxt_http_client 0.1.3 → 0.1.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: 34cf78527b0b50b72008ea62c31efd808e4eb7a3119cbed5e9d64b6d87e18344
4
- data.tar.gz: 1fca0f2fb77da741b967ff0737c6911e54848a0e1b08ba7ccf45a4663b31ed05
3
+ metadata.gz: eabd4a132e1bff00c6a87e63f51b1e39a5820487aba9b2fead7f99e8bc98240f
4
+ data.tar.gz: 94244dad3262e79f55b099a4cb5bcf3c502c033f58ee5ad5beae2969407df6ff
5
5
  SHA512:
6
- metadata.gz: a75a15e2f55b22c24aed65ceb6f29a8d4723762bb89d28d561c21cc081800b1ddc7b943a205189b6dff3bc92b8260738b4abd298777a3610b078abdd77b7dec1
7
- data.tar.gz: d07682e9d0d3dca24332c513a220689716500b4121d6e6bdd41ca44e4b0cb82276af230288eb7b6aa7c1bdd9072016fc8aa0973e9a8dafed795b746c9dd7fb26
6
+ metadata.gz: 13a6f471b3ec3a7b5c1df3c252b803f9dd097b344190694bfad2d54b237fe44c05915edb8d5f568d52ba9660abb2a45faf53d92baa8f48d1885f9c01bd1a8dbc
7
+ data.tar.gz: 91948e719330bc54a5f72f26bf29e377d8c1a3e49e7e2141fb805445c510b774875e8b10f16096b68eb0450ed0ea560f20ec0a935479e13c230e3b416413779a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_http_client (0.1.3)
4
+ nxt_http_client (0.1.4)
5
5
  activesupport (~> 5.2)
6
6
  typhoeus
7
7
 
@@ -1,7 +1,7 @@
1
1
  module ClientDsl
2
2
 
3
- def register_defaults(defaults = OpenStruct.new, &block)
4
- @defaults = defaults
3
+ def register_defaults(opts = defaults, &block)
4
+ @defaults = opts
5
5
  @defaults.tap { |d| block.call(d) }
6
6
  @defaults
7
7
  end
@@ -52,7 +52,6 @@ module ClientDsl
52
52
 
53
53
  def inherited(child)
54
54
  child.instance_variable_set(:@response_handler, @response_handler.dup)
55
- child.instance_variable_set(:@default_request_options, @default_request_options.deep_dup)
56
55
  child.instance_variable_set(:@base_url, @base_url)
57
56
  child.instance_variable_set(:@before_fire_callback, @before_fire_callback.dup)
58
57
  child.instance_variable_set(:@after_fire_callback, @after_fire_callback.dup)
@@ -1,3 +1,3 @@
1
1
  module NxtHttpClient
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_http_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Robecke