nutella_framework 0.9.0 → 0.9.1

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
  SHA256:
3
- metadata.gz: 35cd11b880eb0d47cd33a9f53c72281c798e7c16c0ec5a80e41aa96fa95ba3e7
4
- data.tar.gz: 67e69a1573130c3fb88e6d46ec6af422bde826b35a8c6551f7c4244c5c036db9
3
+ metadata.gz: 9857ad15bbe05798ad12d22254d0d48c66f109df8339f7dc22d5940ab3e12f10
4
+ data.tar.gz: d8ba35f88d5584d38a959984722a275edcc908d0ab5f681ba07f850004a8680b
5
5
  SHA512:
6
- metadata.gz: 4dd2bd8e585fe9f8521a2d82c14e1d09b067bdfd38d0c4e03e417b1d4c5052b16f9fc63753e4b96e4af01b7250fbeaa3e1d35877f7fb16016e3e9decab3d6ed7
7
- data.tar.gz: 3a92719c8535c6cf6ce477e142a40c341ababd5b5f9aa5eb956933af7f60b8d7c3a5f9524439538228488b3e9a25f07656ebb68a94c8b79c25e54a64defbe0e7
6
+ metadata.gz: 3c28b86ec91ddc60a2de0cc6748026aaf6ebaa41971a66e12b3d46486df64622361f133a151e4764af20cce88bef7228db54610a136cadde9bc52b6318f3acf2
7
+ data.tar.gz: 7288eae9db2455df2a3279d48b0ec4540c549157d8bda231d4ad8b9a1a8ddfd1db8c514a7260dea09e976397bb26b57b7676995cef0d1324a2050e2e466064d2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
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
- req_hash = JSON.parse req
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 req_hash['command'], req_hash['params']
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 #{req_hash['command']} with parameters #{params} on #{'app_id'}"
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
@@ -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.0 ruby lib
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.0"
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-06"
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.0
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-06 00:00:00.000000000 Z
11
+ date: 2019-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic