tunemygc 1.0.52 → 1.0.53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tunemygc/spies/action_controller.rb +4 -4
- data/lib/tunemygc/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: 3ec2e6d7d1e34032ddeabbe6f45d94ddcfe886f5
|
4
|
+
data.tar.gz: 6381311c037b9624e01b0cbc9ccbe14360f25c98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8894b85720d7b80eb4788ec694d87cb3468aab06084955cdc649f807effe78453ed3bc631436e27281d73c892b5dc1c0784559ca607435de3578a9a71cc993ad
|
7
|
+
data.tar.gz: 01b5b0539ff23f006b336b9c7a3f0d83618460bc2cbb28e368a6257980c764bc96c2c33bdfead582052f2508db5e4ea26140ff30b963b9696f73daad72219fdd
|
data/Gemfile.lock
CHANGED
@@ -5,25 +5,25 @@ require 'tunemygc/subscriber'
|
|
5
5
|
module TuneMyGc
|
6
6
|
class StartRequestSubscriber < Subscriber
|
7
7
|
def start(name, id, payload)
|
8
|
-
TuneMyGc.processing_started({:
|
8
|
+
TuneMyGc.processing_started({:controller => payload[:controller], :action => payload[:action]})
|
9
9
|
end
|
10
10
|
|
11
11
|
# Rails 3
|
12
12
|
def call(*args)
|
13
13
|
event = ActiveSupport::Notifications::Event.new(*args)
|
14
|
-
TuneMyGc.processing_started({:
|
14
|
+
TuneMyGc.processing_started({:controller => event.payload[:controller], :action => event.payload[:action]})
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
class EndRequestSubscriber < Subscriber
|
19
19
|
def finish(name, id, payload)
|
20
|
-
TuneMyGc.processing_ended({:
|
20
|
+
TuneMyGc.processing_ended({:controller => payload[:controller], :action => payload[:action]})
|
21
21
|
end
|
22
22
|
|
23
23
|
# Rails 3
|
24
24
|
def call(*args)
|
25
25
|
event = ActiveSupport::Notifications::Event.new(*args)
|
26
|
-
TuneMyGc.processing_ended({:
|
26
|
+
TuneMyGc.processing_ended({:controller => event.payload[:controller], :action => event.payload[:action]})
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
data/lib/tunemygc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tunemygc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.53
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bear Metal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|