logjam_agent 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logjam_agent/rack/logger.rb +8 -1
- data/lib/logjam_agent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c9df6634b307e0867c87418be19e507708431c2
|
4
|
+
data.tar.gz: 568afd62532e3cebf0c5a1d9c5eb9bd9af2fd5eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32bf45ff7ba595f81bc81e46321ecb77466923587ed6619ac5a026f3c33c81bb0f77607acc811d2538e040f8a5320d8029c8624df42cd7995b9fe0fc39a7e2ce
|
7
|
+
data.tar.gz: 1e73e75d99f7debe4540f3fba0179f4bed7d9aa90d103b1938b1457477c4d32ce5c7c89a04c272a71f370315facc274c213fa4f55885864e19d179b38f1c6203
|
@@ -220,6 +220,12 @@ module ActionController #:nodoc:
|
|
220
220
|
|
221
221
|
elsif Rails::VERSION::STRING =~ /\A(3\.2|4\.0|4\.1)/
|
222
222
|
|
223
|
+
# Rails 4.1 uses method_added to automatically subscribe newly
|
224
|
+
# added methods. Since start_processing is already defined, the
|
225
|
+
# net effect is that start_processing gets called
|
226
|
+
# twice. Therefore, we temporarily switch to protected mode and
|
227
|
+
# change it back later to public.
|
228
|
+
protected
|
223
229
|
def start_processing(event)
|
224
230
|
payload = event.payload
|
225
231
|
params = payload[:params].except(*INTERNAL_PARAMS)
|
@@ -236,9 +242,10 @@ module ActionController #:nodoc:
|
|
236
242
|
info "Processing by #{full_name} as #{format}"
|
237
243
|
info " Parameters: #{params.inspect}" unless params.empty?
|
238
244
|
end
|
245
|
+
public :start_processing
|
239
246
|
|
240
247
|
else
|
241
|
-
raise "
|
248
|
+
raise "logjam_agent ActionController monkey patch is not compatible with your Rails version"
|
242
249
|
end
|
243
250
|
end
|
244
251
|
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Kaes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|