time_bandits 0.2.0 → 0.2.1
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.
@@ -8,7 +8,7 @@ module ActionController #:nodoc:
|
|
8
8
|
# patch to ensure that the completed line is always written to the log
|
9
9
|
def process_action(action, *args)
|
10
10
|
|
11
|
-
raw_payload = get_raw_payload
|
11
|
+
raw_payload = get_raw_payload
|
12
12
|
ActiveSupport::Notifications.instrument("start_processing.action_controller", raw_payload.dup)
|
13
13
|
|
14
14
|
exception = nil
|
@@ -53,8 +53,8 @@ module ActionController #:nodoc:
|
|
53
53
|
|
54
54
|
private
|
55
55
|
|
56
|
-
if Rails::VERSION::STRING =~ /^3\.
|
57
|
-
def get_raw_payload
|
56
|
+
if Rails::VERSION::STRING =~ /^3\.[01]/
|
57
|
+
def get_raw_payload
|
58
58
|
{
|
59
59
|
:controller => self.class.name,
|
60
60
|
:action => self.action_name,
|
@@ -64,8 +64,8 @@ module ActionController #:nodoc:
|
|
64
64
|
:path => (request.fullpath rescue "unknown")
|
65
65
|
}
|
66
66
|
end
|
67
|
-
elsif Rails::VERSION::STRING =~ /^3\.
|
68
|
-
def get_raw_payload
|
67
|
+
elsif Rails::VERSION::STRING =~ /^3\.2/
|
68
|
+
def get_raw_payload
|
69
69
|
{
|
70
70
|
:controller => self.class.name,
|
71
71
|
:action => self.action_name,
|
data/lib/time_bandits/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: time_bandits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-04-
|
18
|
+
date: 2012-04-10 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|