esi-sdk 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c966a61f8971da5f008cd9cd8d3dba4bffebb530b151e0e3ec7c71f4dfa91f2
4
- data.tar.gz: 980ec845a0ff053c5d335db7cb05aafc36aeba93a0dcecabe99fdbd33fe674dd
3
+ metadata.gz: 96bfde25cec60466f068690e618f8eb448f287686652529627d83e61bff6a27e
4
+ data.tar.gz: 30a10c563775c08ce91e003fa97a34b72dc48db1b754b39a34d7b7b7398fc3d0
5
5
  SHA512:
6
- metadata.gz: bce020848ad5fa3ed61bfe70e9ca335cb575176e36f06ba0c946a85722d358583a3d0a7bdc4a7485e83e06628b77c0704462776735e11e1f401d818455b7703c
7
- data.tar.gz: 46050e1479e2ee441241baac5b9390af041b4faa0ca7cd658d83cfaf3fe4be52575cc89cc3bd9b437c730632e2ee3de413fa792f5f279789d1fcc3d5ef208d46
6
+ metadata.gz: 4e3e48c1b7e9b03605e0a58a1b9cc7f7d47ae4180efbf0872aef6aec9b187c84febf354f86267694478802f001d2ab0dc5094091ba7789e3be00e16d2217a957
7
+ data.tar.gz: 7f241d000d376edd19b72e743e5f7f5176ce75c32df0468f1544fac413eaa659e651113c4b1332dfecd19f626f8412d9615cd326e85a4d92410cbe5f6ed1682a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # ESI SDK Changelog
2
2
 
3
+ ## [1.1.3](https://github.com/bokoboshahni/esi-sdk-ruby/compare/v1.1.2...v1.1.3) (2021-07-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Use double splat for cache options ([db32f35](https://github.com/bokoboshahni/esi-sdk-ruby/commit/db32f35fe1737af8a856720366829d2da8a036de))
9
+
3
10
  ## [1.1.2](https://github.com/bokoboshahni/esi-sdk-ruby/compare/v1.1.1...v1.1.2) (2021-07-19)
4
11
 
5
12
  ## [1.1.1](https://github.com/bokoboshahni/esi-sdk-ruby/compare/v1.1.0...v1.1.1) (2021-07-19)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- esi-sdk (1.1.2)
4
+ esi-sdk (1.1.3)
5
5
  faraday (~> 1.5)
6
6
  faraday-http-cache (~> 2.2)
7
7
  faraday_middleware (~> 1.0)
data/lib/esi/client.rb CHANGED
@@ -200,7 +200,7 @@ module ESI
200
200
 
201
201
  def url_encoded_connection
202
202
  @url_encoded_connection ||= Faraday.new(base_url, headers: default_headers) do |f|
203
- f.use :http_cache, cache unless cache.empty?
203
+ f.use :http_cache, **cache unless cache.empty?
204
204
  f.request :url_encoded
205
205
  f.request :retry, { exceptions: ESI_RETRY_EXCEPTIONS }
206
206
  f.response :follow_redirects
@@ -210,7 +210,7 @@ module ESI
210
210
 
211
211
  def json_encoded_connection
212
212
  @json_encoded_connection ||= Faraday.new(base_url, headers: default_headers) do |f|
213
- f.use :http_cache, cache unless cache.empty?
213
+ f.use :http_cache, **cache unless cache.empty?
214
214
  f.request :json
215
215
  f.request :retry, { exceptions: ESI_RETRY_EXCEPTIONS }
216
216
  f.response :follow_redirects
data/lib/esi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ESI
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
data/release.config.js CHANGED
@@ -21,10 +21,10 @@ module.exports = {
21
21
  changelogTitle: '# ESI SDK Changelog'
22
22
  }],
23
23
  ['@semantic-release/exec', {
24
- prepareCmd: "VERSION=${nextRelease.version} bundle exec rake set_version"
24
+ prepareCmd: "VERSION=${nextRelease.version} bundle exec rake set_version && bundle install"
25
25
  }],
26
26
  ['@semantic-release/git', {
27
- assets: ['CHANGELOG.md', 'lib/esi/version.rb']
27
+ assets: ['CHANGELOG.md', 'Gemfile.lock', 'lib/esi/version.rb']
28
28
  }],
29
29
  ['@semantic-release/exec', {
30
30
  publishCmd: "bundle exec rake build release:rubygem_push"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esi-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bokobo Shahni