we-call 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/we/call/configuration.rb +0 -1
- data/lib/we/call/connection.rb +2 -4
- data/lib/we/call/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f43c92c0bef85414c9bc30d6a6e36000a608e08d
|
4
|
+
data.tar.gz: afe98f764a7d361dbe7c4780532fd88a55285014
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a80e16265011e07665a6b44254f43bb2b42bce005c6ade5871b2e97aa240d90f4372008d5a9e1fac91c756867d8c85d69263d3879c6174fe4ee6cda2e92726a2
|
7
|
+
data.tar.gz: de12d557bcbf695f7e13997fe84cd78fbd25339f7ce5f3075f832d3b4e410aadbca41a1d4e288d8ac58513ae3a366b9e0b5a46e33777347769927c3a5cabca58
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
|
+
## [v0.9.0] - 2018-09-18
|
9
|
+
### Added
|
10
|
+
- Automatically reports deprecations to ActiveSupport if [activesupport] gem exists ([#21])
|
11
|
+
- Defaults detect_deprecations to nil instead of :active_support
|
12
|
+
|
13
|
+
[activesupport]: https://github.com/rails/rails/tree/master/activesupport
|
14
|
+
[#21]: https://github.com/wework/we-call-gem/pull/21
|
15
|
+
|
16
|
+
## [v0.8.0] - 2018-08-27
|
17
|
+
### Added
|
18
|
+
- Support for Ruby v2.5
|
19
|
+
- Support for Rails v5.2
|
20
|
+
- Support for Faraday v0.14 and v0.15
|
21
|
+
- Automatically reports deprecations to Rollbar if [rollbar] gem exists ([#17])
|
22
|
+
|
23
|
+
[rollbar]: https://github.com/rollbar/rollbar-gem
|
24
|
+
[#17]: https://github.com/wework/we-call-gem/pull/17
|
25
|
+
|
26
|
+
### Breaking
|
27
|
+
- Dropped support for Faraday v0.9 (may still work but its no longer tested or recommended)
|
28
|
+
|
8
29
|
## [v0.7.1] - 2018-02-20
|
9
30
|
### Fixed
|
10
31
|
- Call the gzip middleware to handle gzipped responses, which have been broken since v0.7 for typhoeus users
|
data/lib/we/call/connection.rb
CHANGED
@@ -110,11 +110,9 @@ module We
|
|
110
110
|
end
|
111
111
|
|
112
112
|
def setup_sunset_middleware(faraday)
|
113
|
-
options = { rollbar: :auto }
|
114
|
-
if config.detect_deprecations == :active_support
|
115
|
-
options = options.merge({ active_support: true })
|
113
|
+
options = { rollbar: :auto, active_support: :auto }
|
116
114
|
# Pass something that might be a logger or anything with a warn method
|
117
|
-
|
115
|
+
if config.detect_deprecations.respond_to?(:warn)
|
118
116
|
options = options.merge({ logger: config.detect_deprecations })
|
119
117
|
end
|
120
118
|
options
|
data/lib/we/call/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: we-call
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WeWork Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|