rollbar 1.3.1 → 1.3.2

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: 7575d58a3d88f1967dac6cf9d70e78d2170c1bae
4
- data.tar.gz: 32d7bf74f7276b35434601f0e89c018100f93fed
3
+ metadata.gz: 55ced1d6252f0c0b4881f16dc7ff96ca6bc2c62c
4
+ data.tar.gz: 1b014694a4e209dc360f771f2b78157c1dae993c
5
5
  SHA512:
6
- metadata.gz: 64acb033938cea26fd519fcff644a23730d9872746020bfdcaaa0a8e62e7f68c4c75461f0730fa6c816cfd5d43e7ac365b00722d22918b82c6d9d0b172ff82bb
7
- data.tar.gz: 97ba117f2544e3c6fff17839355babb8a9b020b9964802fdb83874f3d3fea9be51580fdb4ca34cdcda59fe35ea68f9631bb5556eca84f632a33f5f085e8a4d25
6
+ metadata.gz: bdd18fce475312ed6945d0c1ce3a6500dd58abde4bfefef007dc22124fc3a72dc7289e52719865b9e637720a409bb9dc63c44e04a2b6ebf9dacfc2f49707dbee
7
+ data.tar.gz: 7856923253bb7ad7e7fb396bd607d50c2bcffcd50dda2c559a37b910be3bac58f1655ef771235816c5ad4ab2f5aca35d64af76655cadf217a95929ece7010504
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.3.2
4
+
5
+ Bug fixes:
6
+
7
+ - Fix bug with the `write_to_file` method where values were dumped as ruby hashes instead of json. See [#198](https://github.com/rollbar/rollbar-gem/pull/198)
8
+
3
9
  ## 1.3.1
4
10
 
5
11
  Bug fixes:
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rollbar notifier for Ruby [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v1.3.1)](https://travis-ci.org/rollbar/rollbar-gem/branches)
1
+ # Rollbar notifier for Ruby [![Build Status](https://api.travis-ci.org/rollbar/rollbar-gem.svg?branch=v1.3.2)](https://travis-ci.org/rollbar/rollbar-gem/branches)
2
2
 
3
3
  <!-- RemoveNext -->
4
4
  Ruby gem for reporting exceptions, errors, and log messages to [Rollbar](https://rollbar.com).
@@ -9,7 +9,7 @@ Ruby gem for reporting exceptions, errors, and log messages to [Rollbar](https:/
9
9
 
10
10
  Add this line to your application's Gemfile:
11
11
 
12
- gem 'rollbar', '~> 1.3.1'
12
+ gem 'rollbar', '~> 1.3.2'
13
13
 
14
14
  And then execute:
15
15
 
@@ -12,5 +12,6 @@ gem "minitest", :platform => :rbx
12
12
  gem "rubysl-test-unit", :platform => :rbx
13
13
  gem "rubinius-developer_tools", :platform => :rbx
14
14
  gem "rails", "3.1.12"
15
+ gem 'i18n', '~> 0.6.0'
15
16
 
16
17
  gemspec :path => "../"
@@ -12,5 +12,6 @@ gem "minitest", :platform => :rbx
12
12
  gem "rubysl-test-unit", :platform => :rbx
13
13
  gem "rubinius-developer_tools", :platform => :rbx
14
14
  gem "rails", "3.2.17"
15
+ gem 'i18n', '~> 0.6.0'
15
16
 
16
17
  gemspec :path => "../"
@@ -512,12 +512,14 @@ module Rollbar
512
512
  def do_write_payload(payload)
513
513
  log_info '[Rollbar] Writing payload to file'
514
514
 
515
+ body = dump_payload(payload)
516
+
515
517
  begin
516
518
  unless @file
517
519
  @file = File.open(configuration.filepath, "a")
518
520
  end
519
521
 
520
- @file.puts payload
522
+ @file.puts(body)
521
523
  @file.flush
522
524
  log_info "[Rollbar] Success"
523
525
  rescue IOError => e
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
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: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-19 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json