meter 1.2.2 → 1.2.3

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: 8b3f6cbcdb64131f963a90aa14a2fd38c5461ad1
4
- data.tar.gz: 7848bc8332e54c26a311e80e6bfa18be2a87d0bd
3
+ metadata.gz: aa7c2dcd6179f6f90438097a4b5e4c0ffd6ee900
4
+ data.tar.gz: d18165ffd183652093b2e2cab2c9267780f92a0f
5
5
  SHA512:
6
- metadata.gz: 34552ddfcbd5c87c6fc8422476583723228e6e65bf673e30342c5431fbb9363de0ce62dc145216b639945bc9e4fc6a889b250cefc7ea306db49f91cfdfae7072
7
- data.tar.gz: 9cc12d607e86ec1391b77fa3d85665e366986f2787552fb1237aa62c72f9f145ea268921ece814eb9c6cbc8dd3ea25e393541be3f30d7609765b28ce4bf4f96f
6
+ metadata.gz: 375aa514949f39ec0628622c347e1aae8c6c47dbfd0c466d8db73dd033af10b7995f1f8f91dc9a6601657be5aa12fd24f8f82cccb04e78dad4c4a1dc82e06ba6
7
+ data.tar.gz: 380808d540765cb5dc19653a49577b0297e3c036ea02487059367152bc82ad8655523a9587f46d6a977cd98c6de87d49b91312da499b8934d22a85f628fcd5d0
@@ -15,7 +15,7 @@ module Meter
15
15
  Meter::MDC.data['ip'] = request.ip.presence || '?'
16
16
  Meter::MDC.data['referer'] = request.referer
17
17
  Meter::MDC.data['url'] = request.url
18
- Meter::MDC.data['xhr'] = request.xhr
18
+ Meter::MDC.data['xhr'] = request.xhr?
19
19
 
20
20
  store_user_agent_data(request)
21
21
  store_geoip_data(request)
data/lib/meter/version.rb CHANGED
@@ -2,7 +2,7 @@ module Meter
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- TINY = 2
5
+ TINY = 3
6
6
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
7
7
  end
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.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bukowskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: useragent