we-call 0.8.0 → 0.9.0

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
  SHA1:
3
- metadata.gz: f561aa7ce01d274aa7bea158b4aeff4e948b5485
4
- data.tar.gz: a19d7d9cd3cfc07f9336feaa1263715a08402cf7
3
+ metadata.gz: f43c92c0bef85414c9bc30d6a6e36000a608e08d
4
+ data.tar.gz: afe98f764a7d361dbe7c4780532fd88a55285014
5
5
  SHA512:
6
- metadata.gz: ee5cd0110bb138997c67de8ca25a67fc1fdbaf96468a02826c39603514b74b4a269a1a3969ae99c41269b81d4b53cf1fd10c71d61ee158953e0b59d8149c2b9f
7
- data.tar.gz: e85fcf9d2ac16f24a1049d98d928658191c96dc402e5dd78326e44b6c3fc36a3179af4baa1433c25ee6447b6e8eb559246193d227687b4363113adb94c2d0ab8
6
+ metadata.gz: a80e16265011e07665a6b44254f43bb2b42bce005c6ade5871b2e97aa240d90f4372008d5a9e1fac91c756867d8c85d69263d3879c6174fe4ee6cda2e92726a2
7
+ data.tar.gz: de12d557bcbf695f7e13997fe84cd78fbd25339f7ce5f3075f832d3b4e410aadbca41a1d4e288d8ac58513ae3a366b9e0b5a46e33777347769927c3a5cabca58
@@ -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
@@ -9,7 +9,6 @@ module We
9
9
  def initialize
10
10
  @app_env_header = 'X-App-Env'
11
11
  @app_name_header = 'X-App-Name'
12
- @detect_deprecations = :active_support
13
12
  end
14
13
  end
15
14
  end
@@ -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
- elsif config.detect_deprecations.respond_to?(:warn)
115
+ if config.detect_deprecations.respond_to?(:warn)
118
116
  options = options.merge({ logger: config.detect_deprecations })
119
117
  end
120
118
  options
@@ -1,5 +1,5 @@
1
1
  module We
2
2
  module Call
3
- VERSION = "0.8.0"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
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.8.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-08-28 00:00:00.000000000 Z
11
+ date: 2018-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus