nutella_framework 0.9.0 → 0.9.1
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/server_bot/server_bot.rb +3 -4
- data/nutella_framework.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9857ad15bbe05798ad12d22254d0d48c66f109df8339f7dc22d5940ab3e12f10
|
|
4
|
+
data.tar.gz: d8ba35f88d5584d38a959984722a275edcc908d0ab5f681ba07f850004a8680b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c28b86ec91ddc60a2de0cc6748026aaf6ebaa41971a66e12b3d46486df64622361f133a151e4764af20cce88bef7228db54610a136cadde9bc52b6318f3acf2
|
|
7
|
+
data.tar.gz: 7288eae9db2455df2a3279d48b0ec4540c549157d8bda231d4ad8b9a1a8ddfd1db8c514a7260dea09e976397bb26b57b7676995cef0d1324a2050e2e466064d2
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.1
|
|
@@ -13,15 +13,14 @@ nutella.f.init(Nutella.config['broker'], 'nutella_server_bot')
|
|
|
13
13
|
# Responds to nutella commands
|
|
14
14
|
nutella.f.net.handle_requests_on_all_runs('execute_command', lambda do |req, app_id, run_id, from|
|
|
15
15
|
# Process request
|
|
16
|
-
|
|
17
|
-
params = req_hash['params'].dup
|
|
16
|
+
params = req['params'].dup
|
|
18
17
|
# Change Directory
|
|
19
18
|
Dir.chdir(Nutella.runlist.app_path(app_id)) do
|
|
20
19
|
# Execute command
|
|
21
|
-
Nutella.execute_command
|
|
20
|
+
Nutella.execute_command req['command'], req['params']
|
|
22
21
|
end
|
|
23
22
|
#TODO collect command output, for now return confirmation message
|
|
24
|
-
"Executed command #{
|
|
23
|
+
"Executed command #{req['command']} with parameters #{params} on #{'app_id'}"
|
|
25
24
|
end)
|
|
26
25
|
|
|
27
26
|
# Listen and process messages as they come
|
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.9.
|
|
5
|
+
# stub: nutella_framework 0.9.1 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "nutella_framework".freeze
|
|
9
|
-
s.version = "0.9.
|
|
9
|
+
s.version = "0.9.1"
|
|
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 = "2019-03-
|
|
14
|
+
s.date = "2019-03-15"
|
|
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]
|
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.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alessandro Gnoli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: semantic
|