minodes-sinatra-logger 0.2.1 → 0.2.2

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: f96224693b423f1410eebfe611aceba9495d7830
4
- data.tar.gz: cfdc724ad9a2b6d4824327c4c1fe8f53fe8bb985
3
+ metadata.gz: fe5ce0f68d6817212215290d0c7bb9fa099adcac
4
+ data.tar.gz: 57f2f2dd2c25b7caffd11b97cf3098d2fb36a30d
5
5
  SHA512:
6
- metadata.gz: 6706476a5dadd4e37d1fbd2bbcd7fe5c539de616ada0b6ac95a2ae418002165567eff500ca172169f43e9e2aff2aa78c9ae33cece8fb62f24862375641faccfb
7
- data.tar.gz: 257a09432d01ff98d1e2b310ba86df73196f3b9e5eb87797529c746d626a0664b4c19640ef24c714be274607ec8145d5d52b361f2dbe87c6f800641a58898885
6
+ metadata.gz: 88e21df5f52a719e88e1774d58695b400aeb22885b54622b5a67e6819a81ba202d01c7a06a6ccf417a078be1d0b43779dc3dd1d7af7ce876eb051bacf96f4a9d
7
+ data.tar.gz: 6c127dd8cf38c9ed7d95a5db0e57fb5399bd9dfda2af627211e17a6f84406d6c9be4332c27957ca9d9aea79b6a45ad642accf9061d35d91eea6132b1ef88d146
@@ -1,4 +1,4 @@
1
- require "minodes/sinatra/logger/version"
1
+ actirequire "minodes/sinatra/logger/version"
2
2
  require "sinatra"
3
3
  require "rack"
4
4
  require 'rack/body_proxy'
@@ -12,6 +12,10 @@ module Minodes
12
12
  def puts(msg)
13
13
  SemanticLogger["Error"].error msg
14
14
  end
15
+
16
+ def flush
17
+ SemanticLogger.flush
18
+ end
15
19
  end
16
20
 
17
21
  module Logger
@@ -1,7 +1,7 @@
1
1
  module Minodes
2
2
  module Sinatra
3
3
  module Logger
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minodes-sinatra-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehya Abouelnaga