meter 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/meter/rails/middleware.rb +2 -0
- data/lib/meter/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: 4559a1b793fa8844fb03eecdcc7ee34e26b02023
|
4
|
+
data.tar.gz: 3e8f463eb2ec839caafe9ea486ef019de3b6383d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28fad74b03e2ecc7461e660cb7d071582d6b9b5b18ceae1e458b373646aeaaeb672ca993864c12f27d2bb257ddd06a5287295039b50c68360e83958cecb1e61f
|
7
|
+
data.tar.gz: 19985129f54884d62d35bf88397500a41191b0322f67c0b45bf24a8a86b7480c7ba7f2e7d2169b81025322cf74566e217b1e9a2d314c6af25997836bbe208245
|
@@ -26,7 +26,9 @@ module Meter
|
|
26
26
|
user_agent = UserAgent.parse(request.user_agent)
|
27
27
|
Meter::MDC.tags['user_agent_name'] = user_agent.browser
|
28
28
|
Meter::MDC.tags['user_agent_platform'] = user_agent.platform
|
29
|
+
Meter::MDC.tags['user_agent_bot'] = user_agent.bot?
|
29
30
|
Meter::MDC.data['user_agent_version'] = "#{user_agent.browser}_#{user_agent.version}"
|
31
|
+
|
30
32
|
Meter::MDC.data['user_agent'] = user_agent.to_s
|
31
33
|
end
|
32
34
|
|
data/lib/meter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bukowskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: useragent
|