lines 0.1.1 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -16,3 +16,9 @@ Check performances
16
16
  Exception formatting
17
17
 
18
18
  Fix the UniqueID algorithm
19
+
20
+ See also
21
+ --------
22
+
23
+ * Scrolls : https://github.com/asenchi/scrolls
24
+ * Lograge : https://github.com/roidrage/lograge
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.15"
3
3
  end
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.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-03 00:00:00.000000000 Z
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: 1.8.23
45
+ rubygems_version: 2.0.3
48
46
  signing_key:
49
- specification_version: 3
47
+ specification_version: 4
50
48
  summary: structured logs for humans
51
49
  test_files: []