rumbrl 0.5.0 → 0.5.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: 20177fee591c71454318f66d334b5eead85f937b
4
- data.tar.gz: 2757a19d5b1ef05f63d28cba1ae7155031c7d7a8
3
+ metadata.gz: 2631d704e0e398c4c16f607f4a57301bac65aba7
4
+ data.tar.gz: fea322ed8b32b8273a958a4c14db0eae74ed4125
5
5
  SHA512:
6
- metadata.gz: 638033f9fb67cbd181d6f5f62a9981b0efab4a021661e063ac1c970dc28d6c85fd21525f9ed50fbad292c54a6485bfba255d1b7127fa408b548c0b40ba623993
7
- data.tar.gz: 5e60535c9e432886c68c1711eb133431b4c6c51673b514f55150019fed931a4cf83ad09b972d65f3ae1d7650053b9fd5c0968e8dc10369864188bf54ed7c5492
6
+ metadata.gz: 09eb688930ff8d487b0ea91f216e977bb46b84a0658d3383b17613fe5e3f0bc356e5c29edbdc8a10749fa7cacbea162011c965dcc4eaebc15709b94f00149ee0
7
+ data.tar.gz: 72c7635b743c847a58ef7770870251f438406a925edd4aeb2b7aa0a08e70b3ce04ffe968a53c5db8b103fec4146a941ff75b6f97d76af52b725b16a8137ab2b0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rumbrl (0.5.0)
4
+ rumbrl (0.5.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -7,7 +7,7 @@ module Rumbrl
7
7
  def call(severity, _timestamp, prog, msg)
8
8
  return '' if omit_empty? && empty?(msg)
9
9
 
10
- "[#{severity}] APP_NAME=#{appname(prog)} #{format_msg(msg)}\n"
10
+ "APP_NAME=#{appname(prog)} SEVERITY=#{severity} #{format_msg(msg)}\n"
11
11
  end
12
12
 
13
13
  def omit_empty(switch)
@@ -2,5 +2,5 @@
2
2
 
3
3
  # version const for gem
4
4
  module Rumbrl
5
- VERSION = '0.5.0'
5
+ VERSION = '0.5.1'
6
6
  end
@@ -47,7 +47,7 @@ describe Rumbrl::Formatter do
47
47
 
48
48
  context 'and msg is a string' do
49
49
  it 'it returns a formatted string' do
50
- expected = "[INFO] APP_NAME=SPECDEFAULT::SPECS stuff\n"
50
+ expected = "APP_NAME=SPECDEFAULT::SPECS SEVERITY=INFO stuff\n"
51
51
  res = formatter.call('INFO', nil, 'SPECS', 'stuff')
52
52
 
53
53
  expect(res).to eq expected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumbrl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - chr0n1x