nutella_framework 0.7.2 → 0.7.3
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/logging_bot/logging_bot.rb +0 -13
- data/framework_components/logging_bot/utils.rb +0 -4
- data/nutella_framework.gemspec +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4838c82fcdd7a520ae412e7b7380703444f8155c
|
|
4
|
+
data.tar.gz: c592bff4ad55ddb50d4f9988ef95c23e6cc3e26a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c169317e28964d19fac6d76e9ed14ee3da52459c64655ace56bcfe93ec0c192b7d75af798f5a5d5e30d7757f04ea429b130d657548b529417666d77b7e9807de
|
|
7
|
+
data.tar.gz: ca2bb9ca96c198e5d0f418e281a81dde64b72fa8eaf45d726b9dc3983d3defe3895ec7d4864303f5af779614e6cd01658c4810a91f7d1d2529ae9f4cd740ec72
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.3
|
|
@@ -22,8 +22,6 @@ nutella.f.init(Nutella.config['broker'], 'example_framework_bot')
|
|
|
22
22
|
|
|
23
23
|
# Get a mongo persisted collection
|
|
24
24
|
logs = nutella.f.persist.get_mongo_collection_store 'logs'
|
|
25
|
-
dump = nutella.f.persist.get_mongo_collection_store 'dump'
|
|
26
|
-
|
|
27
25
|
|
|
28
26
|
# Listen for run-level log messages
|
|
29
27
|
nutella.f.net.subscribe_to_all_runs('logging', lambda do |payload, app_id, run_id, from|
|
|
@@ -40,16 +38,5 @@ nutella.f.net.subscribe('logging', lambda do |payload, from|
|
|
|
40
38
|
logs.push assemble_log(payload, from)
|
|
41
39
|
end)
|
|
42
40
|
|
|
43
|
-
|
|
44
|
-
# Listen for low-level messages that are archived in the 'dump' collection
|
|
45
|
-
bare_mqtt_client = SimpleMQTTClient.new Nutella.config['broker']
|
|
46
|
-
bare_mqtt_client.subscribe('/nutella/#', lambda do |message, channel|
|
|
47
|
-
begin
|
|
48
|
-
dump.push assemble_dump(JSON.parse(message), channel)
|
|
49
|
-
rescue
|
|
50
|
-
# Ignore non JSON
|
|
51
|
-
end
|
|
52
|
-
end)
|
|
53
|
-
|
|
54
41
|
# Listen and process messages as they come
|
|
55
42
|
nutella.f.net.listen
|
data/nutella_framework.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
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.7.
|
|
5
|
+
# stub: nutella_framework 0.7.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "nutella_framework".freeze
|
|
9
|
-
s.version = "0.7.
|
|
9
|
+
s.version = "0.7.3"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Alessandro Gnoli".freeze]
|
|
14
|
-
s.date = "2017-
|
|
14
|
+
s.date = "2017-10-28"
|
|
15
15
|
s.description = "utella is a framework to create and run RoomApps".freeze
|
|
16
16
|
s.email = "tebemis@gmail.com".freeze
|
|
17
17
|
s.executables = ["nutella".freeze]
|
|
@@ -639,7 +639,7 @@ Gem::Specification.new do |s|
|
|
|
639
639
|
]
|
|
640
640
|
s.homepage = "https://github.com/nutella-framework/nutella_framework".freeze
|
|
641
641
|
s.licenses = ["MIT".freeze]
|
|
642
|
-
s.rubygems_version = "2.6.
|
|
642
|
+
s.rubygems_version = "2.6.13".freeze
|
|
643
643
|
s.summary = "A rails-inspired framework for RoomApps".freeze
|
|
644
644
|
|
|
645
645
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nutella_framework
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alessandro Gnoli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: semantic
|
|
@@ -899,7 +899,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
899
899
|
version: '0'
|
|
900
900
|
requirements: []
|
|
901
901
|
rubyforge_project:
|
|
902
|
-
rubygems_version: 2.6.
|
|
902
|
+
rubygems_version: 2.6.13
|
|
903
903
|
signing_key:
|
|
904
904
|
specification_version: 4
|
|
905
905
|
summary: A rails-inspired framework for RoomApps
|