log2json 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bin/redis2es +1 -1
  2. data/log2json.gemspec +1 -1
  3. metadata +2 -2
data/bin/redis2es CHANGED
@@ -142,7 +142,7 @@ def main
142
142
  # try to queue up to FLUSH_SIZE.
143
143
  begin
144
144
  length = FLUSH_SIZE - @queue.length
145
- @redis.evalsha(@redis_script_sha, [REDIS_QUEUE], length).each do |item|
145
+ @redis.evalsha(@redis_script_sha, [REDIS_QUEUE], [length]).each do |item|
146
146
  enqueue(item)
147
147
  end
148
148
  rescue Redis::CommandError => e
data/log2json.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'log2json'
3
- s.version = '0.1.7'
3
+ s.version = '0.1.8'
4
4
  s.summary = "Read, filter and ship logs. ie, poor man's roll-your-own, light-weight logstash replacement."
5
5
  s.description = IO.read(File.join(File.dirname(__FILE__), 'README'))
6
6
  s.authors = ['Jack Kuan']
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 7
9
- version: 0.1.7
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jack Kuan