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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nxt_http_client/client_dsl.rb +2 -3
- data/lib/nxt_http_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eabd4a132e1bff00c6a87e63f51b1e39a5820487aba9b2fead7f99e8bc98240f
|
4
|
+
data.tar.gz: 94244dad3262e79f55b099a4cb5bcf3c502c033f58ee5ad5beae2969407df6ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13a6f471b3ec3a7b5c1df3c252b803f9dd097b344190694bfad2d54b237fe44c05915edb8d5f568d52ba9660abb2a45faf53d92baa8f48d1885f9c01bd1a8dbc
|
7
|
+
data.tar.gz: 91948e719330bc54a5f72f26bf29e377d8c1a3e49e7e2141fb805445c510b774875e8b10f16096b68eb0450ed0ea560f20ec0a935479e13c230e3b416413779a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module ClientDsl
|
2
2
|
|
3
|
-
def register_defaults(
|
4
|
-
@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)
|