aga-message 0.0.4 → 0.0.5

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: 7b2f525f436d717fa6d0f7d5f8dd4717ca085a8b7c14a52dd75b602f6b8ae99c
4
- data.tar.gz: 1b81ebbd8cba1d23ebeeb8263b1bb230d71f6ccaace7a1908f4622f8cb6268cb
3
+ metadata.gz: b61e447def4b362e38ac15f293b40c679b082f848f28420b35cb0fb98432ab0f
4
+ data.tar.gz: c3ce956bc4787e7b7e1f91c6296483ac081ffcfa4a6af9d04a54c7a8608882fd
5
5
  SHA512:
6
- metadata.gz: 5c9177f212a097e49a319dbb0f926549f9e34869a29f2e66b6af3873f0b55d098cf29de7a2e00637049b5928e4d7709d2a73373ad44a92f678e2315c4dd98f59
7
- data.tar.gz: e529757145161d597fbc1068c938ceddcfb2e85798078c6e87030274e9fb6827e0f973f9a6931a8742ff5e2c4383bffc72b10b3a8d24660a150aec5e7550311c
6
+ metadata.gz: 259d0b0be5f23ebeb1e438a74b13cbc4107173c572c66c548133c0ce62a1a24206b2a817a2a3595f427145349fafc204091607721cba15301795ebdc0859dc45
7
+ data.tar.gz: ebf8d5a2487f1852769b0db421bb5df9b5ff1293039a0352e48bd3f8cdd4c123e1b1e08ede14c1f6ff6d679ed803acf44c61b2d229e10736c6c8fbeda605c8e7
@@ -28,9 +28,10 @@ module Message
28
28
  end
29
29
 
30
30
  def many_messages
31
+ @count = 1
31
32
  messages = @result.each_slice(10).map do |slice|
32
33
  slice.map do |element|
33
- Object.const_get(service_class).new(result: element, count: ( @count || 0)).run.tap do
34
+ Object.const_get(service_class).new(result: element, count: @count).run.tap do
34
35
  @count += 1
35
36
  end
36
37
  end.join("\n ========================== \n")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Message
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aga-message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Baldazzi
@@ -221,5 +221,5 @@ requirements: []
221
221
  rubygems_version: 3.3.24
222
222
  signing_key:
223
223
  specification_version: 4
224
- summary: aga-message0.0.4
224
+ summary: aga-message0.0.5
225
225
  test_files: []