footprint-log 0.1.0 → 0.1.1

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: a5cf211c57f05def50f656c737306176effeb084
4
- data.tar.gz: fa7ece836a764e7be0fa5ef81ab3e9358e0788df
3
+ metadata.gz: 16e9a0ab8e49d29636aeb605dd7d00ef1fbf3acb
4
+ data.tar.gz: f4190272a1e0004f7bf69576f9811b62e6854473
5
5
  SHA512:
6
- metadata.gz: 24279ab4bcad20cc11ec2e505bd94066ae9cae8cabc9e2cc6198263d647c36bbf139aeec8175662ee7418aeca5eeea3fc0aba3f17aae5562960459db84cd2b76
7
- data.tar.gz: ca646b801ac3d0313efa532c9d57ac4d63049feed5ed567d9898fa8ede431f5f9a796a55867c1af4e5944bc0009df2635fe1d350135fea34a61cd5a80cd479d6
6
+ metadata.gz: df4b20166ee7ae7f01ae130c8f5eee0aa0aa63aac080ff7905128a09b1f5933070dc24e818a398ac140b5808cf01a011233d0f23fe41a3b01952b57194962fd3
7
+ data.tar.gz: fff6a86deba84a232a3d9fcbe7fe2d9b958d7646914e9de4547648919f2ffdd0374672cdec3f93da9197fcd58a52075ce9a64975d50d8097fb6e363b0dcb1334
@@ -1,6 +1,7 @@
1
1
  = Footprint (Beta)
2
2
  Rack Application Logging Tools
3
3
 
4
+ {<img src="https://badge.fury.io/rb/footprint-log.svg" alt="Gem Version" />}[http://badge.fury.io/rb/footprint-log]
4
5
  {<img src="https://travis-ci.org/ipuiu/footprint-log.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/ipuiu/footprint-log]
5
6
  {<img src="https://gemnasium.com/ipuiu/footprint-log.svg" alt="Dependency Status" />}[https://gemnasium.com/ipuiu/footprint-log]
6
7
  {<img src="https://codeclimate.com/github/ipuiu/footprint-log/badges/gpa.svg" />}[https://codeclimate.com/github/ipuiu/footprint-log]
@@ -87,7 +88,7 @@ In that case we can do something like this:
87
88
  class MyApp < Sinatra
88
89
 
89
90
  use Footprint::Middleware do
90
- set MyAwesomeLogger, [STDOUT,5]
91
+ set MyAwesomeLogger, STDOUT, 5
91
92
  end
92
93
 
93
94
  get '/' do
@@ -26,8 +26,8 @@ module Footprint
26
26
  @app.call env
27
27
  end
28
28
 
29
- def set clazz, options=nil
30
- @logger = clazz.send(:new, options)
29
+ def set clazz, *args
30
+ @logger = clazz.send(:new, *args)
31
31
  end
32
32
 
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: footprint-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puiu Ionut