journald-logger 3.0.0 → 3.0.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
  SHA256:
3
- metadata.gz: bf0682f32c2a2e7587b1289893403e1a5eb02e6cddcba526dc9260573ea1268a
4
- data.tar.gz: 0c909e457098e41616dec4732b98aa23adf78b6cdbba08b81b199137420e776f
3
+ metadata.gz: 2437729a4e9da6576c585c573c13cb50ce7cfd6a54ec4c6ff6d864bd4213c72f
4
+ data.tar.gz: 0b0bf486bf7a6018f47cda541c7b9c1aac3d5df41d479f2b696fd27ee95dba9f
5
5
  SHA512:
6
- metadata.gz: c8fa2653047d79eb2d235a0f371ff6114e547e481c0a4976bed00be0e720a6998aa5298c810dd7e19ef2b694d51279f5de58e1190076d0471c94b78d9d7728ed
7
- data.tar.gz: 46fd5fcee4a3c55ae14f69c6ce04ee58b2c8619a1d7e6d9e91b8479275d46919e8f1fec6c79ec5e73d761f63ea91222979216f83ca7162f029870915f9e3d626
6
+ metadata.gz: e3f28abee733bc7a28b3e02932439afbad45a07b7d6707893d8057947884a90a0aa1bb831c79d281092ed36b87e38971311b251360125f36b72ec25183579fff
7
+ data.tar.gz: f5f9621208164fb7dff639efd25cb847e5543a6084ffe5a9ee2b086e166705c57177458dc761273315d4d0fd6fbc0800cd9afe721af7e8d13af6c237f0841d63
@@ -15,3 +15,6 @@ Style:
15
15
 
16
16
  Naming:
17
17
  Enabled: false
18
+
19
+ Lint/EndAlignment:
20
+ Enabled: false
@@ -5,6 +5,7 @@ install: "bundle install"
5
5
  rvm:
6
6
  - 2.0.0
7
7
  - 2.6.0
8
+ - 2.7.1
8
9
  script:
9
10
  - bundle exec rake build
10
11
  - bundle exec rake
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v3.0.1
4
+
5
+ *May 6, 2020*
6
+
7
+ - Ruby 2.7 warning resolved
8
+
3
9
  ## v3.0.0
4
10
 
5
11
  *December 3, 2019*
@@ -58,7 +58,7 @@ module Journald
58
58
  yield self
59
59
  end
60
60
  ensure
61
- tag(values) if values.any? # restore old values if block given
61
+ tag(**values) if values.any? # restore old values if block given
62
62
  end
63
63
 
64
64
  # get tag value
@@ -73,12 +73,12 @@ module Journald
73
73
  severity ||= temporary_severity
74
74
 
75
75
  temp_priority = if priority
76
- priority
77
- elsif severity
78
- severity_to_priority(severity)
79
- else
80
- LOG_ERR
81
- end
76
+ priority
77
+ elsif severity
78
+ severity_to_priority(severity)
79
+ else
80
+ LOG_ERR
81
+ end
82
82
 
83
83
  self.min_priority = temp_priority
84
84
 
@@ -1,5 +1,5 @@
1
1
  module Journald
2
2
  class Logger
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: journald-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Smirnov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-03 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: journald-native