rollbar 0.12.12 → 0.12.13

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: d15606de22469d888a7845fe9de075e8436cb3b1
4
- data.tar.gz: a19b11e9376b8ca3a32f9c5e0a0892fe78b35752
3
+ metadata.gz: 076a6f8cb5fa3a2aa429329b23d38d9ef039bbb9
4
+ data.tar.gz: fc8e676b598d4f2a3cd1f0f3ff6d7cc2eed6b88f
5
5
  SHA512:
6
- metadata.gz: 92e66df6defcf5e9cc8a529969072b66820c43ba1eeab67a083075caa17163f65710b5646d3506af45c7e87627fcbf5ec1813bc8063d0da10b03621b8e1a5e82
7
- data.tar.gz: a7de71a752d7239bb02fa0a7cf5fb0acc1a2535b29d939a4a36123d96557bfd3d232f328fbbedf13154071b97fe466e1b580ce92a514bc3f017bcd4d9073471d
6
+ metadata.gz: dcc4006b631c792b9867874e11374e4f68a303b93e861a99e525a9d0a5418149baf768f2411ca1b76d4ad0234283a4b049bfa965839929b9b7802d9f38010434
7
+ data.tar.gz: 28174b6dfc0d3d69941de4e3bbcd3557c3672b67567e98144788e2285111c96dd0db188879118739b1c353a02efad653115b4c578891a51859ced5a5411918c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ **0.12.13**
4
+ - Add a little more debugging information for 'payload too large' errors
5
+ - Pushing new gem to fix errant 32kb size limit in the rubygems copy of 0.12.12
6
+
3
7
  **0.12.12**
4
8
  - Changes to support Engine Yard add-on setup
5
9
 
data/lib/rollbar.rb CHANGED
@@ -19,7 +19,7 @@ require 'rollbar/util'
19
19
  require 'rollbar/railtie' if defined?(Rails)
20
20
 
21
21
  module Rollbar
22
- MAX_PAYLOAD_SIZE = 32 * 1024 #128kb
22
+ MAX_PAYLOAD_SIZE = 128 * 1024 #128kb
23
23
 
24
24
  class << self
25
25
  attr_writer :configuration
@@ -548,8 +548,6 @@ module Rollbar
548
548
  truncator = Proc.new do |value|
549
549
  if value.is_a?(String) and value.bytesize > byte_threshold
550
550
  Rollbar::Util::truncate(value, byte_threshold)
551
- elsif value.is_a?(Array) and value.length > byte_threshold
552
- Rollbar::Util::truncate(value, byte_threshold)
553
551
  else
554
552
  value
555
553
  end
data/lib/rollbar/util.rb CHANGED
@@ -32,4 +32,4 @@ module Rollbar
32
32
  str.unpack("U*").slice(0, length - ellipsis.length).pack("U*") + ellipsis
33
33
  end
34
34
  end
35
- end
35
+ end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.12.12"
2
+ VERSION = "0.12.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.12
4
+ version: 0.12.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Rue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-21 00:00:00.000000000 Z
11
+ date: 2014-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json