rollbar 1.5.2 → 1.5.3

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: bc55396a96c6b16fe230a587d3eb2486f40a1574
4
- data.tar.gz: 7780ae62e54a6bc8e3977d1916361b6bf2fb1fd6
3
+ metadata.gz: c44f500c23b54909d0aad2fd733826f930cfaf9e
4
+ data.tar.gz: 93a929d8d6b08b8015848b1a591fa209ddd14161
5
5
  SHA512:
6
- metadata.gz: a9a6cae7d73dac79d404562e86f40d395bacb8a98a02488df4c48b0da5e40ee11de4af3737c843f675a8aa40be11fad7ed514bac2c7ed13d9c95738fa1665851
7
- data.tar.gz: 1527898a37f25131f5f060c52e1d42c3dc4ea7af55fc6203bf3ba73baf08943e79ab7cba8545f4a0762b17fe05dd633c871dd2adf70e9dea8c571fa4a58e2a54
6
+ metadata.gz: f4a82ff17e2d2ee1f4bc65aef0be7c2ad1fcccc1b4129b91916c22cb67aa53b2b013f1480f895cc0219f70d516ea6f0a75c83b25dc2d4f5c656f33d2cf5f8e88
7
+ data.tar.gz: ff01f87388099db81156bd5a2c83587dcb4eeab5bd3a72da42db76422bf313fc73c4ad6b0fe5690485d6e0d1de835f81462a7f146003abd529dfbc4b2d714f95
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.5.3
4
+
5
+ Bug fixes:
6
+
7
+ - Run `rollbar-rails-runner` in the context of `Rails` module so we avoid namespace conflitcs. See [#242](https://github.com/rollbar/rollbar-gem/pull/242)
8
+
3
9
  ## 1.5.2
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.5.2)](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.5.3)](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.
@@ -12,7 +12,7 @@ This is the Ruby library for Rollbar. It will instrument many kinds of Ruby appl
12
12
  Add this line to your application's Gemfile:
13
13
 
14
14
  ```ruby
15
- gem 'rollbar', '~> 1.5.2'
15
+ gem 'rollbar', '~> 1.5.3'
16
16
  ```
17
17
 
18
18
  And then execute:
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'rollbar/rails_runner'
3
+ require 'rails/rollbar_runner'
4
4
 
5
- Rollbar::RailsRunner.new.run
5
+ Rails::RollbarRunner.new.run
@@ -3,8 +3,8 @@ require 'rollbar'
3
3
 
4
4
  APP_PATH = File.expand_path('config/application', Dir.pwd)
5
5
 
6
- module Rollbar
7
- class RailsRunner
6
+ module Rails
7
+ class RollbarRunner
8
8
  class GemResolver
9
9
  def railties_gem
10
10
  Gem::Specification.find_by_name('railties')
@@ -38,7 +38,7 @@ module Rollbar
38
38
  def eval_runner
39
39
  string_to_eval = File.read(runner_path)
40
40
 
41
- Module.module_eval(<<-EOL,__FILE__,__LINE__ + 2)
41
+ ::Rails.module_eval(<<-EOL,__FILE__,__LINE__ + 2)
42
42
  #{string_to_eval}
43
43
  EOL
44
44
  end
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
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.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollbar, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-14 00:00:00.000000000 Z
11
+ date: 2015-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -205,6 +205,7 @@ files:
205
205
  - gemfiles/rails41.gemfile
206
206
  - lib/generators/rollbar/rollbar_generator.rb
207
207
  - lib/generators/rollbar/templates/initializer.rb
208
+ - lib/rails/rollbar_runner.rb
208
209
  - lib/rollbar.rb
209
210
  - lib/rollbar/active_record_extension.rb
210
211
  - lib/rollbar/better_errors.rb
@@ -229,7 +230,6 @@ files:
229
230
  - lib/rollbar/rack.rb
230
231
  - lib/rollbar/rails.rb
231
232
  - lib/rollbar/rails/controller_methods.rb
232
- - lib/rollbar/rails_runner.rb
233
233
  - lib/rollbar/railtie.rb
234
234
  - lib/rollbar/rake.rb
235
235
  - lib/rollbar/rake_tasks.rb