pampa 2.0.31 → 2.0.32

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af7a0536c38fa454e4f28d00ec1be0d13399d6dffb2d390e8128f417c8f7af8e
4
- data.tar.gz: 11bd7721b54ae0a8e3ae56702ab3891272ab8818ccfb3d04da077b747cfed833
3
+ metadata.gz: d8ecd4b5c1d9d0c17fea5c9381f03a592346c12a26025de5413bef6b24c85714
4
+ data.tar.gz: 4f35811ea3350173747f194f6805eb7555a4d8d6c57f46b11c697f03d72cc57b
5
5
  SHA512:
6
- metadata.gz: 3dd788d3ab9b61d0c36cf777cd2233dbed35a8c21b32b12ed2e393d77ed12f034a27bfb9f6cd4fc6d81d20f714babd96c73e6d916e68439bd22fb629d185e42b
7
- data.tar.gz: 24a4bb824b6d4d39572e23033508f846d799f0cd5681c896a25298ef352b09cd5df58b1fe1a82ab25f9307658f236080b72880ab57234f70862cf28ae3a13d70
6
+ metadata.gz: 23ae6f0e898396869bf16c3599b8d27ce7f4d09917ca8f3b75c22abc60b09c21366e82fe70ec708302be0f3aab47c505c3111a2b9c98cbd543e159473b0a7db2
7
+ data.tar.gz: 17a75605d82eb9aa8629b35a9ea69a6b60903a2b866b119c453913f9a3ca7d3add5689eabd0c451be09859aa62271b2874ac6c75cdee8358962f778e97577231
@@ -62,7 +62,7 @@ l.logf 'done'.green
62
62
 
63
63
  # call dispatcher code snippet
64
64
  l.logs 'Calling dispatcher code snippet... '
65
- f = BlackStack::Pampa.dispatcher_function
65
+ f = BlackStack::Pampa.dispatcher_function(l)
66
66
  if f
67
67
  f.call
68
68
  l.logf 'done'.green
data/lib/pampa/worker.rb CHANGED
@@ -68,7 +68,7 @@ l.logf 'done'.green
68
68
 
69
69
  # call dispatcher code snippet
70
70
  l.logs 'Calling worker code snippet... '
71
- f = BlackStack::Pampa.worker_function
71
+ f = BlackStack::Pampa.worker_function(l)
72
72
  if f
73
73
  f.call
74
74
  l.logf 'done'.green
data/lib/pampa.rb CHANGED
@@ -73,8 +73,8 @@ module BlackStack
73
73
 
74
74
 
75
75
  def self.set_snippets(h)
76
- @@dispatcher_function = h[:dispatcher_function]
77
- @@worker_function = h[:worker_function]
76
+ @@dispatcher_function = h[:dispatcher_function] if h.has_key?(:dispatcher_function)
77
+ @@worker_function = h[:worker_function] if h.has_key?(:worker_function)
78
78
  end
79
79
 
80
80
  def self.dispatcher_function
data/pampa.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'pampa'
3
- s.version = '2.0.31'
3
+ s.version = '2.0.32'
4
4
  s.date = '2023-10-07'
5
5
  s.summary = "Ruby library for async & distributed computing, supporting dynamic reconfiguration, distribution of the computation jobs, error handling, job-retry and fault tolerance, and fast (non-direct) communication to ensure real-time capabilities."
6
6
  s.description = "Pampa is a Ruby library for async & distributing computing providing the following features:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pampa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.31
4
+ version: 2.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi