grape-middleware-lograge 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: 3fc3bffec95d8527ce595aada81c36df6a3de0e6
4
- data.tar.gz: ebe2ad9b8b636eecd2cf647df17380aaffe8d012
3
+ metadata.gz: 3e06c75b104e55bb2db1359742dee7e008f9d318
4
+ data.tar.gz: 7d8deb9eea5d806ca56bd0b01ab0a7b92caec7f4
5
5
  SHA512:
6
- metadata.gz: 3de924c9fd6347c0087f5625333eb6665f7bc18371b6111d8c7761cb5ae9555570679619d22e916b3cd42285249cc343338151850c345cea273e40359479fc3a
7
- data.tar.gz: f05bfc112396e9ee00309677fd08f567e1d77461e28ec75be6f6712efb8b6ddbefa834b47c5251bb567f8cb6935612a68d80f7ce6c71c267ad5d50d3de13ef9a
6
+ metadata.gz: 5e92f7da5af91233f133c9ca5174e3f7760e84983b7c8e2870d4874cf7fbb1148f816c179c4e7f335483520b00bb89bfaec53f4f4258252fdd2fb3131e31abb7
7
+ data.tar.gz: d4598cc63a948d6ae1ad7e4688f4d6398e6b05b3918e29dae08df385b7af1a146cdb0e75f64f9a7ab11225bd2e6f0e8078f50246ac149a78088342983402c9d4
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'grape-middleware-lograge'
5
- spec.version = '1.2.2'
5
+ spec.version = '1.2.3'
6
6
  spec.platform = Gem::Platform::RUBY
7
7
  spec.authors = ['Ryan Buckley', 'Paul Chavard']
8
8
  spec.email = ['arebuckley@gmail.com', 'paul+github@chavard.net']
@@ -109,7 +109,7 @@ class Grape::Middleware::Lograge < Grape::Middleware::Globals
109
109
  path: env[Grape::Env::GRAPE_REQUEST].path,
110
110
  user_agent: env['HTTP_USER_AGENT'],
111
111
  request_id: env['action_dispatch.request_id'],
112
- remote_ip: env['action_dispatch.remote_ip']
112
+ remote_ip: env['action_dispatch.remote_ip'].to_s
113
113
  }
114
114
  end
115
115
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-middleware-lograge
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
  - Ryan Buckley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-28 00:00:00.000000000 Z
12
+ date: 2016-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: grape