nutella_framework 0.4.21 → 0.4.22

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: db34738b25a4c1acc6d341c4fdde169b297b0a90
4
- data.tar.gz: 877910f4b084c871026617c5600eab5dbfdf6635
3
+ metadata.gz: 11d4a4e13bce4f3789370fd910bfe1d05f645aaa
4
+ data.tar.gz: 0df7db67fc1429a87131adacba91e47afbe44ee7
5
5
  SHA512:
6
- metadata.gz: 6f31122281eef5e815fe213ac57838d6eb840bd7a830ffbd9976f853e55a7391839a38d8ac63afc85b33b63967248fa6daf18ffe694ba7cf2c477f0859d73b44
7
- data.tar.gz: cb36ddeb227644b8f16f8028802016162931726405a587fa0633a878b387e694d541c577f59e399ce1fb8e56b3eecd7542a4ad2d4a0c83e3560952850afd15a4
6
+ metadata.gz: f82c8470f58c5846e8601926e9c59517a64f61c85271d590744e3799998dd777ac12dbade7fe987ec2eadfd81ebc863ccff1075b1975178382e3480b8f43077a
7
+ data.tar.gz: 08ae436494a7aa2d65121f9eecfa42de276aae53b1316c934f32a4b3893e8195cccfa66adbc876aa852ca367edf02c83ab7cece706e1899829ed7cd36c5e7962
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.21
1
+ 0.4.22
@@ -145,30 +145,30 @@ nutella.f.net.handle_requests_on_all_runs('channels/retrieve', lambda do |reques
145
145
  end)
146
146
 
147
147
  def publish_configs_update(configs)
148
- nutella.net.publish('configs/updated', configs)
148
+ nutella.f.net.publish_to_all_runs('configs/updated', configs)
149
149
  puts 'Sent configs/updated'
150
150
  end
151
151
 
152
152
  # Sends the update config id
153
153
  def publish_current_config_update(config_id)
154
- nutella.net.publish('currentConfig/updated', config_id)
154
+ nutella.f.net.publish_to_all_runs('currentConfig/updated', config_id)
155
155
  puts 'Sent currentConfig/updated'
156
156
  end
157
157
 
158
158
  # Sends the whole new current configuration
159
159
  def publish_switch_config(mapping)
160
- nutella.net.publish('currentConfig/switched', mapping)
160
+ nutella.f.net.publish_to_all_runs('currentConfig/switched', mapping)
161
161
  puts 'Sent currentConfig/switched'
162
162
  end
163
163
 
164
164
  # Sends the current config (mapping), which might have been updated
165
165
  def publish_mapping_update(mapping)
166
- nutella.net.publish('mapping/updated', mapping)
166
+ nutella.f.net.publish_to_all_runs('mapping/updated', mapping)
167
167
  puts 'Sent mapping/updated'
168
168
  end
169
169
 
170
170
  def publish_channels_update(channels)
171
- nutella.net.publish('channels/updated', channels)
171
+ nutella.f.net.publish_to_all_runs('channels/updated', channels)
172
172
  puts 'Sent channels/updated'
173
173
  end
174
174
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutella_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.21
4
+ version: 0.4.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Gnoli