fiveruns-dash-rails 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -22,7 +22,6 @@ The FiveRuns Development Team & Dash community
22
22
 
23
23
  * The fiveruns-dash-activerecord gem (http://github.com/fiveruns/dash-activerecord)
24
24
  * The fiveruns-dash-ruby gem (http://github.com/fiveruns/dash-ruby)
25
- * The json gem (as a dependency for fiveruns-dash-ruby)
26
25
 
27
26
  == Verifying your setup
28
27
 
@@ -36,8 +35,6 @@ This will make sure dash-rails is properly loaded, there are no known compatibil
36
35
 
37
36
  Dash has been tested with Rails 2.2 and 2.1. It may (or may not) work with Rails 2.0 applications.
38
37
 
39
- We have verified an incompatibility that occurs when the +json+ gem is unpacked. The recommended workaround is to use a localized +GEM_HOME+ or a system gem.
40
-
41
38
  == Platforms
42
39
 
43
40
  This library has only been tested on OSX and Linux. See the notes for fiveruns-dash-ruby for more information: http://github.com/fiveruns/dash-ruby
@@ -146,7 +146,7 @@ if START_FIVERUNS_DASH_RAILS
146
146
  begin
147
147
  info = Fiveruns::Dash.session.info
148
148
  payload = Fiveruns::Dash::InfoPayload.new(info, Time.now)
149
- result = payload.to_json
149
+ result = payload.to_fjson
150
150
  rescue ArgumentError
151
151
  false
152
152
  end
@@ -32,21 +32,21 @@ Fiveruns::Dash.register_recipe :rails, :url => 'http://dash.fiveruns.com' do |re
32
32
  info = {:name => "#{ex.class.name} in #{controller.class.name}##{controller.params[:action]}"}
33
33
  begin
34
34
  session_data = controller.request.session.instance_variable_get("@data")
35
- info[:session] = Fiveruns::Dash::Rails.clean_hash(session_data).to_json
35
+ info[:session] = Fiveruns::Dash::Rails.clean_hash(session_data).to_fjson
36
36
  rescue Exception => e
37
37
  Fiveruns::Dash.logger.warn "Could not dump session data for exception: #{e.message}"
38
38
  nil
39
39
  end
40
40
  begin
41
41
  request_data = { :url => controller.request.url, :params => controller.params.inspect }
42
- info[:request] = Fiveruns::Dash::Rails.clean_hash(request_data).to_json
42
+ info[:request] = Fiveruns::Dash::Rails.clean_hash(request_data).to_fjson
43
43
  rescue Exception => e
44
44
  Fiveruns::Dash.logger.error "Could not dump request data for exception: #{e.message}"
45
45
  nil
46
46
  end
47
47
  begin
48
48
  header_data = controller.request.headers
49
- info[:headers] = Fiveruns::Dash::Rails.clean_hash(header_data).to_json
49
+ info[:headers] = Fiveruns::Dash::Rails.clean_hash(header_data).to_fjson
50
50
  rescue Exception => e
51
51
  Fiveruns::Dash.logger.error "Could not dump header data for exception: #{e.message}"
52
52
  nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiveruns-dash-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - FiveRuns Development Team
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-26 00:00:00 -08:00
12
+ date: 2009-03-04 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency