api_client 0.5.17 → 0.5.18

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
- SHA1:
3
- metadata.gz: 6a75e24776792dbb8507f43cd42915a1651409ee
4
- data.tar.gz: aa54cfe2f257889ba8b13d15894efb8168708b3d
2
+ SHA256:
3
+ metadata.gz: e7980882966d6be9d46eb6ccefda12d73f298c304e70978e9f02551306f043e4
4
+ data.tar.gz: 06e03619e8809b5cbfed6d0adb0141aba5534a5e799720894c9b1b89f746b6e6
5
5
  SHA512:
6
- metadata.gz: dcf4b2580510132b97f84e3202d416fa099052d672f8bc8aa4b41e4c8816cb7f933a03e3a5d7b3c725b7a807a0e169c31620380be034a217ca44ed6abecf2abe
7
- data.tar.gz: 6e9eb3aca274ef80ab45e79c52339bbd38c167afc98cde5e043057efcbb268dadc9b99b2e70ac2ea07e318be6a317a8d3b69116194e84d0fa03cc1cdfa6ef70f
6
+ metadata.gz: 2d2603112847dcacdc6a1d81e60ad08c52c4dfe078b1ae08f2dd5965c9f25fc4d03aab868e4731f9d8daf191e5952877e2e32b89987bb0f30c19cf4ae1e6d616
7
+ data.tar.gz: 8259db14092fb9999e9a71be673e5875991f22729ff3664a562e1a5ad593ac33c959abc4afc257d963d841293c7b5baabfd0c29e3c68e49f26e787dfebb7a01f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.5.18
2
+
3
+ * pass along the caller to each `connection` hook
4
+
1
5
  # 0.5.17
2
6
  * fix a bug where logger on debug level thrown an encoding error #19
3
7
 
@@ -24,7 +24,7 @@ module ApiClient
24
24
  klass = Connection.const_get((@adapter || Connection.default).to_s.capitalize)
25
25
  @connection = klass.new(@endpoint , @options || {})
26
26
  hooks = @scopeable.connection_hooks || []
27
- hooks.each { |hook| hook.call(@connection) }
27
+ hooks.each { |hook| hook.call(@connection, self) }
28
28
  @connection
29
29
  end
30
30
 
@@ -1,3 +1,3 @@
1
1
  module ApiClient
2
- VERSION = "0.5.17"
2
+ VERSION = "0.5.18"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.17
4
+ version: 0.5.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Bunsch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2018-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project: api_client
168
- rubygems_version: 2.6.13
168
+ rubygems_version: 2.7.7
169
169
  signing_key:
170
170
  specification_version: 3
171
171
  summary: API client builder