rollbar 0.11.4 → 0.11.5

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: 8082846880731311ecb0f18a70e1beb6db7b186d
4
- data.tar.gz: c9378f92930c2f40e13cfb587d52d392db3c6800
3
+ metadata.gz: 92f097c75f3cb5932b906b826e27419c976f21a2
4
+ data.tar.gz: 428482c69eefc4a6a98edd0b2c6d549f45d816b4
5
5
  SHA512:
6
- metadata.gz: b16682566ae76dd0ec673427e4e3eac2eec91e9ab87cf47c3803e683464a8dc82baa13c48ac2a94a96488bdcb829752c6ed9d267f480ed5b94b66aa0f8d37c65
7
- data.tar.gz: ef469ba5168631c3a49a2f775f09e1d0e7c8f742eb7f122e7c47da8d26e8424cdd62da0317ec44cf17718ad9ac845dee12804df46acb331f11026e56f9696f25
6
+ metadata.gz: d247e87607a92f30fb146b8ddb07b86f7cc1ffe6224d55a84643c087cb32909fc550e3629a77066126dd7437fbda15433cef398425746ff73cde30f2069e5fbf
7
+ data.tar.gz: 1584aeb1cf872ab96222d7dc77b2ee6fd40fe1b2c5a152db92294e6a9796b89bf9e825990766859b957bb15d75938c57000b31004be607b50a67b849b7380a8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ **0.11.5**
4
+ - Fix rake test task when Authlogic is present
5
+
3
6
  **0.11.4**
4
7
  - Respect different proxy headers when building the request url
5
8
 
@@ -51,9 +51,14 @@ namespace :rollbar do
51
51
  Rails.application.routes.draw do
52
52
  get 'verify' => 'application#verify', :as => 'verify'
53
53
  end
54
-
54
+
55
+ # from http://stackoverflow.com/questions/5270835/authlogic-activation-problems
56
+ if defined? Authlogic
57
+ Authlogic::Session::Base.controller = Authlogic::ControllerAdapters::RailsAdapter.new(self)
58
+ end
59
+
55
60
  puts "Processing..."
56
- protocol = Rails.application.config.force_ssl ? 'https' : 'http'
61
+ protocol = (defined? Rails.application.config.force_ssl && Rails.application.config.force_ssl) ? 'https' : 'http'
57
62
  env = Rack::MockRequest.env_for("#{protocol}://www.example.com/verify")
58
63
  status, headers, response = Rails.application.call(env)
59
64
 
@@ -1,3 +1,3 @@
1
1
  module Rollbar
2
- VERSION = "0.11.4"
2
+ VERSION = "0.11.5"
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.11.4
4
+ version: 0.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Rue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-16 00:00:00.000000000 Z
11
+ date: 2013-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json