fluent-plugin-systemd 0.1.1.pre → 0.1.1.pre2

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: dafe014b146104c1af4feffe4db1cfd947bccd54
4
- data.tar.gz: 282c7fd29f321d4d7f177fcbf8a2bea2e25e29fd
3
+ metadata.gz: 06173525ce5daf2305a6e8352543341fa6f2b867
4
+ data.tar.gz: 2f0fa5c0cff5ed770b701ca8bc03c9fa134c329f
5
5
  SHA512:
6
- metadata.gz: 8c2827d2fdd7baf638ece90a85acb1311517711df37f29bf2c40624ccb324692c8394d8bee9989793d0bdb5b3f9775f10e0fd0a754c407c95dd8fd38cfb91337
7
- data.tar.gz: e30bce45b8558c03f3143508ba8112c4866fa58f57a4836d9b36ee65cccc6c5be7bb5028de29c7a59bf8933f87008fb60c76e4c73d39cd1175597b4dcf81a3c4
6
+ metadata.gz: 5524d80e7383e20794b11e9a6afb86a066c4883fb5d6f57a026c61f677cce9e3f3e1ac8e67179b95c0b6f319638cb64c29f01e7b0c08afeca0e76e2feaaee683
7
+ data.tar.gz: 914c570e27ed1d95e29bb96ee0ff78dd54bda56aad5ee96e236eb5c4db49a586ffa0394c7ea4baeebe7c3dad906054bbd5ea5725d3d917ff9e9994edf09bb493
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-systemd (0.1.1.pre)
4
+ fluent-plugin-systemd (0.1.1.pre2)
5
5
  fluentd (>= 0.14.11, < 2)
6
6
  systemd-journal (~> 1.2)
7
7
 
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "fluent-plugin-systemd"
8
- spec.version = "0.1.1.pre"
8
+ spec.version = "0.1.1.pre2"
9
9
  spec.authors = ["Ed Robinson"]
10
10
  spec.email = ["ed@reevoo.com"]
11
11
 
@@ -53,8 +53,12 @@ module Fluent
53
53
  # record
54
54
  def seek_to(pos)
55
55
  @journal.seek(pos)
56
- return unless pos == :tail
57
- @journal.move(-2)
56
+ return if pos == :head
57
+ if pos == :tail
58
+ @journal.move(-2)
59
+ else
60
+ @journal.move(1)
61
+ end
58
62
  end
59
63
 
60
64
  def read_from
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-systemd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre
4
+ version: 0.1.1.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
@@ -120,6 +120,7 @@ files:
120
120
  - pkg/fluent-plugin-systemd-0.0.5.gem
121
121
  - pkg/fluent-plugin-systemd-0.0.6.gem
122
122
  - pkg/fluent-plugin-systemd-0.1.0.gem
123
+ - pkg/fluent-plugin-systemd-0.1.1.pre.gem
123
124
  homepage: https://github.com/reevoo/fluent-plugin-systemd
124
125
  licenses:
125
126
  - MIT