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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9d92202ec3c138c26b1735b6ff29e9d225b779f3
4
- data.tar.gz: 3caff126ac19e40757e39c741062e5d694d453cc
3
+ metadata.gz: 4559a1b793fa8844fb03eecdcc7ee34e26b02023
4
+ data.tar.gz: 3e8f463eb2ec839caafe9ea486ef019de3b6383d
5
5
  SHA512:
6
- metadata.gz: e1176186d018a71e4cf6f0317c87da626b2993e4d106f5869faf00c41039bff4580feae626c4afd1696de9483a1179f6354992f6eec82ddb86ecec5d3fbf5e48
7
- data.tar.gz: c5f8b6738c1a7b61f04e957465fe2f3d382e9adf0fc320ed480fef3727ba731a926639eea83d73cb0f2dd49711a31e83e490eafc77c0a5d76eb8ce2c5291cb13
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
@@ -2,7 +2,7 @@ module Meter
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
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.6
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-24 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: useragent