flail 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,12 @@ class Flail
33
33
  def request_data
34
34
  @request_data ||= if @env['flail.request.data']
35
35
  @env['flail.request.data']
36
+ elsif @env['action_dispatch.request.parameters']
37
+ # Hopefully temporary hack to get at least the params out of Rails 3 applications
38
+ {
39
+ :parameters => @env['action_dispatch.request.parameters'],
40
+ :user => {}
41
+ }
36
42
  else
37
43
  {
38
44
  :parameters => {},
data/lib/flail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Flail
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-19 00:00:00.000000000 Z
12
+ date: 2014-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  requirements: []
214
214
  rubyforge_project: flail
215
- rubygems_version: 1.8.24
215
+ rubygems_version: 1.8.23
216
216
  signing_key:
217
217
  specification_version: 3
218
218
  summary: Rails exception handler