nutella_framework 0.4.9 → 0.4.10

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: 933ca5088159355384234722f174219a67f9403c
4
- data.tar.gz: e5c2f0a8a56a2b6fec12d7a571b4b62fa7f353b0
3
+ metadata.gz: 28ef8c583dc652a1bba99dddd436a49fd56073fe
4
+ data.tar.gz: c622511fa7132362a60442c3d41c9ade82e6f215
5
5
  SHA512:
6
- metadata.gz: 9e636e63fccaf290b855accf22ad0a143adbee396f930b74921d07fbbecf7fb3f33c27f952903ceffce758b4b63e77ada66e5e4466b10e6b84a323a40210b81b
7
- data.tar.gz: 18a530e4577e7da81d1a2c99765c6dac345cbf01cbbf57eeb6491b2be35690f0f3bee0ed059634008d7b4435209821024ca55a10f9ce1154a7922f60e6214aac
6
+ metadata.gz: 3e99c1a182712c8f8440741c19e098ca4928a09dfea595645dc6669da4801197b94d6d5691451c73972cd0e617c283bea1c026d191e08ac37c0c528386bfcbf5
7
+ data.tar.gz: 526168dbc44d62bb1ae64b5bfd4c3739f401bb7f579e59d094cb63bf8a9c9970e5848e861822efacb0ec199e456b948508c95c79cfb694648592e7b29ddbc39f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.9
1
+ 0.4.10
@@ -5,10 +5,6 @@ require_relative '../../lib/config/runlist'
5
5
  require_relative '../../lib/config/config'
6
6
  require_relative '../../nutella_lib/framework_core'
7
7
 
8
- # Parse command line arguments
9
- broker, app_id, run_id = nutella.parse_args ARGV
10
- # Extract the component_id
11
- component_id = nutella.extract_component_id
12
8
  # Initialize nutella
13
9
  nutella.f.init(Nutella.config['broker'], 'beacon-cloud-bot')
14
10
 
@@ -0,0 +1 @@
1
+ {"beacon14":{"rid":"beacon14","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"14"},"beacon8":{"rid":"beacon8","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"8"},"beacon1":{"rid":"beacon1","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"10000","minor":"1"},"beacon5":{"rid":"beacon5","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"20000","minor":"5"},"beacon3":{"rid":"beacon3","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"10000","minor":"3"},"beacon2":{"rid":"beacon2","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"10000","minor":"2"},"beacon15":{"rid":"beacon15","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"15"},"beacon7":{"rid":"beacon7","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"7"},"beacon18":{"rid":"beacon18","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"18"},"beacon16":{"rid":"beacon16","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"16"},"beacon13":{"rid":"beacon13","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"13"},"beacon12":{"rid":"beacon12","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"12"},"beacon10":{"rid":"beacon10","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"12745","minor":"10"},"beacon9":{"rid":"beacon9","uuid":"B9407F30-F5F8-466E-AFF9-25556B57FE6D","major":"30000","minor":"9"}}
@@ -1,4 +1,5 @@
1
1
  #!/bin/sh
2
2
 
3
3
  BASEDIR=$(dirname $0)
4
- ruby $BASEDIR/beacon_cloud_bot.rb
4
+ ruby $BASEDIR/beacon_cloud_bot.rb > /dev/null 2>&1 &
5
+ echo $! > $BASEDIR/.pid
@@ -1,5 +1,6 @@
1
1
  [
2
2
  "logging_bot",
3
3
  "runs_list_bot",
4
- "main_interface"
4
+ "main_interface",
5
+ "beacon-cloud-bot"
5
6
  ]
@@ -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.4.9 ruby lib
5
+ # stub: nutella_framework 0.4.10 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "nutella_framework"
9
- s.version = "0.4.9"
9
+ s.version = "0.4.10"
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"]
@@ -64,7 +64,7 @@ Gem::Specification.new do |s|
64
64
  "example_framework_components/example_framework_web_interface/package.json",
65
65
  "framework_components/beacon-cloud-bot/README.md",
66
66
  "framework_components/beacon-cloud-bot/beacon_cloud_bot.rb",
67
- "framework_components/beacon-cloud-bot/nutella.json",
67
+ "framework_components/beacon-cloud-bot/beacons.json",
68
68
  "framework_components/beacon-cloud-bot/startup",
69
69
  "framework_components/beacon-cloud-interface/LICENSE",
70
70
  "framework_components/beacon-cloud-interface/Readme.md",
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.9
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Gnoli
@@ -259,7 +259,7 @@ files:
259
259
  - example_framework_components/example_framework_web_interface/package.json
260
260
  - framework_components/beacon-cloud-bot/README.md
261
261
  - framework_components/beacon-cloud-bot/beacon_cloud_bot.rb
262
- - framework_components/beacon-cloud-bot/nutella.json
262
+ - framework_components/beacon-cloud-bot/beacons.json
263
263
  - framework_components/beacon-cloud-bot/startup
264
264
  - framework_components/beacon-cloud-interface/LICENSE
265
265
  - framework_components/beacon-cloud-interface/Readme.md
@@ -1,6 +0,0 @@
1
- {
2
- "name": "beacon-cloud-bot",
3
- "version": "0.0.1",
4
- "type": "bot",
5
- "description": "This is a RoomPlaces bot, it keep tracks of information about beacons in order to decouple low level technical details with the resource name needed by RoomPlaces"
6
- }