rollbar 2.15.3 → 2.15.4

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: 576f76f0fa343a7b3482542fb2f8ea5fd8607322
4
- data.tar.gz: f808fbbbe3f19cf5d66482c083b6470b363788cd
3
+ metadata.gz: c60966d24610fbe373f854b21535910882d1cd4d
4
+ data.tar.gz: 1d95ea09dc8976249d707688d6926f7bb9821c42
5
5
  SHA512:
6
- metadata.gz: fb71b77242924373d75631fce0a40f316490a79b67cb7f635c6929a0b0c9e53382d61b9753c4267d25e8aeb9661fb6857bcf5a6f4594707df51e06130f9fa5e9
7
- data.tar.gz: 9ec91943bfc0c18b9744b64561fcb94979ae4153366d881c3596d28627365a017bb04505f0c360967a7cc0b6dc0da3b731f5f8cfce7cbe29fdbf4225bae549d2
6
+ metadata.gz: 8a342a07440f837a708affbca68d33b49c12d31caf7cff6d8b8aaeeb1ccac7c50294905acf42ee0842b37a9e4dbd1159e3f35f38af4bfeda676fa827ee25479a
7
+ data.tar.gz: 7d22126d64ae9350f3b7caa1385a5c6c0585097c89bedca2cab7513caa29f23708671b43a97560c10fc375e550ab0875c6ccbb85932e624dab2e346fe22a25c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.15.4
4
+
5
+ - Fix bug related to dup'ing extra passed in data
6
+
3
7
  ## 2.15.3
4
8
 
5
9
  - Fix a bug when host is nil when we are trying to extract data about a request
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rollbar [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v2.15.3)](https://travis-ci.org/rollbar/rollbar-gem/branches)
1
+ # Rollbar [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v2.15.4)](https://travis-ci.org/rollbar/rollbar-gem/branches)
2
2
 
3
3
  <!-- RemoveNext -->
4
4
  [Rollbar](https://rollbar.com) is an error tracking service for Ruby and other languages. The Rollbar service will alert you of problems with your code and help you understand them in a ways never possible before. We love it and we hope you will too.
@@ -337,7 +337,7 @@ module Rollbar
337
337
  end
338
338
  end
339
339
 
340
- [message, exception, Rollbar::Util.deep_dup(extra)]
340
+ [message, exception, extra]
341
341
  end
342
342
 
343
343
  def lookup_exception_level(orig_level, exception, use_exception_level_filters)
data/lib/rollbar/util.rb CHANGED
@@ -3,6 +3,7 @@ require 'rollbar/util/hash'
3
3
  module Rollbar
4
4
  module Util
5
5
  def self.iterate_and_update(obj, block)
6
+ return if obj.frozen?
6
7
  if obj.is_a?(Array)
7
8
  for i in 0 ... obj.size
8
9
  value = obj[i]
@@ -62,21 +63,6 @@ module Rollbar
62
63
  end
63
64
  end
64
65
 
65
- def self.deep_dup(obj)
66
- if obj.is_a?(::Hash)
67
- result = obj.dup
68
- obj.each { |k, v| result[k] = deep_dup(v)}
69
- result
70
- elsif obj.is_a?(Array)
71
- result = obj.dup
72
- result.clear
73
- obj.each { |v| result << deep_dup(v)}
74
- result
75
- else
76
- obj.dup
77
- end
78
- end
79
-
80
66
  def self.deep_merge(hash1, hash2)
81
67
  hash1 ||= {}
82
68
  hash2 ||= {}
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = '2.15.3'
2
+ VERSION = '2.15.4'
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.3
4
+ version: 2.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-18 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: Easy and powerful exception tracking for Ruby
@@ -32,11 +32,11 @@ executables:
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - .codeclimate.yml
36
- - .gitignore
37
- - .gitmodules
38
- - .rubocop.yml
39
- - .travis.yml
35
+ - ".codeclimate.yml"
36
+ - ".gitignore"
37
+ - ".gitmodules"
38
+ - ".rubocop.yml"
39
+ - ".travis.yml"
40
40
  - Appraisals
41
41
  - CHANGELOG.md
42
42
  - Gemfile
@@ -271,12 +271,12 @@ require_paths:
271
271
  - lib
272
272
  required_ruby_version: !ruby/object:Gem::Requirement
273
273
  requirements:
274
- - - '>='
274
+ - - ">="
275
275
  - !ruby/object:Gem::Version
276
276
  version: '0'
277
277
  required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
- - - '>='
279
+ - - ">="
280
280
  - !ruby/object:Gem::Version
281
281
  version: '0'
282
282
  requirements: []