norikra-listener-mock 0.0.2-java → 0.0.3-java

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: a4b2157d381c153be20986e08b88c4b8c7d0902b
4
- data.tar.gz: a58d68f66fb7cc82ed8966dc51ca821aac5e8073
3
+ metadata.gz: 17bc160c097aa0e1470789ca3df2846b78310f6f
4
+ data.tar.gz: 3b099b118eb32b4ceeda426077fb63c75b4808a3
5
5
  SHA512:
6
- metadata.gz: 1e8273b873686410f7409279ac29ecb2aa003e8c12cd3c3f984c8fad23e831dcb3237cc4ec9009b898b8296ccdea0f64cf92547557d8d3d26b3c57d202785509
7
- data.tar.gz: 987c2f5e2023edd93a747c8f70271a49d6017b8b717dfa098ceb2861b1c5b64d242ecb138d0e4d6580296b485c46c5d3328a662ee79309ffa2119e1691840861
6
+ metadata.gz: 1e6238d69f721ab98909f9155645af149ee5cb134186db470335847ac934bcae888f903f5ea7938d59125be43613269dee67cfd0be170f588a73df3888acd915
7
+ data.tar.gz: 6ae1901fc30f946b475d5c3a4b71afb7bbab77495b4bfa0da59d4a42171e459954c5c45365fcdd79bec2895333e1a4545883dac47cbaf98fc5f1cdc67f8e72ad
@@ -15,7 +15,11 @@ module Norikra
15
15
 
16
16
  def process_async(events)
17
17
  # write events to STDOUT specified times, in background
18
- STDOUT.puts @query_name + "\t" + JSON.dump(e)
18
+ events.each do |e|
19
+ @repeat.times do |i|
20
+ STDOUT.puts @query_name + "\t#{i + 1}\t" + JSON.dump(e)
21
+ end
22
+ end
19
23
  end
20
24
  end
21
25
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "norikra-listener-mock"
5
- spec.version = "0.0.2"
5
+ spec.version = "0.0.3"
6
6
  spec.authors = ["TAGOMORI Satoshi"]
7
7
  spec.email = ["tagomoris@gmail.com"]
8
8
  spec.summary = %q{Norikra listener mock}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norikra-listener-mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - TAGOMORI Satoshi