nutella_framework 0.5.1 → 0.6.0
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 +4 -4
- data/VERSION +1 -1
- data/framework_components/room-places-bot/room_places_bot.rb +5 -6
- data/nutella_framework.gemspec +2 -2
- 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: 1109bd0dba954bad203bfbb53455dd945021b16e
|
4
|
+
data.tar.gz: 420011b769ec003effcb15b731350594148502f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de0aea69f64d87cfd9f12a8c6ef5f96973f4d1857ba0e9c81dcf186977a09bd429a1903240c98b08f315b122a4eaf77d19ac41bb350f9f9c84d4b43cfa2b30a8
|
7
|
+
data.tar.gz: 11ca1a468f72c6896f99e3fda6de06e8f5f5c65621554ab1b57c49ad35eaf9816d92c752d43c76050d035ffc92692a2b87743ae817c8fed84795fe98553dcad6
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
@@ -208,9 +208,9 @@ nutella.f.net.subscribe_to_all_runs('location/resource/update', lambda do |messa
|
|
208
208
|
|
209
209
|
updateResource(app_id, run_id, message)
|
210
210
|
|
211
|
-
cache.publish_update
|
212
|
-
cache.publish_exit
|
213
|
-
cache.publish_enter
|
211
|
+
cache.publish_update
|
212
|
+
cache.publish_exit
|
213
|
+
cache.publish_enter
|
214
214
|
end)
|
215
215
|
|
216
216
|
# Update the location of the resources
|
@@ -684,18 +684,17 @@ def publishDiscreteUpdate(app_id, run_id)
|
|
684
684
|
:t_x => t_x,
|
685
685
|
:t_y => t_y
|
686
686
|
}
|
687
|
-
nutella.net.publish_to_run(app_id, run_id, 'location/tracking/discrete/updated', {:tracking => message})
|
687
|
+
nutella.f.net.publish_to_run(app_id, run_id, 'location/tracking/discrete/updated', {:tracking => message})
|
688
688
|
|
689
689
|
# Update all the discrete resources
|
690
690
|
resources.to_h.each do |_, resource|
|
691
|
-
resource = resources[resource]
|
692
691
|
if resource['discrete'] != nil
|
693
692
|
computeResourceUpdate(app_id, run_id, resource)
|
694
693
|
end
|
695
694
|
end
|
696
695
|
|
697
696
|
else
|
698
|
-
nutella.net.publish_to_run(app_id, run_id, 'location/tracking/discrete/updated', {:tracking => {}})
|
697
|
+
nutella.f.net.publish_to_run(app_id, run_id, 'location/tracking/discrete/updated', {:tracking => {}})
|
699
698
|
end
|
700
699
|
|
701
700
|
end
|
data/nutella_framework.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nutella_framework 0.
|
5
|
+
# stub: nutella_framework 0.6.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nutella_framework"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.6.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|