bugsnag 6.12.0 → 6.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76848d78a40984859147d99d39fa5354d3a824e5cec39472cfd35fa2bebbf717
4
- data.tar.gz: b7ddc9788d1611ea547b6456bd6f144b335182655db3a3921a51c0a2d2f35761
3
+ metadata.gz: c3ce2f20307b3f7e0d7cd30f97014669b9a439badda047616f9026bac1481d2d
4
+ data.tar.gz: 9b1ed81eec0448fc508b8680c2ee29a967bc3a0b25312c728f9ddaddefe93670
5
5
  SHA512:
6
- metadata.gz: 609cf0cfe81531b7a43c67d377947857e946ef54a75a9ebf400b2c4177cdf90cd1380bc3207a54f2887412a09a6b874aecfdf6708881978702fb829e812565ca
7
- data.tar.gz: 1d5978a27aec3bc4f46dee89ad2ddda3ff7b7341c7369986f9bc8938df00dc8c4c353cd378555d4731fce28633fa9cbd531c747ebfdea03148122daafd62ffc2
6
+ metadata.gz: c5c6e00f784130d7cabc88425ec10093e6bc76cede790b8d7dc4b0fcc29f7abb173ec77abee3f5a4e142b43f341f2369e587162f57af18e7f6c2d8f128477284
7
+ data.tar.gz: 66f6a5605ae938b90a3fbee1ec828810af3b5d119c1f0a8a4ffd25b602c108fccbb168c5b30deeab2200068042fec7a49cf23e7f6ce9bd7d2ddd1f5ad48ebf4c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 6.12.1 (05 Sep 2019)
5
+
6
+ ### Fixes
7
+
8
+ * Account for missing `:binds` key in `sql.active_record` ActiveSupport notifications.
9
+ | [#555](https://github.com/bugsnag/bugsnag-ruby/issues/555)
10
+ | [#565](https://github.com/bugsnag/bugsnag-ruby/pull/565)
11
+ * Remove duplicate attribute declaration warning for `track_sessions` in Configuration.
12
+ | [#510](https://github.com/bugsnag/bugsnag-ruby/pull/510)
13
+ | [pocke](https://github.com/pocke)
14
+
4
15
  ## 6.12.0 (28 Aug 2019)
5
16
 
6
17
  ### Enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.12.0
1
+ 6.12.1
@@ -37,7 +37,6 @@ module Bugsnag
37
37
  attr_accessor :runtime_versions
38
38
  attr_accessor :ignore_classes
39
39
  attr_accessor :auto_capture_sessions
40
- attr_accessor :track_sessions
41
40
 
42
41
  ##
43
42
  # @return [String] URL error notifications will be delivered to
@@ -79,7 +79,7 @@ module Bugsnag
79
79
  filtered_data = data.slice(*event[:allowed_data])
80
80
  filtered_data[:event_name] = event[:id]
81
81
  filtered_data[:event_id] = event_id
82
- if event[:id] == "sql.active_record"
82
+ if event[:id] == "sql.active_record" && data.key?(:binds)
83
83
  binds = data[:binds].each_with_object({}) { |bind, output| output[bind.name] = '?' if defined?(bind.name) }
84
84
  filtered_data[:binds] = JSON.dump(binds) unless binds.empty?
85
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.12.0
4
+ version: 6.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-29 00:00:00.000000000 Z
11
+ date: 2019-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby