bugsnag 6.3.0 → 6.4.0

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
  SHA1:
3
- metadata.gz: 0f150d665aa4bbd126a1fcee6415449c764bfd8b
4
- data.tar.gz: bacabc7aa6fc31be54613737742251ef95dd3cd7
3
+ metadata.gz: b31c931ac12f1ea2ce6344810690398c3b51e768
4
+ data.tar.gz: 33f72ca3d7f4e22088634dae7b785d57bc9c874a
5
5
  SHA512:
6
- metadata.gz: 657d6eddccb62f4bd6e6c02f4f7c7220bcb89db9cca562dab98ad859c51d743be1dde6186a258ccd6b7c2ce1337a15ff1e966a2c53bc6fd6624d8ce32f8580fe
7
- data.tar.gz: c229917814c152d2556fc3e161ebd7992da7d03ec7de27f96120bc2ca22888f88ab22aea8c5b3bce81cf302c7c6bfeb860a4a8dcb5a9d5a43a61e145804bc2d9
6
+ metadata.gz: 973b51212b74835700a90056058d1ac5a21aff86c722b1055a7303bc6f3b570e64b653eaad2d3a7b337419af9d71144f8112c93cb998c30acf2925b99bd691c2
7
+ data.tar.gz: ad90142cf2ae5dc7bb737c0c0156d9840cc39bc35e8b751028f945241b7678b54d00e840aa30bfd54bc25d706d95047fd87c4908c013891cf4f12484b0cee61d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 6.4.0 (21 Dec 2017)
5
+
6
+ ### Enhancements
7
+
8
+ * Added support for DelayedJob custom job arguments
9
+ | [#359](https://github.com/bugsnag/bugsnag-ruby/pull/359)
10
+ | [Calvin Hughes](https://github.com/calvinhughes)
11
+
4
12
  ## 6.3.0 (14 Dec 2017)
5
13
 
6
14
  ### Enhancements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.3.0
1
+ 6.4.0
@@ -40,7 +40,13 @@ unless defined? Delayed::Plugins::Bugsnag
40
40
  p[:id] = payload.id if payload.respond_to?(:id)
41
41
  p[:display_name] = payload.display_name if payload.respond_to?(:display_name)
42
42
  p[:method_name] = payload.method_name if payload.respond_to?(:method_name)
43
- p[:args] = payload.args if payload.respond_to?(:args)
43
+
44
+ if payload.respond_to?(:args)
45
+ p[:args] = payload.args
46
+ elsif payload.respond_to?(:to_h)
47
+ p[:args] = payload.to_h
48
+ end
49
+
44
50
  if payload.is_a?(::Delayed::PerformableMethod) && (object = payload.object)
45
51
  p[:object] = {
46
52
  :class => object.class.name,
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.3.0
4
+ version: 6.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby notifier for bugsnag.com
14
14
  email: james@bugsnag.com
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.6.13
112
+ rubygems_version: 2.4.8
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Ruby notifier for bugsnag.com