lines 0.1.1 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +6 -0
- data/lib/lines/rack_logger.rb +2 -2
- data/lib/lines/version.rb +1 -1
- metadata +5 -7
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZmZmY2Q5NDdlNWU4MDMzZDQyOGJkMTdjNTZhN2Q1YmYxOWYyYzM4Nw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NjNlZjRkOWUyN2YyNjFhNjY4YTI1OWU1NDUxODRmMzZhNDllMTg0OQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTA1ZTAwNTVhNTc2OWMwMWQ4NDJlMWRkNzg4ODI2ZjYzOThlMzdhZGNiYmI3
|
10
|
+
NmU1M2ZhNGIwYTJlYmFmYTg4YmM5OWI5ZDFhYzQ4OWI2ZTVlNmIyODYyZmUx
|
11
|
+
ZjM3YmQ1NjAzMTBhZmQ5NzFhOGU5YmRjOTdmMzdhODVmMTIyYjc=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTc0OTZkOTBhMWNkNDFiNDA0NDIyMmNmYWE3NTM4MmY3NjZjMDBkMDdjMDQ5
|
14
|
+
YTJhN2YxNTU3N2RhY2UwNzA2ZjlhZDNmM2NkZWZmNzA4N2Q0NjgyYzZiZjRm
|
15
|
+
ZWVlMzBhNmJjZjA2OTQ3MmY1N2Q3NGJjNTgyMWJiYWQzMzI2Yzg=
|
data/README.md
CHANGED
data/lib/lines/rack_logger.rb
CHANGED
@@ -15,8 +15,8 @@ module Lines
|
|
15
15
|
def call(env)
|
16
16
|
began_at = Time.now
|
17
17
|
status, header, body = @app.call(env)
|
18
|
-
header = Utils::HeaderHash.new(header)
|
19
|
-
body = BodyProxy.new(body) { log(env, status, header, began_at) }
|
18
|
+
header = Rack::Utils::HeaderHash.new(header)
|
19
|
+
body = Rack::BodyProxy.new(body) { log(env, status, header, began_at) }
|
20
20
|
[status, header, body]
|
21
21
|
end
|
22
22
|
|
data/lib/lines/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.15
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jonas Pfenniger
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-25 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: structured logs for humans
|
15
14
|
email: jonas@pfenniger.name
|
@@ -26,26 +25,25 @@ files:
|
|
26
25
|
- lib/lines.rb
|
27
26
|
homepage: https://github.com/zimbatm/lines-ruby
|
28
27
|
licenses: []
|
28
|
+
metadata: {}
|
29
29
|
post_install_message:
|
30
30
|
rdoc_options: []
|
31
31
|
require_paths:
|
32
32
|
- lib
|
33
33
|
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
34
|
requirements:
|
36
35
|
- - ! '>='
|
37
36
|
- !ruby/object:Gem::Version
|
38
37
|
version: '0'
|
39
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
39
|
requirements:
|
42
40
|
- - ! '>='
|
43
41
|
- !ruby/object:Gem::Version
|
44
42
|
version: '0'
|
45
43
|
requirements: []
|
46
44
|
rubyforge_project:
|
47
|
-
rubygems_version:
|
45
|
+
rubygems_version: 2.0.3
|
48
46
|
signing_key:
|
49
|
-
specification_version:
|
47
|
+
specification_version: 4
|
50
48
|
summary: structured logs for humans
|
51
49
|
test_files: []
|