Skip to content

Commit 5d1e7d4

Browse files
committed
🎂 🐛 Use Marshal for Faraday serializer. Bump version. Fix #8.
Please see sourcelevel/faraday-http-cache#38 for more information.
1 parent f1b397d commit 5d1e7d4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22
## Version 2
3+
### Version 2.2.3
4+
* Use Marshal serializer to fix encoding error. This is a faraday-http-cache problem, as described in plataformatec/faraday-http-cache#38 (#8)
5+
36
### Version 2.2.2
47
* Fix LoadError by properly requiring faraday-http-cache as a dependency.
58

ghuls-lib.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'ghuls-lib'
3-
s.version = '2.2.2'
3+
s.version = '2.2.3'
44
s.required_ruby_version = '>= 2.0'
55
s.authors = ['Eli Foster']
66
s.description = 'The library used for and by the GHULS applications.'

lib/ghuls/lib.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def self.configure_stuff(opts = {})
1717
gh = Octokit::Client.new(login: user, password: pass) if token.nil?
1818
gh = Octokit::Client.new(access_token: token) unless token.nil?
1919
stack = Faraday::RackBuilder.new do |builder|
20-
builder.use Faraday::HttpCache, shared_cache: false
20+
builder.use Faraday::HttpCache, shared_cache: false, serializer: Marshal
2121
builder.use Octokit::Response::RaiseError
2222
builder.adapter :net_http_persistent
2323
end

0 commit comments

Comments
 (0)