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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b43d07f387ce6ab77dd1dc8bb031062c70b404b
4
- data.tar.gz: 80ccfd87f0ae4f7f0153807f7ece9b27c202f551
3
+ metadata.gz: 1109bd0dba954bad203bfbb53455dd945021b16e
4
+ data.tar.gz: 420011b769ec003effcb15b731350594148502f7
5
5
  SHA512:
6
- metadata.gz: 904af6583bb4223530d30ac8da933dda70c56b94f7b79891c14fb7269f22f1880c06a4e746ff97a987bc5b4d007acfd7f0b6d0084139076e8abbf565948455ee
7
- data.tar.gz: 7c76959edbfcd35e0672a89b003f0eae0680b816003dd374b14b90637e6a07dbbab3862307f04062b2ca8cad90a23a3f6c87ab1bc6dda01687004629fbb12154
6
+ metadata.gz: de0aea69f64d87cfd9f12a8c6ef5f96973f4d1857ba0e9c81dcf186977a09bd429a1903240c98b08f315b122a4eaf77d19ac41bb350f9f9c84d4b43cfa2b30a8
7
+ data.tar.gz: 11ca1a468f72c6896f99e3fda6de06e8f5f5c65621554ab1b57c49ad35eaf9816d92c752d43c76050d035ffc92692a2b87743ae817c8fed84795fe98553dcad6
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
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(app_id, run_id)
212
- cache.publish_exit(app_id, run_id)
213
- cache.publish_enter(app_id, run_id)
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
@@ -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.1 ruby lib
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.5.1"
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"]
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.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Gnoli