ratchetio 0.5.3 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ **0.5.4**
4
+ - Added new default scrub params
5
+
3
6
  **0.5.3**
4
7
  - Add `Ratchetio.silenced`; which allows disabling reporting for a given block. See README for usage.
5
8
 
data/README.md CHANGED
@@ -126,6 +126,11 @@ You can supply your own handler using `config.async_handler`. The handler should
126
126
  Make sure you pass `payload` to `Ratchetio.process_payload` in your own implementation.
127
127
 
128
128
 
129
+ ## Using with Goalie
130
+
131
+ If you're using [Goalie](https://github.com/obvio171/goalie) for custom error pages, you may need to explicitly add `require 'goalie'` to `config/application.rb` (in addition to `require goalie/rails`) so that the monkeypatch will work. (This will be obvious if it is needed because your app won't start up: you'll see a cryptic error message about `Goalie::CustomErrorPages.render_exception` not being defined.)
132
+
133
+
129
134
  ## Using with ratchet-agent
130
135
 
131
136
  For even more asynchrony, you can configure the gem to write to a file instead of sending the payload to Ratchet servers directly. [ratchet-agent](https://github.com/ratchetio/ratchet-agent) can then be hooked up to this file to actually send the payload across. To enable, add the following in `config/initializers/ratchetio.rb`:
@@ -138,9 +143,10 @@ For even more asynchrony, you can configure the gem to write to a file instead o
138
143
 
139
144
  For this to work, you'll also need to set up ratchet-agent--see its docs for details.
140
145
 
141
- ## Using with Goalie
142
146
 
143
- If you're using [Goalie](https://github.com/obvio171/goalie) for custom error pages, you may need to explicitly add `require 'goalie'` to `config/application.rb` (in addition to `require goalie/rails`) so that the monkeypatch will work. (This will be obvious if it is needed because your app won't start up: you'll see a cryptic error message about `Goalie::CustomErrorPages.render_exception` not being defined.)
147
+ ## Using with Resque
148
+
149
+ Check out [resque-ratchetio](https://github.com/CrowdFlower/resque-ratchetio) for using Ratchetio as a failure backend for Resque.
144
150
 
145
151
 
146
152
  ## Help / Support
@@ -40,7 +40,8 @@ module Ratchetio
40
40
  @person_id_method = 'id'
41
41
  @person_username_method = 'username'
42
42
  @person_email_method = 'email'
43
- @scrub_fields = [:passwd, :password, :password_confirmation, :secret]
43
+ @scrub_fields = [:passwd, :password, :password_confirmation, :secret,
44
+ :confirm_password, :password_confirmation]
44
45
  @use_async = false
45
46
  @async_handler = nil
46
47
  end
@@ -1,3 +1,3 @@
1
1
  module Ratchetio
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.5"
3
3
  end
data/ratchetio.gemspec CHANGED
@@ -14,6 +14,8 @@ Gem::Specification.new do |gem|
14
14
  gem.require_paths = ["lib"]
15
15
  gem.version = Ratchetio::VERSION
16
16
 
17
+ gem.add_runtime_dependency 'activesupport', '~> 3.2.9'
18
+
17
19
  gem.add_development_dependency 'rails', '~> 3.2.9'
18
20
  gem.add_development_dependency 'devise', '>= 2.1.2'
19
21
  gem.add_development_dependency 'rspec-rails', '~> 2.12.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratchetio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,8 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-22 00:00:00.000000000 Z
12
+ date: 2013-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.9
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.9
14
30
  - !ruby/object:Gem::Dependency
15
31
  name: rails
16
32
  requirement: !ruby/object:Gem::Requirement