Skip to content

Commit

Permalink
[업데이트] v2.1.1
Browse files Browse the repository at this point in the history
- 테스트 디펜던시 `fakeweb` 동작이 깨지던 부분을 `fakeweb-fi` 모듈로 마이그레이션 (chrisk/fakeweb#57 (comment))
- `rest-client` `2.1>=` 버전에서 `gzip` `Accept-Encoding` 헤더를 제대로 처리하지 못해 반환 데이터가 제대로 잡히지 않던 현상 수정 (#4)
  • Loading branch information
Daeik committed Apr 28, 2020
1 parent 97a51fe commit 16aed9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions clayful.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Gem::Specification.new do |s|

s.name = 'clayful'
s.version = '2.2.0'
s.version = '2.2.1'
s.summary = 'Ruby SDK for Clayful API'
s.description = 'Ruby SDK for Clayful API'
s.authors = ['Daeik Kim']
Expand All @@ -17,9 +17,9 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']

s.add_runtime_dependency 'json', '~> 2.1'
s.add_runtime_dependency 'rest-client', '~> 2.0'
s.add_runtime_dependency 'rest-client', '~> 2.1'

s.add_development_dependency 'test-unit', '~> 3.2'
s.add_development_dependency 'fakeweb', '~> 1.3'
s.add_development_dependency 'fakeweb-fi', '~> 1.3.1'

end
2 changes: 1 addition & 1 deletion lib/clayful.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Clayful
@@base_url = 'https://api.clayful.io'

@@default_headers = {
'Accept-Encoding' => 'gzip',
'Accept-Encoding' => '*',
'User-Agent' => 'clayful-ruby',
'Clayful-SDK' => 'clayful-ruby'
}
Expand Down

0 comments on commit 16aed9c

Please sign in to comment.