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 +4 -4
- data/lib/norikra/listener/mock.rb +5 -1
- data/norikra-listener-mock.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17bc160c097aa0e1470789ca3df2846b78310f6f
|
4
|
+
data.tar.gz: 3b099b118eb32b4ceeda426077fb63c75b4808a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|